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.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Thanks & licences: one page for every model, LoRA, node pack and library
Adarshbf5a54ac22c8
diff --git a/scripts/gen-cloud-models.py b/scripts/gen-cloud-models.pyindex bb4aa9ab..a80335ff 100644--- a/scripts/gen-cloud-models.py+++ b/scripts/gen-cloud-models.py@@ -232,14 +232,14 @@ KLEIN_LICENCE = {"licence": KLEIN_REC["license"].split(":")[0], "commercial": NoKLEIN_HELPER = {"param": "promptHelper", "label": "Prompt helper", "values": ["on", "off"], "default": "on","labels": {"on": "On · full caption (not with boxes)", "off": "Off · your words as typed"}}model("flux-3-klein", "FLUX 3 Klein", "Black Forest Labs", "flux", "image",- "BFL's open 5.6B model, hosted: up to 4K, edits with up to 10 references in image 1's shape, layout boxes, Prompt helper · FLUX Kommunity licence",+ "BFL's open 5.6B model, hosted: up to 4K, edits with up to 10 references in image 1's shape, layout boxes, Prompt helper",[("t2i", f"{KLEIN_FAL}/text-to-image", "fal", {"loraEndpoint": f"{KLEIN_FAL}/text-to-image/lora"}),("edit", f"{KLEIN_FAL}/edit-image", "fal", {"loraEndpoint": f"{KLEIN_FAL}/edit-image/lora", "followsImage": True})],badges=["new"], defaults={"aspectRatio": "1:1", "resolution": "1K"}, tier_size=f"{KLEIN_FAL}/text-to-image", options={"layout": "flux3", "controls": [KLEIN_HELPER]},pricing=("image", KLEIN_REC["pricing"]["usd"], "per image at 1K (fal's planned rates by size)", {"byResolution": KLEIN_REC["pricing"]["byResolution"]}),licence=KLEIN_LICENCE)model("flux-3-klein-base", "FLUX 3 Klein Base", "Black Forest Labs", "flux", "image",- "The undistilled Klein your FLUX 3 Klein LoRAs are trained on, hosted: up to 3 of them · FLUX Kommunity licence",+ "The undistilled Klein your FLUX 3 Klein LoRAs are trained on, hosted: up to 3 of them",[("t2i", f"{KLEIN_FAL}/base/text-to-image", "fal", {"loraEndpoint": f"{KLEIN_FAL}/base/text-to-image/lora"}),("edit", f"{KLEIN_FAL}/base/edit-image", "fal", {"loraEndpoint": f"{KLEIN_FAL}/base/edit-image/lora", "followsImage": True})],badges=["new"], defaults={"aspectRatio": "1:1", "resolution": "1K"}, tier_size=f"{KLEIN_FAL}/text-to-image", options={"layout": "flux3", "controls": [KLEIN_HELPER]},@@ -273,7 +273,7 @@ model("qwen-image-edit-2509-cloud", "Qwen-Image-Edit 2509 (hosted)", "Alibaba Qw"Open-weights Qwen-Image-Edit 2509 with its LoRAs (relight, next scene, angles)",[("edit", "fal-ai/qwen-image-edit-plus-lora", "fal")], hidden=True)model("flux-2-klein-4b-cloud", "FLUX.2 [klein] 4B (hosted)", "Black Forest Labs", "flux", "image",- "The Apache-2.0 FLUX.2: quick drafts and edits",+ "The open FLUX.2: quick drafts and edits",[("t2i", "fal-ai/flux-2/klein/4b", "fal", {"loraEndpoint": "fal-ai/flux-2/klein/4b/lora"}),("edit", "fal-ai/flux-2/klein/4b/edit", "fal", {"loraEndpoint": "fal-ai/flux-2/klein/4b/edit/lora"})],badges=["fast"], defaults={"aspectRatio": "1:1"})@@ -281,23 +281,23 @@ model("wan-2-2-a14b-image-cloud", "Wan 2.2 A14B Image (hosted)", "Alibaba Wan","Open-weights Wan 2.2 stills that take Wan LoRAs",[("t2i", "fal-ai/wan/v2.2-a14b/text-to-image/lora", "fal")], defaults={"aspectRatio": "16:9"})# Soul ID on every base fal trains (O3, o/soul-id): a character or style LoRA trained on FLUX.1 [dev], FLUX.2 [dev],-# Krea 2 or FLUX.2 [klein] 9B runs on these. The weights' licences are information shown with the model, never a gate+# Krea 2 or FLUX.2 [klein] 9B runs on these. The weights' licences are information on Thanks & licences, never a gate# (the owner's decision of 2026-10-27): FLUX [dev] and klein 9B weights are non-commercial (fal clears its own hosted# outputs), Krea 2 has revenue tiers. The admin turns models on or off in Settings.model("flux-1-dev-lora-cloud", "FLUX.1 [dev] with LoRAs (hosted)", "Black Forest Labs", "flux", "image",- "FLUX.1 [dev] with your trained characters and styles · non-commercial weights",+ "FLUX.1 [dev] with your trained characters and styles",[("t2i", "fal-ai/flux-lora", "fal")], defaults={"aspectRatio": "3:4"})model("flux-1-krea-lora-cloud", "FLUX.1 Krea [dev] with LoRAs (hosted)", "Black Forest Labs × Krea", "flux", "image",- "Natural photoreal FLUX.1 Krea with FLUX.1 LoRAs · non-commercial weights",+ "Natural photoreal FLUX.1 Krea with FLUX.1 LoRAs",[("t2i", "fal-ai/flux-krea-lora", "fal")], defaults={"aspectRatio": "3:4"})model("flux-2-dev-lora-cloud", "FLUX.2 [dev] with LoRAs (hosted)", "Black Forest Labs", "flux", "image",- "FLUX.2 [dev] with your trained characters and styles · non-commercial weights",+ "FLUX.2 [dev] with your trained characters and styles",[("t2i", "fal-ai/flux-2/lora", "fal")], defaults={"aspectRatio": "3:4"})model("flux-2-klein-9b-lora-cloud", "FLUX.2 [klein] 9B with LoRAs (hosted)", "Black Forest Labs", "flux", "image",- "The 9B FLUX.2 [klein] with your LoRAs · non-commercial weights",+ "The 9B FLUX.2 [klein] with your LoRAs",[("t2i", "fal-ai/flux-2/klein/9b/lora", "fal")], badges=["fast"], defaults={"aspectRatio": "3:4"})model("krea-2-turbo-lora-cloud", "Krea 2 Turbo with LoRAs (hosted)", "Krea", "krea", "image",- "Krea 2's aesthetic with your trained characters and styles · Krea 2 Community licence (revenue tiers)",+ "Krea 2's aesthetic with your trained characters and styles",[("t2i", "fal-ai/krea-2/turbo/lora", "fal")], badges=["fast"], defaults={"aspectRatio": "3:4"})# ----- Originals (O2): Fuobe Soul's cloud halves on hosted open weights (docs/research/fuobe-originals-recipes-5.md §4).# models.ts joins each to its ComfyUI routes as one model that runs on both engines (ModelDef.engines). Sizes arediff --git a/src/app/(studio)/image-to-3d/page.tsx b/src/app/(studio)/image-to-3d/page.tsxindex d8361226..f4d96aea 100644--- a/src/app/(studio)/image-to-3d/page.tsx+++ b/src/app/(studio)/image-to-3d/page.tsx@@ -1,64 +1,13 @@-import fs from "node:fs/promises";-import path from "node:path";import type { Metadata } from "next";import { Model3dStudio, type Model3dInfo } from "@/components/model3d/model3d-studio";-import { ALL_MODELS_3D, CLOUD_NOTICES, RIG_MODEL } from "@/lib/av/model3d";+import { ALL_MODELS_3D, RIG_MODEL } from "@/lib/av/model3d";import { getModel } from "@/lib/catalog";-import type { Manifest } from "@/lib/comfy";-import { buildLicenceList, FLAG_LABEL } from "@/lib/licences";import { studioExamples } from "@/lib/studio-examples";export const metadata: Metadata = { title: "Image to 3D" };-/** The open text-to-3D route draws its still with this workflow before TRELLIS.2 (src/server/chains.ts). */-const EXTRA_WORKFLOWS: Record<string, string[]> = { "oss-text-trellis2": ["qwen-image-21-t2i"] };--/** The licence the picker shows for each open model: its short name, its catches and the notices it needs. */-async function readLicences(): Promise<Record<string, NonNullable<Model3dInfo["licence"]>>> {- "use cache";- let workflows: Manifest["workflows"] = [];- try {- workflows = (JSON.parse(await fs.readFile(path.join(process.cwd(), "workflows", "comfyui", "manifest.json"), "utf8")) as Manifest).workflows;- } catch {- return {};- }- const models = ALL_MODELS_3D.flatMap((c) => {- const m = getModel(c.id);- return m?.engine === "open" ? [m] : [];- });- const list = buildLicenceList(- models.map((m) => ({- id: m.id,- name: m.name,- vendor: m.vendor,- kind: m.kind,- routes: [...m.routes.map((r) => ({ provider: r.provider, endpoint: r.endpoint })), ...(EXTRA_WORKFLOWS[m.id] ?? []).map((endpoint) => ({ provider: "comfyui" as const, endpoint }))],- })),- workflows.map((w) => ({ id: w.id, title: w.title, capability: w.capability, license: w.license })),- );- return Object.fromEntries(- list.rows- .filter((r) => r.inCatalog)- .map((r) => [- r.id,- {- // "MIT (TRELLIS.2 weights, …); the …" → "MIT"; a chain's licences joined.- name: [...new Set(r.licences.map((l) => l.split(/[(;]/)[0].trim()))].join(" + "),- flags: r.flags.map((f) => (f === "territory" && r.excludes ? `Not in ${r.excludes}` : FLAG_LABEL[f])),- notices: r.notices,- },- ]),- );-}--/** The page passes the 3D models' names and licences, so the client doesn't load the catalog. */-export default async function Page() {- const licences = await readLicences();- const info: Record<string, Model3dInfo> = Object.fromEntries(- [...ALL_MODELS_3D.map((m) => m.id), RIG_MODEL].map((id) => [- id,- { name: getModel(id)?.name ?? id, notices: licences[id]?.notices ?? CLOUD_NOTICES[id] ?? [], ...(licences[id] && { licence: licences[id] }) },- ]),- );+/** The page passes the 3D models' names, so the client doesn't load the catalog. */+export default function Page() {+ const info: Record<string, Model3dInfo> = Object.fromEntries([...ALL_MODELS_3D.map((m) => m.id), RIG_MODEL].map((id) => [id, { name: getModel(id)?.name ?? id }]));return <Model3dStudio info={info} examples={studioExamples("image-to-3d")} />;}diff --git a/src/app/(studio)/settings/licences/loading.tsx b/src/app/(studio)/settings/licences/loading.tsxnew file mode 100644index 00000000..b2ace845--- /dev/null+++ b/src/app/(studio)/settings/licences/loading.tsx@@ -0,0 +1,5 @@+import { PageSkeleton } from "@/components/skeletons";++export default function Loading() {+ return <PageSkeleton title="Thanks & licences" />;+}diff --git a/src/app/(studio)/settings/licences/page.tsx b/src/app/(studio)/settings/licences/page.tsxnew file mode 100644index 00000000..7703ad86--- /dev/null+++ b/src/app/(studio)/settings/licences/page.tsx@@ -0,0 +1,27 @@+import { ArrowLeft } from "lucide-react";+import type { Metadata } from "next";+import Link from "next/link";+import { PageHeader, PageShell } from "@/components/page-shell";+import { ThanksView } from "@/components/thanks/thanks-view";+import { readThanks } from "@/server/thanks";++export const metadata: Metadata = {+ title: "Thanks & licences",+ description: "The open models, LoRAs, node packs and code Fuobe is built on, who made them, and their licences.",+};++/** Settings → About → Thanks & licences: open to everyone, prerendered from the catalog, the manifest and the packages. */+export default function Page() {+ return (+ <PageShell>+ <Link href="/settings#about" className="mb-3 inline-flex min-h-11 items-center gap-1.5 rounded-md text-[13px] text-muted-foreground hover:text-foreground md:min-h-0">+ <ArrowLeft className="size-3.5" /> Settings · About+ </Link>+ <PageHeader+ title="Thanks & licences"+ description="Fuobe is built on open models, open code and the people who share them. Thank you. Here is each one, who made it, what Fuobe uses it for and its licence."+ />+ <ThanksView thanks={readThanks()} />+ </PageShell>+ );+}diff --git a/src/app/(studio)/terms/page.tsx b/src/app/(studio)/terms/page.tsxindex 91a32344..6ea59b1b 100644--- a/src/app/(studio)/terms/page.tsx+++ b/src/app/(studio)/terms/page.tsx@@ -1,7 +1,7 @@import type { Metadata } from "next";import Link from "next/link";import { LegalPage, LegalSection } from "@/components/legal-page";-import { FUOBE_CREDITS, FUOBE_REPO } from "@/lib/connections";+import { FUOBE_REPO } from "@/lib/connections";export const metadata: Metadata = { title: "Terms", description: "The few rules for using Fuobe." };@@ -20,10 +20,7 @@ export default function Page() {<LegalSection title="What you make"><p>What you make is yours, within the licence of the model that made it. Some open models don't allow commercial use, so check{" "}- <a href={FUOBE_CREDITS} target="_blank" rel="noopener">- the credits- </a>{" "}- before you sell your work.+ <Link href="/settings/licences">Thanks & licences</Link> before you sell your work.</p></LegalSection><LegalSection title="Fair use">diff --git a/src/components/any-angle/any-angle-tool.tsx b/src/components/any-angle/any-angle-tool.tsxindex de899fc3..1a399de3 100644--- a/src/components/any-angle/any-angle-tool.tsx+++ b/src/components/any-angle/any-angle-tool.tsx@@ -736,8 +736,6 @@ export function AnyAngleTool({ app }: { app?: { name: string } }) {{view && ref && <DragView view={view} onUse={takeView} />}- {/* The 3D view's image encoder asks for this notice (DINOv3 License). */}- {photo && !cloudOnly && <p className="text-[11px] text-muted-foreground">Built with DINOv3</p>}{sheetIds && ref && <ContactSheet ids={sheetIds} original={ref} />}diff --git a/src/components/assist/run-skill-dialog.tsx b/src/components/assist/run-skill-dialog.tsxindex 33d6b5ba..5e9badfe 100644--- a/src/components/assist/run-skill-dialog.tsx+++ b/src/components/assist/run-skill-dialog.tsx@@ -297,12 +297,7 @@ function Loaded({ view, onClose, examples, intro }: { view: RecipeView; onClose:{est?.place?.fallback && <p>{est.place.fallback}.</p>}{view.models.filter((m) => m.engine === engine).length > 0 && (<p>- Licences (for your information):{" "}- {view.models- .filter((m) => m.engine === engine)- .map((m) => `${m.name} — ${m.licence}`)- .join("; ")}- . Turn models on or off in{" "}+ Turn models on or off in{" "}<Link href="/settings/models" className="underline underline-offset-2">Models & licences</Link>diff --git a/src/components/command-palette.tsx b/src/components/command-palette.tsxindex d5bb01dd..baa9fcf1 100644--- a/src/components/command-palette.tsx+++ b/src/components/command-palette.tsx@@ -1,7 +1,7 @@"use client";import { useQuery } from "@tanstack/react-query";-import { AudioLines, Bell, Clapperboard, Code, Cpu, Film, GraduationCap, Image as ImageIcon, KeyRound, Layers, LayoutGrid, Loader2, LogIn, Play, Plug, Plus, Scale, Server, Settings2, ShieldCheck, Sparkles, SunMoon, UserPlus, UserRound, Wand2, type LucideIcon } from "lucide-react";+import { AudioLines, Bell, Clapperboard, Code, Cpu, Film, GraduationCap, Heart, Image as ImageIcon, KeyRound, Layers, LayoutGrid, Loader2, LogIn, Play, Plug, Plus, Scale, Server, Settings2, ShieldCheck, Sparkles, SunMoon, UserPlus, UserRound, Wand2, type LucideIcon } from "lucide-react";import { useRouter } from "next/navigation";import { useTheme } from "next-themes";import { createContext, lazy, Suspense, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";@@ -63,6 +63,13 @@ const SETTINGS: { id: string; label: string; icon: LucideIcon; keywords: string;keywords: "licence license commercial non-commercial switch off turn on admin providers node packs allow block",href: "/settings/models",},+ {+ id: "about",+ label: "Thanks & licences",+ icon: Heart,+ keywords: "about credits thanks licence license open source models loras node packs libraries attribution",+ href: "/settings/licences",+ },{ id: "text-ai", label: "AI helper", icon: Sparkles, keywords: "claude ollama lm studio unsloth local llm model enhancer prompt enhancement context" },{ id: "assist-connectors", label: "Assist connectors", icon: Plug, keywords: "mcp connector claude tools notion linear slack server token" },{ id: "notifications", label: "Notifications", icon: Bell, keywords: "browser done alerts" },@@ -91,18 +98,18 @@ const visitorSetting = (key: string, label: string, href: string, icon: LucideIckeywords,icon,});-const LICENCES = SETTING_ENTRIES.find((e) => e.key === "setting:models")!;+const THANKS = SETTING_ENTRIES.find((e) => e.key === "setting:about")!;/*** The install's settings are its owner's: an account (public sign-up) gets its own GPU and account, a guest the way to- * connect a GPU; both get the licences, which they may read.+ * connect a GPU; both get Thanks & licences, which they may read.*/const ACCOUNT_SETTINGS = [visitorSetting("your-gpu", "Your GPU", "/settings#your-gpu", Cpu, "comfyui gpu connect own server open source"),visitorSetting("your-keys", "Your keys", "/settings#your-keys", KeyRound, "fal fal.ai replicate api key token paid models nano banana kling veo billing"),visitorSetting("account", "Account", "/settings#account", UserRound, "email sign out delete account"),- LICENCES,+ THANKS,];-const GUEST_SETTINGS = [visitorSetting("connect", "Connect your GPU", "/connect", Cpu, "comfyui gpu own server sign up account open source"), LICENCES];+const GUEST_SETTINGS = [visitorSetting("connect", "Connect your GPU", "/connect", Cpu, "comfyui gpu own server sign up account open source"), THANKS];/** The settings the palette offers this viewer (none of the install's to anyone but its owner). */export function settingEntries(viewer: Pick<ViewerInfo, "owner" | "account"> | undefined): (PaletteEntry & { icon: LucideIcon })[] {diff --git a/src/components/genjutsu/character-panel.tsx b/src/components/genjutsu/character-panel.tsxindex 7e55ad56..bf4eb950 100644--- a/src/components/genjutsu/character-panel.tsx+++ b/src/components/genjutsu/character-panel.tsx@@ -332,7 +332,7 @@ function FrameSelect({ id, label, value, choices, onChange }: { id: string; labe}/**- * The limits, the cut warning, the GPU it was tested on (open) and the licence, as information under the settings; and+ * The limits, the cut warning and the GPU it was tested on (open), as information under the settings; and* the way to Character Swap Studio for the whole clip (`onOpenStudio` takes the clip and character along).*/export function CharacterFacts({diff --git a/src/components/genjutsu/genjutsu-studio.tsx b/src/components/genjutsu/genjutsu-studio.tsxindex fd307a87..c7a091e7 100644--- a/src/components/genjutsu/genjutsu-studio.tsx+++ b/src/components/genjutsu/genjutsu-studio.tsx@@ -36,7 +36,6 @@ import {GENJUTSU_MODES,genjutsuProblem,getMode,- makerLicence,makerOffered,makersFor,qualityFor,@@ -714,7 +713,7 @@ export function GenjutsuStudio({ examples }: { examples?: StudioExampleRow }) {)}{maker && options.length <= 1 && (<p className="text-[12px] text-muted-foreground">- <SourceBadge source={maker.source} /> <span className="font-medium text-foreground">{maker.label}</span> · {visitor ? withoutOwnGpu(maker.note) : maker.note} · {makerLicence(maker, !(visitor && maker.engine === "open") && !/your GPU|on fal/.test(maker.note ?? ""))}+ <SourceBadge source={maker.source} /> <span className="font-medium text-foreground">{maker.label}</span> · {visitor ? withoutOwnGpu(maker.note) : maker.note}</p>)}@@ -939,7 +938,7 @@ function SourceBadge({ source }: { source: Maker["source"] }) {);}-/** The models for this mode and engine, one line each (where it comes from, what it's good at, its limits, its licence). */+/** The models for this mode and engine, one line each (where it comes from, what it's good at, its limits). */function MakerList({ options, value, onChange }: { options: Maker[]; value: string; onChange: (id: string) => void }) {// A guest or an account: open weights run on a self-hosted Fuobe only, not on their own GPU yet.const visitor = useLikelyVisitor();@@ -964,7 +963,6 @@ function MakerList({ options, value, onChange }: { options: Maker[]; value: stri{m.label} <SourceBadge source={m.source} /></span><span className="block text-[12px] leading-snug text-muted-foreground">{visitor ? withoutOwnGpu(m.note) : m.note}</span>- <span className="mt-0.5 block text-[11px] leading-snug text-muted-foreground/90">{makerLicence(m, !(visitor && m.engine === "open"))}</span></span></button>))}diff --git a/src/components/home/home-sections.tsx b/src/components/home/home-sections.tsxindex f2a31729..544d8db0 100644--- a/src/components/home/home-sections.tsx+++ b/src/components/home/home-sections.tsx@@ -23,7 +23,7 @@ import { NAV } from "@/components/nav-items";import { PresetCard } from "@/components/preset-gallery";import { ASSIST_SUGGESTIONS } from "@/lib/assist";import { WORKFLOWS_ON_GITHUB } from "@/lib/comfy-install";-import { FUOBE_CREDITS, FUOBE_REPO } from "@/lib/connections";+import { FUOBE_REPO } from "@/lib/connections";import { HOME_LIVE, presetHref, type HomeShowcase } from "@/lib/home-showcase";import { staggered } from "@/lib/preview-playback";import { cn } from "@/lib/utils";@@ -457,10 +457,11 @@ export function StartSection() {);}-/** The footer's own pages; the credits and the code are on GitHub. */+/** The footer's own pages; the code is on GitHub. */const FOOTER_PAGES = [{ href: "/privacy", label: "Privacy" },{ href: "/terms", label: "Terms" },+ { href: "/settings/licences", label: "Thanks & licences" },];export function HomeFooter() {@@ -477,9 +478,6 @@ export function HomeFooter() {{i.label}</Link>))}- <a href={FUOBE_CREDITS} target="_blank" rel="noopener" className={link}>- Credits- </a><a href={FUOBE_REPO} target="_blank" rel="noopener" className={link}>GitHub</a>diff --git a/src/components/live/live-edit-app.tsx b/src/components/live/live-edit-app.tsxindex 454cdb2b..363f270e 100644--- a/src/components/live/live-edit-app.tsx+++ b/src/components/live/live-edit-app.tsx@@ -185,12 +185,7 @@ function LiveShowcase({ kind }: { kind: "guest" | "connect" | "unsupported" }) {</>)}</div>- <p className="mt-4 text-[12px] text-muted-foreground">- Runs on your own GPU ·{" "}- <Link href="/settings/about" className="underline-offset-2 hover:underline">- licence- </Link>- </p>+ <p className="mt-4 text-[12px] text-muted-foreground">Runs on your own GPU</p></div></div></div>diff --git a/src/components/model-access-view.tsx b/src/components/model-access-view.tsxindex a690b26b..4ca01894 100644--- a/src/components/model-access-view.tsx+++ b/src/components/model-access-view.tsx@@ -2,7 +2,7 @@import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";import { Ban, CheckCircle2, CircleHelp, CreditCard, ExternalLink, FlaskConical, Globe, Info, RotateCcw, Search } from "lucide-react";-import { FUOBE_CREDITS } from "@/lib/connections";+import Link from "next/link";import { Fragment, useDeferredValue, useEffect, useMemo, useRef, useState } from "react";import { toast } from "sonner";import { Button } from "@/components/ui/button";@@ -207,10 +207,10 @@ export function ModelAccessIntro() {{known && v.owner? "Every model, LoRA and node pack Fuobe can run, with its licence: paid and open, commercial or not. Licences are information here; you decide what this install offers. Everything is on until you switch it off, and what is off leaves every picker and is refused on the server. ": "Every model and style Fuobe runs, with its licence. "}- Credits and notices are{" "}- <a href={FUOBE_CREDITS} target="_blank" rel="noopener" className="text-brand-text underline-offset-2 hover:underline">- on GitHub- </a>+ Who made each one, and the credits, are on{" "}+ <Link href="/settings/licences" className="text-brand-text underline-offset-2 hover:underline">+ Thanks & licences+ </Link>.</>);diff --git a/src/components/model3d/model-card.tsx b/src/components/model3d/model-card.tsxindex bff45763..2bb3a46a 100644--- a/src/components/model3d/model-card.tsx+++ b/src/components/model3d/model-card.tsx@@ -12,7 +12,6 @@ import type { Generation } from "@/lib/catalog/types";import { cn } from "@/lib/utils";import { toastError } from "@/lib/refusals";import { loadModelViewer, TURNTABLE_BACKDROP, useViewerSrc, viewerLook } from "./model-viewer";-import type { Model3dInfo } from "./model3d-studio";import { RigDialog } from "./rig-dialog";import { PlaceholderChip } from "@/components/demo-mode";import { recordableType, recordTurntable } from "./turntable";@@ -38,7 +37,7 @@ function rigClips(g: Generation, view: Model3dView): { key: string; label: strin* plays its animation). A splat shows its orbit video or picture with the file to download. Then the turntable,* Animate the spin and Rig & animate.*/-export function ModelCard({ g, info, cloudAllowed }: { g: Generation; info: Record<string, Model3dInfo>; cloudAllowed: boolean }) {+export function ModelCard({ g, cloudAllowed }: { g: Generation; cloudAllowed: boolean }) {const view = model3dView(g);// "preview": the turntable or the still (a splat with an orbit video: the video). "3d": the viewer (a splat: its picture).const [show, setShow] = useState<"preview" | "3d">("preview");@@ -145,7 +144,6 @@ export function ModelCard({ g, info, cloudAllowed }: { g: Generation; info: RecosetShow("3d");};const spin = view.rigged ? null : animateSpinHref(view, recorded?.saved);- const notices = info[g.modelId]?.notices ?? [];// A rigged result rigs its source model again with another animation.const rigSource = view.rigged ? (g.request.inputs?.model3d ?? view.glb) : view.glb;// The radio buttons in the corner: the preview and the 3D view, a rig's clips, or a splat's video and picture.@@ -352,7 +350,6 @@ export function ModelCard({ g, info, cloudAllowed }: { g: Generation; info: Reco</Button>)}</div>- {notices.length > 0 && <p className="text-[11px] text-muted-foreground">{notices.join(" · ")}</p>}</div>{rigSource && rigging && g.op !== "splat" && <RigDialog glb={rigSource} open={rigging} onOpenChange={setRigging} cloudAllowed={cloudAllowed} />}</article>diff --git a/src/components/model3d/model3d-studio.tsx b/src/components/model3d/model3d-studio.tsxindex a28fc09f..f42daf5f 100644--- a/src/components/model3d/model3d-studio.tsx+++ b/src/components/model3d/model3d-studio.tsx@@ -42,14 +42,9 @@ import { toastError } from "@/lib/refusals";import { priceLine, useRunPreview } from "./hooks";import { ModelCard } from "./model-card";-/**- * A model's name, the notices its results carry ("Built with DINOv3") and, for open models, the licence the- * picker shows (the page reads them from the catalog and the manifest).- */+/** A model's name, as the picker shows it (the page reads it from the catalog). */export interface Model3dInfo {name: string;- notices: string[];- licence?: { name: string; flags: string[]; notices: string[] };}/** What a mode's input looks like before anything is uploaded (the price is asked for with these). */@@ -187,7 +182,6 @@ export function Model3dStudio({ info, examples }: { info: Record<string, Model3donError: (e) => toastError(e),});};- const licence = modelId ? info[modelId]?.licence : undefined;const items = (results.data ?? []).filter((g) => g.feature !== "image-to-3d-step");const setSide = (s: ViewSide) => (v: SlotValue | null) => setViews((cur) => ({ ...cur, [s]: v }));return (@@ -320,8 +314,6 @@ export function Model3dStudio({ info, examples }: { info: Record<string, Model3d</SelectContent></Select><p className="text-[12px] text-muted-foreground">{choices.find((m) => m.id === modelId)?.note}</p>- {!licence && info[modelId]?.notices.length > 0 && <p className="text-[12px] font-medium">{info[modelId].notices.join(" · ")}</p>}- {licence && licence.notices.length > 0 && <p className="text-[12px] text-muted-foreground">{licence.notices.join(" · ")}</p>}</div><Button size="lg" className={cn("mt-4 w-full rounded-full", blocker && "bg-muted text-muted-foreground hover:bg-muted")} onClick={go} disabled={create.isPending || visitor}>{create.isPending ? <Loader2 className="size-4 animate-spin" /> : <Box className="size-4" />} {mode === "splat" ? "Make the splat" : "Make it 3D"}@@ -357,7 +349,7 @@ export function Model3dStudio({ info, examples }: { info: Record<string, Model3d) : (<div className="grid gap-3 sm:grid-cols-2">{items.map((g) => (- <ResultCard key={g.id} g={g} info={info} cloudAllowed={cloudAllowed} />+ <ResultCard key={g.id} g={g} cloudAllowed={cloudAllowed} />))}</div>)}@@ -375,9 +367,9 @@ function retryOf(g: Generation): GenerationRequest {return r;}-function ResultCard({ g, info, cloudAllowed }: { g: Generation; info: Record<string, Model3dInfo>; cloudAllowed: boolean }) {+function ResultCard({ g, cloudAllowed }: { g: Generation; cloudAllowed: boolean }) {const create = useCreateGeneration();if (g.status === "queued" || g.status === "running") return <PendingTile g={g} ratio={4 / 3} />;if (g.status !== "succeeded") return <FailedTile g={g} ratio={4 / 3} onRetry={() => create.mutate(retryOf(g), { onError: (e) => toastError(e) })} />;- return <ModelCard g={g} info={info} cloudAllowed={cloudAllowed} />;+ return <ModelCard g={g} cloudAllowed={cloudAllowed} />;}diff --git a/src/components/moodboards/train-board.tsx b/src/components/moodboards/train-board.tsxindex 5f069f58..d5a1585c 100644--- a/src/components/moodboards/train-board.tsx+++ b/src/components/moodboards/train-board.tsx@@ -6,7 +6,7 @@ import Link from "next/link";import { toast } from "sonner";import { Button } from "@/components/ui/button";import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "@/components/ui/dialog";-import { licenceNote, trainingSettingsHref, type TrainingTarget } from "@/lib/catalog/training";+import { trainingSettingsHref, type TrainingTarget } from "@/lib/catalog/training";import { cn } from "@/lib/utils";import { toastError } from "@/lib/refusals";import { useMoodboardActions } from "./hooks";@@ -56,7 +56,6 @@ export function TrainBoardDialog({ board, open, onOpenChange }: { board: Moodboa<span className="text-[12px] font-normal text-muted-foreground">{t.eta}</span></p><p className="text-[12px] text-muted-foreground">{t.description}</p>- <p className="mt-0.5 text-[11.5px] text-muted-foreground">Licence: {licenceNote(t)}</p></div><Buttonsize="sm"diff --git a/src/components/owner-settings.tsx b/src/components/owner-settings.tsxindex 55d64fb8..3dc7b9f9 100644--- a/src/components/owner-settings.tsx+++ b/src/components/owner-settings.tsx@@ -1,9 +1,8 @@"use client";import { useQueryClient } from "@tanstack/react-query";-import { Eye, EyeOff, Info, KeyRound, Loader2, LogOut, Scale, Trash2 } from "lucide-react";+import { Eye, EyeOff, Heart, KeyRound, Loader2, LogOut, Trash2 } from "lucide-react";import Link from "next/link";-import { FUOBE_CREDITS } from "@/lib/connections";import { useId, useState } from "react";import { toast } from "sonner";import { Button } from "@/components/ui/button";@@ -20,13 +19,13 @@ export function SettingsIntro() {if (!hydrated || !v) return null;if (v.owner)return "Choose open source, paid APIs or both, connect providers, point Fuobe at your ComfyUI server, and choose how prompts get enhanced. Keys stay on this server.";- return v.account ? "Your account, your GPU and your keys." : "Connect your GPU, and read every model's licence.";+ return v.account ? "Your account, your GPU and your keys." : "Connect your GPU, and see the open models and code Fuobe is built on.";}/*** The install's settings, for its owner only. A guest (public sign-up) is offered an account, which* connects its own GPU here; an account sees Your GPU (AccountGpuSection) and its account, nothing of the install's.- * Both can read the licences.+ * Both can read Thanks & licences.*/export function OwnerSettings({ children }: { children: React.ReactNode }) {// The server renders nothing here (it doesn't know the viewer), so hydration must too, even when the browser's@@ -62,23 +61,20 @@ export function OwnerSettings({ children }: { children: React.ReactNode }) {const linkCard = "inline-flex items-center gap-2 rounded-xl border px-4 py-3 text-[13px] font-medium transition-colors hover:bg-accent";-/** The licence pages, which everyone may read (the owner finds them in the settings form). */+/** About: Thanks & licences, which everyone may read (the owner finds it in the settings form). */function Licences() {return (- <section aria-labelledby="licences-title" className="grid grid-cols-[minmax(0,1fr)] gap-4 py-8 md:grid-cols-[260px_minmax(0,1fr)]">+ <section id="about" aria-labelledby="about-title" className="grid grid-cols-[minmax(0,1fr)] gap-4 py-8 md:grid-cols-[260px_minmax(0,1fr)]"><div className="min-w-0">- <h2 id="licences-title" className="text-[15px] font-semibold">- Licences+ <h2 id="about-title" className="text-[15px] font-semibold">+ About</h2>- <p className="mt-1 text-[13px] text-muted-foreground">Every model's licence, and the credits for the open models Fuobe uses.</p>+ <p className="mt-1 text-[13px] text-muted-foreground">The open models, LoRAs and code Fuobe is built on, who made them, and their licences.</p></div><div className="flex flex-wrap content-start gap-2">- <Link href="/settings/models" className={linkCard}>- <Scale className="size-4 text-muted-foreground" /> Models & licences+ <Link href="/settings/licences" className={linkCard}>+ <Heart className="size-4 text-muted-foreground" /> Thanks & licences</Link>- <a href={FUOBE_CREDITS} target="_blank" rel="noopener" className={linkCard}>- <Info className="size-4 text-muted-foreground" /> Credits- </a></div></section>);diff --git a/src/components/restore/restore-tool.tsx b/src/components/restore/restore-tool.tsxindex 5704019e..0bd7dfcd 100644--- a/src/components/restore/restore-tool.tsx+++ b/src/components/restore/restore-tool.tsx@@ -202,7 +202,7 @@ export function RestoreTool({ tabs }: { tabs?: React.ReactNode }) {<div className="min-w-0 space-y-1.5 text-[13px]"><p className="font-medium">One-time setup: the Restore IC-LoRA is gated</p><p className="text-muted-foreground">- Accept its licence on Hugging Face with your account (it's free under the LTX-2.x Community License below US$10M a year), then add a Hugging Face token. Fuobe+ Accept its licence on Hugging Face with your account, then add a Hugging Face token. Fuobedownloads the 1.7 GB file once{open ? " into ComfyUI's LoRA folder" : " and gives fal its own copy, never your token"}.</p><div className="flex flex-wrap gap-2 pt-0.5">diff --git a/src/components/settings-form.tsx b/src/components/settings-form.tsxindex 434e20aa..0854031a 100644--- a/src/components/settings-form.tsx+++ b/src/components/settings-form.tsx@@ -1,7 +1,7 @@"use client";import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";-import { CheckCircle2, CircleAlert, Cloud, Cpu, ExternalLink, Info, Layers, Link2, Loader2, RefreshCw, Scale } from "lucide-react";+import { CheckCircle2, CircleAlert, Cloud, Cpu, ExternalLink, Heart, Info, Layers, Link2, Loader2, RefreshCw, Scale } from "lucide-react";import Link from "next/link";import { useEffect, useState, useSyncExternalStore } from "react";import { toast } from "sonner";@@ -21,7 +21,7 @@ import { LlmProviderSettings } from "@/components/llm-provider-settings";import { LoraSettings } from "@/components/lora-settings";import { useStatus, type StatusInfo } from "@/lib/api";import { WORKFLOWS_ON_GITHUB } from "@/lib/comfy-install";-import { AI_TOOLKIT_REPO, connectionSummary, DEFAULT_AI_TOOLKIT_URL, ENGINE_MODE_LABEL, FAL_KEYS_URL, FUOBE_CREDITS, showFirstRun } from "@/lib/connections";+import { AI_TOOLKIT_REPO, connectionSummary, DEFAULT_AI_TOOLKIT_URL, ENGINE_MODE_LABEL, FAL_KEYS_URL, showFirstRun } from "@/lib/connections";import { cn } from "@/lib/utils";import { ConnectorSettings } from "@/components/assist/connectors-settings";import { NotificationSettings } from "@/components/notification-settings";@@ -765,15 +765,10 @@ export function SettingsForm({ prices }: { prices?: string }) {</Link></Section>- <Section id="about" title="Credits" description="The licence notices and credits of the open models and code Fuobe runs.">- <a- href={FUOBE_CREDITS}- target="_blank"- rel="noopener"- className="inline-flex items-center gap-2 rounded-xl border px-4 py-3 text-[13px] font-medium transition-colors hover:bg-accent"- >- <Info className="size-4 text-muted-foreground" /> Credits on GitHub- </a>+ <Section id="about" title="About" description="The open models, LoRAs and code Fuobe is built on, who made them, and their licences.">+ <Link href="/settings/licences" className="inline-flex items-center gap-2 rounded-xl border px-4 py-3 text-[13px] font-medium transition-colors hover:bg-accent">+ <Heart className="size-4 text-muted-foreground" /> Thanks & licences+ </Link></Section></div>);diff --git a/src/components/swap-studio/home.tsx b/src/components/swap-studio/home.tsxindex 6ec9b177..e6b19a28 100644--- a/src/components/swap-studio/home.tsx+++ b/src/components/swap-studio/home.tsx@@ -13,9 +13,7 @@ import { EngineSwitch } from "@/components/studio/engine-switch";import { SelfHostNote } from "@/components/self-host-note";import { ExampleRow } from "@/components/studio/example-row";import { useEngine, useLikelyVisitor } from "@/lib/api";-import { characterLicenceLine } from "@/lib/catalog/character-swap";import { SWAP_STUDIO, type SwapProjectCard } from "@/lib/catalog/swap-studio";-import { STUDIO_MODELS } from "@/lib/catalog/swap-studio-plan";import { toastError } from "@/lib/refusals";import type { StudioExampleRow } from "@/lib/studio-examples";import { cn } from "@/lib/utils";@@ -156,15 +154,7 @@ export function SwapStudioHome({ examples }: { examples?: StudioExampleRow }) {</section><Panel className="mt-8">- <details>- <summary className="cursor-pointer text-[13px] font-semibold">Models and licences</summary>- <ul className="mt-2 space-y-1 text-[12px] text-pretty text-muted-foreground">- <li>Built on Akatz Labs' H3 Character Swap tool (MIT).</li>- <li>Your GPU: {characterLicenceLine("open", STUDIO_MODELS.open.swap)}</li>- <li>Cloud: {characterLicenceLine("cloud", STUDIO_MODELS.cloud.swap)}</li>- </ul>- </details>- <Link href="/genjutsu?mode=character" className="mt-3 inline-flex items-center gap-1 text-[13px] font-medium text-brand-text hover:underline">+ <Link href="/genjutsu?mode=character" className="inline-flex items-center gap-1 text-[13px] font-medium text-brand-text hover:underline"><Sparkles className="size-3.5" /> One quick swap of one part instead? Genjutsu → Character swap <ArrowRight className="size-3.5" /></Link></Panel>diff --git a/src/components/swap-studio/stage-review.tsx b/src/components/swap-studio/stage-review.tsxindex 7ade817b..b09d9703 100644--- a/src/components/swap-studio/stage-review.tsx+++ b/src/components/swap-studio/stage-review.tsx@@ -9,7 +9,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@import { Panel } from "@/components/av/tool-shell";import { Segmented } from "@/components/faceless/controls";import { Segmented as SizePicker } from "@/components/shorts/ui";-import { characterLicenceLine, h3Canvas } from "@/lib/catalog/character-swap";+import { h3Canvas } from "@/lib/catalog/character-swap";import { defaultSharpenTier, filmSize, gpuMinutes, joinNote, SHARPEN_COPY, sharpenOffered, sharpenOptions, type SharpenTier } from "@/lib/catalog/sharpen";import {assemblyPieces,@@ -26,7 +26,6 @@ import {type GenSummary,type SwapTake,} from "@/lib/catalog/swap-studio";-import { STUDIO_MODELS } from "@/lib/catalog/swap-studio-plan";import { downloadHref } from "@/lib/library";import { cn } from "@/lib/utils";import { toastError } from "@/lib/refusals";@@ -394,7 +393,6 @@ export function AssembleStage({ id, project, clip, gens, estimate }: StageProps){(estimate?.notes ?? []).filter((n) => n !== WORKERS_NOTE).map((n) => (<li key={n}>{n}</li>))}- {!estimate && <li>{characterLicenceLine(project.engine, STUDIO_MODELS[project.engine].swap)}</li>}</ul></Panel></div>diff --git a/src/components/thanks/thanks-list.tsx b/src/components/thanks/thanks-list.tsxnew file mode 100644index 00000000..65a35743--- /dev/null+++ b/src/components/thanks/thanks-list.tsx@@ -0,0 +1,139 @@+"use client";++import { ExternalLink, Search, X } from "lucide-react";+import { memo, useDeferredValue, useMemo, useState } from "react";+import { searchText, type ThanksGroup, type ThanksRow } from "@/lib/thanks";++/**+ * Thanks & licences' list: a search box, chips that jump to each group, then the groups, one row each (name and maker,+ * what Fuobe uses it for, its licence and any condition). A search keeps the rows that have every word typed.+ */+export function ThanksList({ groups }: { groups: ThanksGroup[] }) {+ const [query, setQuery] = useState("");+ const deferred = useDeferredValue(query);+ const index = useMemo(() => groups.map((g) => ({ ...g, rows: g.rows.map((r) => ({ row: r, text: searchText(r) })) })), [groups]);+ const shown = useMemo(() => {+ const words = deferred.toLowerCase().split(/\s+/).filter(Boolean);+ return index.map((g) => ({ ...g, rows: words.length ? g.rows.filter((r) => words.every((w) => r.text.includes(w))) : g.rows }));+ }, [index, deferred]);+ const any = shown.some((g) => g.rows.length);++ return (+ <>+ <div className="sticky top-12 z-10 -mx-4 border-b bg-background/90 px-4 py-2 backdrop-blur sm:-mx-8 sm:px-8 md:top-0">+ <div className="flex flex-col gap-2 lg:flex-row lg:items-center">+ <label className="relative block min-w-0 lg:w-80 lg:shrink-0">+ <span className="sr-only">Search models, LoRAs, node packs and libraries</span>+ <Search className="pointer-events-none absolute top-1/2 left-3.5 size-4 -translate-y-1/2 text-muted-foreground" aria-hidden />+ <input+ type="search"+ value={query}+ onChange={(e) => setQuery(e.target.value)}+ placeholder="Search by name, maker or licence"+ className="h-11 w-full min-w-0 rounded-full border bg-background pr-11 pl-10 text-[14px] outline-none placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-search-cancel-button]:hidden"+ />+ {query && (+ <button+ type="button"+ onClick={() => setQuery("")}+ aria-label="Clear the search"+ className="absolute top-1/2 right-0 grid size-11 -translate-y-1/2 place-items-center rounded-full text-muted-foreground hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none"+ >+ <X className="size-4" />+ </button>+ )}+ </label>+ <nav aria-label="Jump to a group" className="-mx-4 min-w-0 overflow-x-auto px-4 [scrollbar-width:none] sm:-mx-8 sm:px-8 lg:mx-0 lg:overflow-visible lg:px-0 [&::-webkit-scrollbar]:hidden">+ <ul className="flex w-max gap-1.5 lg:w-auto lg:flex-wrap">+ {shown+ .filter((g) => g.rows.length)+ .map((g) => (+ <li key={g.id}>+ <a+ href={`#thanks-${g.id}`}+ onClick={(e) => {+ const to = document.getElementById(`thanks-${g.id}`);+ if (!to) return;+ e.preventDefault();+ to.scrollIntoView({ block: "start", behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth" });+ history.replaceState(null, "", `#thanks-${g.id}`);+ }}+ className="inline-flex h-11 items-center gap-1.5 rounded-full border px-3.5 text-[13px] font-medium whitespace-nowrap transition-colors hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none lg:h-9"+ >+ {g.title}+ <span className="text-muted-foreground tabular-nums">{g.rows.length}</span>+ </a>+ </li>+ ))}+ </ul>+ </nav>+ </div>+ </div>++ {shown.map((g) =>+ g.rows.length ? (+ <section+ key={g.id}+ id={`thanks-${g.id}`}+ aria-labelledby={`thanks-${g.id}-title`}+ className="scroll-mt-40 pt-8 md:scroll-mt-28"+ >+ <h2 id={`thanks-${g.id}-title`} className="flex items-baseline gap-2 border-b pb-2 font-heading text-[24px] leading-tight">+ {g.title}+ <span className="font-sans text-[13px] text-muted-foreground tabular-nums">{g.rows.length}</span>+ </h2>+ <ul className="divide-y">+ {g.rows.map(({ row }) => (+ <Row key={row.id} row={row} />+ ))}+ </ul>+ </section>+ ) : null,+ )}+ {!any && (+ <p role="status" className="py-12 text-center text-[14px] text-muted-foreground">+ Nothing matches that search.+ </p>+ )}+ </>+ );+}++const LINK =+ "inline-flex min-h-11 items-center gap-1 text-[13px] font-medium [overflow-wrap:anywhere] text-brand-text underline-offset-2 hover:underline focus-visible:rounded-sm focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none sm:min-h-0";++const Row = memo(function Row({ row }: { row: ThanksRow }) {+ return (+ <li className="grid min-w-0 gap-x-6 gap-y-1 py-3 sm:grid-cols-[1fr_1.3fr_1fr] [&>*]:min-w-0">+ <div>+ <p className="text-[14px] font-medium [overflow-wrap:anywhere]">{row.name}</p>+ {row.maker && <p className="text-[12px] text-muted-foreground [overflow-wrap:anywhere]">{row.maker}</p>}+ </div>+ <p className="text-[13px] leading-snug text-pretty text-muted-foreground">{row.use}</p>+ <div>+ <p className="flex flex-wrap items-center gap-x-3">+ {row.licences.map((l) => {+ const href = l.url ?? row.url;+ return href ? (+ <a key={l.name} href={href} target="_blank" rel="noreferrer" className={LINK}>+ {l.name}+ <ExternalLink className="size-3 shrink-0 opacity-70" aria-hidden />+ <span className="sr-only">(opens in a new tab)</span>+ </a>+ ) : (+ <span key={l.name} className="text-[13px] font-medium [overflow-wrap:anywhere]">+ {l.name}+ </span>+ );+ })}+ </p>+ {row.condition && <p className="text-[12px] leading-snug text-pretty text-foreground/80">{row.condition}</p>}+ {row.credits?.map((c) => (+ <p key={c} className="mt-1 inline-flex rounded-full border px-2 py-0.5 text-[11.5px] text-muted-foreground">+ Credit: {c}+ </p>+ ))}+ </div>+ </li>+ );+});diff --git a/src/components/thanks/thanks-view.tsx b/src/components/thanks/thanks-view.tsxnew file mode 100644index 00000000..9b0c7d4a--- /dev/null+++ b/src/components/thanks/thanks-view.tsx@@ -0,0 +1,34 @@+import type { Thanks } from "@/lib/thanks";+import { ThanksList } from "./thanks-list";++/**+ * Thanks & licences: the names some licences ask Fuobe to show, then every model, LoRA, node pack and library in groups+ * (ThanksList, which searches them).+ */+export function ThanksView({ thanks }: { thanks: Thanks }) {+ return (+ <div data-thanks className="min-w-0">+ {thanks.credits.length > 0 && (+ <section aria-labelledby="thanks-credits" className="mb-8 rounded-2xl border bg-muted/30 p-4 sm:p-6">+ <h2 id="thanks-credits" className="text-[13px] font-semibold tracking-wide text-muted-foreground uppercase">+ Credits+ </h2>+ <ul className="mt-3 grid gap-4 sm:grid-cols-2 lg:grid-cols-3">+ {thanks.credits.map((c) => (+ <li key={c.text} className="min-w-0">+ <p className="font-heading text-[22px] leading-tight [overflow-wrap:anywhere]">{c.text}</p>+ <p className="mt-1 text-[12px] leading-relaxed text-pretty text-muted-foreground">{c.names.join(", ")}</p>+ </li>+ ))}+ </ul>+ </section>+ )}++ <ThanksList groups={thanks.groups} />++ <p className="mt-10 max-w-2xl text-[12px] leading-relaxed text-pretty text-muted-foreground">+ This list is a guide, not legal advice. Read a model's own licence before you sell what you make with it.+ </p>+ </div>+ );+}diff --git a/src/components/train-dialog.tsx b/src/components/train-dialog.tsxindex 0c63fa64..212ae106 100644--- a/src/components/train-dialog.tsx+++ b/src/components/train-dialog.tsx@@ -16,7 +16,6 @@ import type { ElementLora, StudioElement } from "@/lib/catalog/elements";import {AITK_FAMILIES,identityKey,- licenceNote,loraFamily,needsConsent,photosBlocker,@@ -149,10 +148,9 @@ export function TrainDialog({ element, open, onOpenChange }: { element: StudioElconst replaced = hasFamily("z-image-turbo");const anyTrained = families.some((g) => hasFamily(g));- /** One family: its models, its licence (information), and where it trains with each one's price first. */+ /** One family: its models, and where it trains with each one's price first. */const familySection = (f: TrainingFamily) => {const fam = TRAINING_FAMILIES[f];- const lic = targets.find((t) => t.family === f);return (<section key={f} aria-label={fam.name} className="space-y-2"><div className="flex flex-wrap items-baseline justify-between gap-x-2">@@ -162,10 +160,6 @@ export function TrainDialog({ element, open, onOpenChange }: { element: StudioEl{anyTrained && !hasFamily(f) ? " · upgrade: the same photos, another model" : ""}</p></div>- {lic && (- // Information, never a gate: the admin decides what to turn on in Settings.- <p className="text-[11.5px] text-muted-foreground">Licence: {licenceNote(lic)}</p>- )}{targets.filter((t) => t.family === f).map((t) => {diff --git a/src/lib/assist-models.ts b/src/lib/assist-models.tsindex 6f06f527..adb38c52 100644--- a/src/lib/assist-models.ts+++ b/src/lib/assist-models.ts@@ -416,13 +416,12 @@ const routedTo = (c: Choice) => {return suffix ? (ROUTED[suffix] ?? suffix) : undefined;};-/** "Open weights · MIT · runs on DeepSeek's servers", "… · runs on DeepInfra, through Hugging Face"; undefined for a closed (or not confirmed open) model. */+/** "Open weights · runs on DeepSeek's servers", "… · runs on DeepInfra, through Hugging Face"; undefined for a closed (or not confirmed open) model. */export function openLabel(c: Choice): string | undefined {if (c.local) return "Open weights · on this machine";if (!c.licence) return undefined;- const licence = c.nonCommercial ? `${c.licence} (non-commercial)` : c.licence;const host = routedTo(c);const where =c.provider === "openrouter" ? (c.free ? "free through OpenRouter" : "runs through OpenRouter") : host ? `runs on ${host}, through ${c.providerLabel}` : `runs on ${c.providerShort}'s servers`;- return `Open weights · ${licence} · ${where}`;+ return `Open weights · ${where}`;}diff --git a/src/lib/assist.ts b/src/lib/assist.tsindex 30d08484..e1d8851f 100644--- a/src/lib/assist.ts+++ b/src/lib/assist.ts@@ -195,7 +195,7 @@ export interface AssistModelOption {/** "$2 in, $10 out per million tokens", "Free · 20 a minute, 50 a day". */price: string;note?: string;- /** "Open weights · MIT · runs on DeepSeek's servers". */+ /** "Open weights · runs on DeepSeek's servers". */open?: string;caveat?: string;sees: boolean;diff --git a/src/lib/catalog/character-swap.ts b/src/lib/catalog/character-swap.tsindex b8de8470..9a78f59f 100644--- a/src/lib/catalog/character-swap.ts+++ b/src/lib/catalog/character-swap.ts@@ -587,10 +587,3 @@ export const CHARACTER_LORAS: { file: string; name: string; url: string; licence];export const characterLora = (file: string) => CHARACTER_LORAS.find((l) => l.file === file);--/** One line for a model picker: the licence that matters most for the route, as information. */-export function characterLicenceLine(engine: Engine, modelId: string): string {- if (modelId === "h3-max-recast") return "MiniMax's closed H3 Max through fal: pay per second, under fal's and MiniMax's terms";- const h3 = `MiniMax H3 Community License — not licensed in ${MINIMAX_H3_LICENCE.excludes}; commercial use over US$20M revenue needs MiniMax's OK; show "MiniMax H3"`;- return engine === "open" ? `${h3} · nodes GPL-3.0 · SAM License` : `${h3} · on fal, pay per second`;-}diff --git a/src/lib/catalog/cloud-models.generated.ts b/src/lib/catalog/cloud-models.generated.tsindex 307f210b..a68edb74 100644--- a/src/lib/catalog/cloud-models.generated.ts+++ b/src/lib/catalog/cloud-models.generated.ts@@ -1766,7 +1766,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "BFL's open 5.6B model, hosted: up to 4K, edits with up to 10 references in image 1's shape, layout boxes, Prompt helper \u00b7 FLUX Kommunity licence",+ "tagline": "BFL's open 5.6B model, hosted: up to 4K, edits with up to 10 references in image 1's shape, layout boxes, Prompt helper","routes": [{"op": "t2i",@@ -1921,7 +1921,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "The undistilled Klein your FLUX 3 Klein LoRAs are trained on, hosted: up to 3 of them \u00b7 FLUX Kommunity licence",+ "tagline": "The undistilled Klein your FLUX 3 Klein LoRAs are trained on, hosted: up to 3 of them","routes": [{"op": "t2i",@@ -2534,7 +2534,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "The Apache-2.0 FLUX.2: quick drafts and edits",+ "tagline": "The open FLUX.2: quick drafts and edits","routes": [{"op": "t2i",@@ -2722,7 +2722,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "FLUX.1 [dev] with your trained characters and styles \u00b7 non-commercial weights",+ "tagline": "FLUX.1 [dev] with your trained characters and styles","routes": [{"op": "t2i",@@ -2794,7 +2794,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "Natural photoreal FLUX.1 Krea with FLUX.1 LoRAs \u00b7 non-commercial weights",+ "tagline": "Natural photoreal FLUX.1 Krea with FLUX.1 LoRAs","routes": [{"op": "t2i",@@ -2866,7 +2866,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "FLUX.2 [dev] with your trained characters and styles \u00b7 non-commercial weights",+ "tagline": "FLUX.2 [dev] with your trained characters and styles","routes": [{"op": "t2i",@@ -2939,7 +2939,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "flux","engine": "cloud","kind": "image",- "tagline": "The 9B FLUX.2 [klein] with your LoRAs \u00b7 non-commercial weights",+ "tagline": "The 9B FLUX.2 [klein] with your LoRAs","routes": [{"op": "t2i",@@ -3015,7 +3015,7 @@ export const CLOUD_MODELS: ModelDef[] = ["family": "krea","engine": "cloud","kind": "image",- "tagline": "Krea 2's aesthetic with your trained characters and styles \u00b7 Krea 2 Community licence (revenue tiers)",+ "tagline": "Krea 2's aesthetic with your trained characters and styles","routes": [{"op": "t2i",diff --git a/src/lib/catalog/dop.ts b/src/lib/catalog/dop.tsindex d38ec8dc..f6173fa7 100644--- a/src/lib/catalog/dop.ts+++ b/src/lib/catalog/dop.ts@@ -14,7 +14,7 @@* Relight LoRA in the cloud), then animate it.* - Licences are information: a LoRA licensed for the user's GPU only (civitai "RentCivit") goes to the cloud route* too, unless Settings → Models & licences keeps such LoRAs on the GPU (fitLoras then leaves it out, saying so); a- * non-commercial LoRA or one whose licence the research holds is used and said in the preset's line.+ * non-commercial LoRA or one whose licence the research holds is used (Thanks & licences lists it).* - The Mixed Media looks (32 effects, build plan O9) draw the start frame in the Mixed Media studio's look first* (Fuobe Mixed Media: Z-Image Turbo + ControlNet with the look's LoRA, one seed), then animate it on the words.* - A preset with nothing of the Original's own in the cloud (no hostable LoRA, camera LoRA, hosted move, grade or@@ -22,7 +22,7 @@* becomes its cloud default only when the evaluation harness (scripts/eval, O8) promotes it. On the user's GPU it* is Fuobe DoP (Wan 2.2 on the words, as before).*/-import { gpuOnlyLicence, libraryEntry, loraName, loraRef, triggerOf } from "./loras";+import { gpuOnlyLicence, libraryEntry, loraRef, triggerOf } from "./loras";import { defaultValues, getMixedPreset, originalFrameRequest } from "./mixed-media";import { mixedLoras } from "./mixed-media-looks";import { DOP_RECIPES, OSS_LORAS, type DopRecipe, type OssLora } from "./oss-loras.generated";@@ -264,17 +264,6 @@ export function dopPreset(p: Preset): Preset {cloud = { ...p.cloud, partner: true };}- 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);- // "Its trained style is", "Its trained styles are" or "One of its trained styles 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 trained styles are" : "One of its trained styles is";- return n > 1 ? "Its trained styles are" : "Its trained style is";- };let parity: string;if (grade) parity = "Fuobe DoP animates your still, then your browser grades the clip.";else if (mixedLook && extras.prestep) {@@ -284,15 +273,9 @@ export function dopPreset(p: Preset): Preset {// The relight is Qwen-Image 2.1 Turbo on your GPU, Qwen-Image-Edit 2509 with its Relight LoRA in the cloud.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.`;else if (!cloudSays) parity = `On your GPU, Fuobe DoP ${openSays}.`;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 (Settings → Models & licences, the owner's).- if (local.length && cloudSays) parity += ` ${its(local)} licensed for your GPU only.`;- 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.+ // A LoRA's licence (GPU only, non-commercial, held by the research) is information on Thanks & licences, not a line here.return { ...p, open, cloud, parity, ...extras };}diff --git a/src/lib/catalog/genjutsu.ts b/src/lib/catalog/genjutsu.tsindex 9ed479ba..cf63946f 100644--- a/src/lib/catalog/genjutsu.ts+++ b/src/lib/catalog/genjutsu.ts@@ -27,7 +27,6 @@ import {CHARACTER_SWAP,CLOUD_NO_LORA,characterFinish,- characterLicenceLine,characterQuality,h3Canvas,partFrames,@@ -612,31 +611,6 @@ export const LEGACY_MAKERS: Record<string, string> = {const SOURCE_RANK: Record<MakerSource, number> = { original: 0, open: 1, partner: 2 };-/** The open weights under each model that isn't MiniMax H3 (docs/research/fuobe-originals-recipes-5.json, studios.genjutsu). */-const WEIGHTS: Record<string, string> = {- [ORIGINALS.motion]: "Wan Animate weights: Apache-2.0",- [ORIGINALS.motionLite]: "Wan Animate weights: Apache-2.0",- [ORIGINALS.swap]: "Wan VACE weights: Apache-2.0 · SAM 3.1: Meta's SAM License",- [ORIGINALS.swapLite]: "Wan VACE weights: Apache-2.0 · SAM 3.1: Meta's SAM License",- [ORIGINALS.restyle]: "Wan 2.2 Fun VACE weights: Apache-2.0",- "scail-2": "SCAIL-2 weights: MIT",- "wan-motion": "Wan Animate weights: Apache-2.0",- "wan-22-animate-replace": "Wan 2.2 Animate weights: Apache-2.0",- "wan-22-vace-inpaint": "Wan 2.2 Fun VACE weights: Apache-2.0",- "oss-vace-insert": "Wan 2.1 VACE weights: Apache-2.0",-};--/**- * A model's licence in one line, as information for the picker (the admin decides what runs, in Settings), with where- * it runs unless the line it goes in already says (`where` false).- */-export function makerLicence(m: Maker, where = true): string {- if (m.h3 || m.id === "h3-max-recast") return characterLicenceLine(m.engine, m.id);- if (m.source === "partner") return "Closed model: pay per use, under its provider's terms";- const weights = WEIGHTS[m.id] ?? "Open weights";- return where ? `${weights} · ${m.engine === "open" ? "free on your GPU" : "on fal, pay per use"}` : weights;-}-/*** Whether Settings → Models & licences offers a picker entry: Lite and the full Original are one entry, offered while* either tier is on.diff --git a/src/lib/catalog/loras.ts b/src/lib/catalog/loras.tsindex 51a845c2..5aeea4d2 100644--- a/src/lib/catalog/loras.ts+++ b/src/lib/catalog/loras.ts@@ -230,9 +230,6 @@ export function fitLoras(loras: LoraRef[], route: Pick<ModelRoute, "provider" |return { loras: [], notes };}const { kept, over } = fitSlots(field, cloud);- // Said only of the LoRAs this run really sends (not of one the route or its capacity leaves out).- const gpuOnly = [...new Set(kept.filter(gpuOnlyLicence).map(loraName))];- if (gpuOnly.length) notes.push(`${list(gpuOnly)}: ${gpuOnly.length > 1 ? "their licences allow your GPU only (civitai lists no “Rent”); they run" : "its licence allows your GPU only (civitai lists no “Rent”); it runs"} in the cloud because Settings → Models & licences lets such LoRAs go there`);if (over.length) {const why = field.shape === "experts" ? "one LoRA per expert" : `up to ${loraCapacity(field)} LoRA${loraCapacity(field) > 1 ? "s" : ""}`;notes.push(`This API takes ${why}, so ${list(over.map(loraName))} ${over.length > 1 ? "are" : "is"} left out`);diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.tsindex 9655f6c7..ffcc5783 100644--- a/src/lib/catalog/models.ts+++ b/src/lib/catalog/models.ts@@ -114,7 +114,7 @@ const open: ModelDef[] = [vendor: "Ideogram",family: "ideogram",kind: "image",- tagline: "Typography, posters and photographic stills from structured captions · 24 GB GPU · non-commercial weights",+ tagline: "Typography, posters and photographic stills from structured captions · 24 GB GPU",badges: ["new", "top"],routes: [comfy("t2i", "ideogram4-t2i", "lean JSON caption; Quality preset")],options: {@@ -142,7 +142,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "Native 2K images with clean lettering; edits with up to 4 references, inpaint and expand; Draft to Full speed · English prompts only on a 16 GB GPU, any language on a 20 GB GPU · non-commercial weights",+ tagline: "Native 2K images with clean lettering; edits with up to 4 references, inpaint and expand; Draft to Full speed · English prompts only on a 16 GB GPU, any language on a 20 GB GPU",badges: ["new", "top"],// Aspect ratio and size are for text to image: an edit or inpaint follows image 1, an expand the canvas its pads grow.// The inpaint and expand graphs read the picture alone.@@ -162,7 +162,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "8-step edits with up to 4 references, close to the full model except on big camera turns · 20 GB GPU · non-commercial weights",+ tagline: "8-step edits with up to 4 references, close to the full model except on big camera turns · 20 GB GPU",badges: ["new", "top", "fast"],routes: [comfy("edit", "qwen-image-21-turbo-edit", "8 steps, up to 4 references")],options: { maxImages: 4, seed: true, controls: [QWEN21_DECODER] },@@ -175,7 +175,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "Qwen-Image 2.1 on a 16 GB GPU with a compact text reader: English prompts only, and numbers on signs can come out wrong · non-commercial weights",+ tagline: "Qwen-Image 2.1 on a 16 GB GPU with a compact text reader: English prompts only, and numbers on signs can come out wrong",routes: [{ ...comfy("t2i", "qwen-image-21-t2i-small", "Zen Image Edit's 0.8B encoder, 30 steps") },{ ...comfy("edit", "qwen-image-21-edit-small", "Zen Image Edit's 0.8B encoder, up to 4 references"), unsized: true },@@ -192,7 +192,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "Live edits as you type with the 2-step DMD2 LoRA · 20 GB GPU · non-commercial weights",+ tagline: "Live edits as you type with the 2-step DMD2 LoRA · 20 GB GPU",routes: [{ ...comfy("edit", "qwen-image-21-live-edit", "2 steps, live"), unsized: true }],options: { maxImages: 4, seed: true },hidden: true,@@ -207,7 +207,7 @@ const open: ModelDef[] = [vendor: "Black Forest Labs",family: "flux",kind: "image",- tagline: "BFL's open 5.6B model: images up to 4K, edits with up to 10 references, layout boxes · 16-24 GB GPU · FLUX Kommunity licence",+ tagline: "BFL's open 5.6B model: images up to 4K, edits with up to 10 references, layout boxes · 16-24 GB GPU",badges: ["new", "top"],// The Image studio's Best list, as its brief asks; the Edit studio offers it, and its Best list stays as it is.bestOps: ["t2i"],@@ -225,7 +225,7 @@ const open: ModelDef[] = [vendor: "Black Forest Labs",family: "flux",kind: "image",- tagline: "The undistilled Klein your FLUX 3 Klein LoRAs are trained on: 50 steps with them · 16-24 GB GPU · FLUX Kommunity licence",+ tagline: "The undistilled Klein your FLUX 3 Klein LoRAs are trained on: 50 steps with them · 16-24 GB GPU",badges: ["new"],routes: [comfy("t2i", "flux3-klein-base-t2i-lora", "50 steps, CFG 3.5; your LoRAs load after it")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K", "2K", "4K"], seed: true, layout: "flux3", controls: [KLEIN_PROMPT_HELPER] },@@ -239,7 +239,7 @@ const open: ModelDef[] = [vendor: "Krea",family: "krea",kind: "image",- tagline: "Natural skin, light and faces from detailed prose · 20 GB GPU · Krea 2 Community License",+ tagline: "Natural skin, light and faces from detailed prose · 20 GB GPU",badges: ["new", "top"],routes: [comfy("t2i", "krea2-realism-t2i", "Krea 2 Turbo + the Realism V2 LoRA, 6 steps")],options: {@@ -257,7 +257,7 @@ const open: ModelDef[] = [vendor: "Krea",family: "krea",kind: "image",- tagline: "Krea 2 in 8 steps: photos and illustrations from prose · 20 GB GPU · Krea 2 Community License",+ tagline: "Krea 2 in 8 steps: photos and illustrations from prose · 20 GB GPU",badges: ["new", "fast"],routes: [comfy("t2i", "krea2-turbo-t2i", "8 steps")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K", "2K"], seed: true },@@ -294,7 +294,7 @@ const open: ModelDef[] = [vendor: "Bria",family: "bria",kind: "image",- tagline: "Structured JSON prompts for exact control; edits with up to 4 references · 24 GB GPU · non-commercial weights",+ tagline: "Structured JSON prompts for exact control; edits with up to 4 references · 24 GB GPU",badges: ["new", "top"],routes: [comfy("t2i", "fibo2-dev-t2i", "Qwen3.5 writes Bria's structured JSON prompt; 30 steps"),@@ -310,7 +310,7 @@ const open: ModelDef[] = [vendor: "Bria",family: "bria",kind: "image",- tagline: "4-step edits with up to 4 references · 16 GB GPU · non-commercial weights",+ tagline: "4-step edits with up to 4 references · 16 GB GPU",badges: ["new", "top", "fast"],routes: [comfy("edit", "fibo2-edit-turbo-edit", "4 steps, up to 4 references")],options: { maxImages: 4, seed: true },@@ -323,7 +323,7 @@ const open: ModelDef[] = [vendor: "Krea",family: "krea",kind: "image",- tagline: "Instruction edits that keep the picture: relight, recolour, add, remove, restyle; a second photo puts a person in the scene · 20 GB GPU · non-commercial LoRA",+ tagline: "Instruction edits that keep the picture: relight, recolour, add, remove, restyle; a second photo puts a person in the scene · 20 GB GPU",badges: ["new", "top"],routes: [comfy("edit", "krea2-edit-general", "General Edit V2 LoRA, 8 steps; image 2 = a person to put in the scene")],options: {@@ -341,7 +341,7 @@ const open: ModelDef[] = [vendor: "Krea",family: "krea",kind: "image",- tagline: "Restages a person from one photo: new place, pose or outfit, same face · 20 GB GPU · non-commercial LoRA",+ tagline: "Restages a person from one photo: new place, pose or outfit, same face · 20 GB GPU",badges: ["new"],routes: [comfy("edit", "krea2-edit-identity", "Identity Edit V2 LoRA, 8 steps; image 2 = a second person")],options: {@@ -359,7 +359,7 @@ const open: ModelDef[] = [vendor: "Krea",family: "krea",kind: "image",- tagline: "Your picture redrawn in Krea 2's look at the strength you pick · 20 GB GPU · Krea 2 Community License",+ tagline: "Your picture redrawn in Krea 2's look at the strength you pick · 20 GB GPU",badges: ["new"],routes: [comfy("edit", "krea2-turbo-i2i", "about 2 MP, keeps the picture's shape")],options: { maxImages: 1, seed: true, sliders: [{ param: "strength", label: "Change", min: 0.1, max: 1, step: 0.05, default: 0.6 }] },@@ -421,7 +421,7 @@ const open: ModelDef[] = [vendor: "Black Forest Labs",family: "flux",kind: "image",- tagline: "FLUX.2 with multi-reference editing (non-commercial license)",+ tagline: "FLUX.2 with multi-reference editing",routes: [comfy("t2i", "flux2-dev-t2i"), comfy("edit", "flux2-dev-multiref")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K", "2K"], maxImages: 3, seed: true },defaults: { aspectRatio: "1:1", resolution: "1K" },@@ -554,7 +554,7 @@ const open: ModelDef[] = [vendor: "visioncortex",family: "vtracer",kind: "image",- tagline: "Traces logos, icons and flat art into a clean, editable SVG · CPU, no model · MIT",+ tagline: "Traces logos, icons and flat art into a clean, editable SVG · CPU, no model",routes: [comfy("vectorize", "image-vectorize-vtracer", "colour tracing, stacked shapes")],options: {promptless: true,@@ -573,7 +573,7 @@ const open: ModelDef[] = [vendor: "ATH-MaaS",family: "qwen-llm",kind: "text",- tagline: "Every line of text in an image, with its box · 3 GB GPU · Apache-2.0",+ tagline: "Every line of text in an image, with its box · 3 GB GPU",routes: [comfy("ocr", "ocr-lines-qwen35", "OvisOCR3 0.8B (a Qwen3.5 OCR fine-tune) on core TextGenerate; boxes come back 0–1000")],options: { promptless: true, maxImages: 1 },}),@@ -899,7 +899,7 @@ const open: ModelDef[] = [vendor: "hkchengrex",family: "mmaudio",kind: "video",- tagline: "Sound effects for silent clips (non-commercial weights)",+ tagline: "Sound effects for silent clips",routes: [comfy("v2a", "v2a-mmaudio")],options: { seed: true, negativePrompt: true },}),@@ -1035,7 +1035,7 @@ const open: ModelDef[] = [vendor: "ByteDance",family: "depth-anything",kind: "video",- tagline: "Steady, detailed depth for video · non-commercial weights (CC-BY-NC-4.0) · 8 GB",+ tagline: "Steady, detailed depth for video · 8 GB",routes: [comfy("depth-video", "video-depth-vda-large", "Video Depth Anything Large (about 1.5 GB, downloaded on first run)")],options: { colormaps: ["grayscale", "inferno"], sideBySide: true },}),@@ -1049,7 +1049,7 @@ const open: ModelDef[] = [vendor: "Alibaba Wan",family: "wan",kind: "video",- tagline: "Name what to remove and it's gone, every other pixel untouched · 81 frames a run (Video tools → Remove object does whole clips) · 24 GB GPU · Apache-2.0",+ tagline: "Name what to remove and it's gone, every other pixel untouched · 81 frames a run (Video tools → Remove object does whole clips) · 24 GB GPU",badges: ["new"],routes: [comfy("remove-object", "video-inpaint-wan-vace", "SAM 3.1 text track + Wan 2.1 VACE 14B with the lightx2v 4-step LoRA; up to 81 frames per window")],options: { seed: true, negativePrompt: true },@@ -1060,7 +1060,7 @@ const open: ModelDef[] = [vendor: "Alibaba Wan",family: "wan",kind: "video",- tagline: "Paint what to remove on the first frame, and it's gone from the shot · 81 frames a run (Video tools → Remove object does whole clips) · 24 GB GPU · Apache-2.0",+ tagline: "Paint what to remove on the first frame, and it's gone from the shot · 81 frames a run (Video tools → Remove object does whole clips) · 24 GB GPU",badges: ["new"],routes: [comfy("remove-object", "video-inpaint-wan-vace-painted", "first-frame mask (white = remove) tracked by SAM 3.1; the last frame's mask starts the next window")],options: { seed: true, negativePrompt: true, requires: { mask: true, msg: "Paint what to remove on the first frame" } },@@ -1071,7 +1071,7 @@ const open: ModelDef[] = [vendor: "Netflix",family: "void",kind: "video",- tagline: "Removes the object and what it causes — shadows, reflections, things it moves · 197 frames a run (Video tools → Remove object does whole clips) · 24–40 GB GPU · CogVideoX License: commercial use needs registration",+ tagline: "Removes the object and what it causes — shadows, reflections, things it moves · 197 frames a run (Video tools → Remove object does whole clips) · 24–40 GB GPU",badges: ["new"],routes: [comfy("remove-object", "video-erase-void", "SAM 3.1 text track + VOID (CogVideoX-5B fine-tune), two passes; up to 197 frames per window")],options: { seed: true, negativePrompt: true },@@ -1086,7 +1086,7 @@ const open: ModelDef[] = [vendor: "Alibaba Wan",family: "wan",kind: "video",- tagline: "Name what to swap and your reference takes its place, every other pixel untouched · 81 frames a run (Genjutsu does whole clips) · 24 GB GPU · Apache-2.0",+ tagline: "Name what to swap and your reference takes its place, every other pixel untouched · 81 frames a run (Genjutsu does whole clips) · 24 GB GPU",badges: ["new"],routes: [comfy("video-swap", "video-swap-wan-vace", "SAM 3.1 text track + Wan 2.1 VACE 14B with the first reference image; up to 81 frames per window")],options: { seed: true, negativePrompt: true, maxImages: 1 },@@ -1097,7 +1097,7 @@ const open: ModelDef[] = [vendor: "Alibaba Wan",family: "wan",kind: "video",- tagline: "Paint where it goes on the first frame, and your reference stays there for the whole shot (a still or slow camera) · 81 frames a run (Genjutsu does whole clips) · 24 GB GPU · Apache-2.0",+ tagline: "Paint where it goes on the first frame, and your reference stays there for the whole shot (a still or slow camera) · 81 frames a run (Genjutsu does whole clips) · 24 GB GPU",badges: ["new"],routes: [comfy("video-insert", "video-insert-wan-vace", "painted region (white = where it goes) held for every frame + Wan 2.1 VACE 14B with the first reference image")],options: { seed: true, negativePrompt: true, maxImages: 1, requires: { mask: true, msg: "Paint where it goes on the first frame" } },@@ -1196,7 +1196,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "The next storyboard panel from the previous one, on Qwen-Image 2.1 with its Next-Scene LoRA · 20 GB GPU · non-commercial weights",+ tagline: "The next storyboard panel from the previous one, on Qwen-Image 2.1 with its Next-Scene LoRA · 20 GB GPU",routes: [{ ...comfy("edit", "qwen-image-21-next-scene", "2.1 Next-Scene LoRA at 0.7, 28 steps"), unsized: true }],options: { seed: true, maxImages: 2, controls: [QWEN21_DECODER], ...(NEXT_SCENE_21_LORA && { loras: [loraRef(NEXT_SCENE_21_LORA)] }) },hidden: true,@@ -1210,7 +1210,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "Relight with placed lights: Qwen-Image 2.1 with Viggle's 6-step speed LoRA · 24 GB GPU · non-commercial weights",+ tagline: "Relight with placed lights: Qwen-Image 2.1 with Viggle's 6-step speed LoRA · 24 GB GPU",routes: [{ ...comfy("edit", "qwen-image-21-relight", "6 steps, about 1 MP"), unsized: true }],options: { seed: true, maxImages: 2 },hidden: true,@@ -1237,7 +1237,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "Re-shoot a picture from any of 96 camera angles: 8 sides, 4 heights, 3 distances · on your GPU, 20 GB · non-commercial weights",+ tagline: "Re-shoot a picture from any of 96 camera angles: 8 sides, 4 heights, 3 distances · on your GPU, 20 GB",badges: ["new"],routes: [{ ...comfy("edit", "qwen-image-21-qma", "QMA LoRA at 1.0, 30 steps, CFG 3"), unsized: true, maxImages: 1 }],options: {@@ -1286,7 +1286,7 @@ const open: ModelDef[] = [vendor: "Bilibili",family: "index-tts",kind: "audio",- tagline: "Expressive zero-shot cloning (commercial use under 100M users)",+ tagline: "Expressive zero-shot cloning",routes: [comfy("tts", "tts-indextts2")],options: { voiceClone: true },}),@@ -1407,7 +1407,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-image",kind: "image",- tagline: "Splits a picture into editable transparent layers, back to front · 24 GB GPU · Apache-2.0",+ tagline: "Splits a picture into editable transparent layers, back to front · 24 GB GPU",badges: ["new", "top"],routes: [comfy("layers", "layers-qwen-image-layered", "full-canvas RGBA layers with name, z and bounding box")],options: { seed: true, sliders: [{ param: "numLayers", label: "Layers", min: 2, max: 10, step: 1, default: 4 }] },@@ -1418,7 +1418,7 @@ const open: ModelDef[] = [vendor: "DiffSynth-Studio",family: "qwen-image",kind: "image",- tagline: "Pulls the element you name (“the guitar”) onto its own layer · 24 GB GPU, 41 GB download · Apache-2.0",+ tagline: "Pulls the element you name (“the guitar”) onto its own layer · 24 GB GPU, 41 GB download",badges: ["new"],routes: [comfy("layers", "layers-qwen-image-layered-control", "prompt = the element to separate")],options: { seed: true, requires: { prompt: true, msg: "Name the element to pull out, e.g. “the guitar”" } },@@ -1430,7 +1430,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "style-reference",kind: "image",- tagline: "A new image in the look of your moodboard (1–2 collages): palette, light, grain, mood · 24 GB GPU · Apache-2.0",+ tagline: "A new image in the look of your moodboard (1–2 collages): palette, light, grain, mood · 24 GB GPU",badges: ["new", "top", "fast"],routes: [comfy("t2i", "style-ref-qwen-edit-2511", "Qwen-Image-Edit-2511 + Lightning, 4 steps")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K"], maxImages: 2, seed: true, requires: { images: 1, msg: "Add 1–2 moodboard images to take the style from" } },@@ -1442,7 +1442,7 @@ const open: ModelDef[] = [vendor: "Black Forest Labs",family: "style-reference",kind: "image",- tagline: "Fast style transfer from up to 4 references, 4 steps · 10 GB GPU · Apache-2.0",+ tagline: "Fast style transfer from up to 4 references, 4 steps · 10 GB GPU",badges: ["new", "fast"],routes: [comfy("t2i", "style-ref-flux2-klein-4b")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K"], maxImages: 4, seed: true, requires: { images: 1, msg: "Add 1–4 style reference images" } },@@ -1454,7 +1454,7 @@ const open: ModelDef[] = [vendor: "Krea",family: "style-reference",kind: "image",- tagline: "Trained for style reference (1–2 images) · 20 GB GPU · Krea 2 Community License: enterprise terms above its size limits",+ tagline: "Trained for style reference (1–2 images) · 20 GB GPU",badges: ["new"],routes: [comfy("t2i", "style-ref-krea2", "Krea 2 Turbo + style_reference LoRA")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K"], maxImages: 2, seed: true, requires: { images: 1, msg: "Add 1–2 moodboard images to take the style from" } },@@ -1466,7 +1466,7 @@ const open: ModelDef[] = [vendor: "ByteDance",family: "style-reference",kind: "image",- tagline: "Style-only reference on FLUX.1 [dev] · 20 GB GPU · non-commercial base model",+ tagline: "Style-only reference on FLUX.1 [dev] · 20 GB GPU",routes: [comfy("t2i", "style-ref-uso-flux1")],options: { aspectRatios: IMG_AR, resolutions: ["1K", "1.5K"], maxImages: 2, seed: true, requires: { images: 1, msg: "Add 1–2 moodboard images to take the style from" } },defaults: { aspectRatio: "1:1", resolution: "1K" },@@ -1478,7 +1478,7 @@ const open: ModelDef[] = [vendor: "Alibaba Tongyi",family: "z-image",kind: "image",- tagline: "Generates in your hex colors and keeps them with a color transfer · 12 GB GPU · Apache-2.0",+ tagline: "Generates in your hex colors and keeps them with a color transfer · 12 GB GPU",badges: ["new", "fast"],routes: [comfy("t2i", "palette-zimage-hex", "hex list in the prompt + ColorTransfer to a swatch")],options: {@@ -1533,7 +1533,7 @@ const open: ModelDef[] = [vendor: "Alibaba Wan",family: "wan",kind: "video",- tagline: "Re-renders a ≤5 s clip in the look of its restyled first frame, keeping the motion (depth) · 24 GB GPU · Apache-2.0",+ tagline: "Re-renders a ≤5 s clip in the look of its restyled first frame, keeping the motion (depth) · 24 GB GPU",badges: ["new"],routes: [comfy("v2v", "video-restyle-wan22-fun-vace", "image = restyled first frame; Depth Anything 3 control; Lightx2v 4-step")],options: { aspectRatios: VID_AR, resolutions: ["480p", "720p"], durations: [3, 4, 5], seed: true, negativePrompt: true },@@ -1549,7 +1549,7 @@ const open: ModelDef[] = [vendor: "Alibaba Wan",family: "wan",kind: "video",- tagline: "Renders a grey-box blockout from its depth and a first frame: camera, blocking and timing kept · 24 GB GPU · Apache-2.0",+ tagline: "Renders a grey-box blockout from its depth and a first frame: camera, blocking and timing kept · 24 GB GPU",badges: ["new"],routes: [comfy("v2v", "video-blockout-wan22-fun-vace", "video = the blockout's depth (near = bright); image = the first frame; Lightx2v 4-step"),@@ -1565,7 +1565,7 @@ const open: ModelDef[] = [vendor: "Alibaba Tongyi",family: "z-image",kind: "video",- tagline: "Stylises every frame (sketch, comic, paper…) at 4–24 fps, outlines kept · 16 GB GPU · Apache-2.0",+ tagline: "Stylises every frame (sketch, comic, paper…) at 4–24 fps, outlines kept · 16 GB GPU",badges: ["new"],routes: [comfy("v2v", "mixed-media-zimage-frames", "Z-Image Turbo img2img + Fun Union ControlNet (canny), per frame")],options: {@@ -1585,7 +1585,7 @@ const open: ModelDef[] = [vendor: "Stability AI",family: "stable-audio",kind: "audio",- tagline: "Sound effects from a description in 8 steps · 6 GB GPU · free under US$1M revenue (Stability Community License)",+ tagline: "Sound effects from a description in 8 steps · 6 GB GPU",badges: ["new", "top", "fast"],routes: [comfy("sfx", "sfx-stable-audio-3-small")],options: { durations: [3, 5, 10, 20], seed: true, negativePrompt: true },@@ -1597,7 +1597,7 @@ const open: ModelDef[] = [vendor: "Stability AI",family: "stable-audio",kind: "audio",- tagline: "Effects and loops up to 47 s · 6 GB GPU · free under US$1M revenue (Stability Community License)",+ tagline: "Effects and loops up to 47 s · 6 GB GPU",routes: [comfy("sfx", "sfx-stable-audio-open")],options: { durations: [5, 10, 20, 30, 45], seed: true, negativePrompt: true },defaults: { duration: 10 },@@ -1608,7 +1608,7 @@ const open: ModelDef[] = [vendor: "Tencent",family: "hunyuan",kind: "audio",- tagline: "48 kHz foley from a description · 12 GB GPU · licence excludes the EU, UK and South Korea",+ tagline: "48 kHz foley from a description · 12 GB GPU",routes: [comfy("sfx", "sfx-hunyuan-foley")],options: { durations: [3, 5, 8, 10], seed: true, negativePrompt: true },defaults: { duration: 5 },@@ -1620,7 +1620,7 @@ const open: ModelDef[] = [vendor: "Tencent",family: "hunyuan",kind: "video",- tagline: "48 kHz foley in sync with your whole clip (up to 30 s), laid under the untouched picture · 12 GB GPU · licence excludes the EU, UK and South Korea",+ tagline: "48 kHz foley in sync with your whole clip (up to 30 s), laid under the untouched picture · 12 GB GPU",badges: ["new"],// No length to pick: the sound is as long as the clip (the provider reads it from the MP4 header).routes: [comfy("v2a", "v2a-hunyuan-foley", "frames at 8 fps → HunyuanFoleySampler; picture stream-copied; sound as long as the clip")],@@ -1632,7 +1632,7 @@ const open: ModelDef[] = [vendor: "hkchengrex",family: "mmaudio",kind: "audio",- tagline: "Sound effects from text, best at about 8 s · 8 GB GPU · non-commercial weights",+ tagline: "Sound effects from text, best at about 8 s · 8 GB GPU",routes: [comfy("sfx", "sfx-mmaudio-t2a")],options: { durations: [3, 5, 8], seed: true, negativePrompt: true },defaults: { duration: 8 },@@ -1643,7 +1643,7 @@ const open: ModelDef[] = [vendor: "FunAudioLLM",family: "thinksound",kind: "audio",- tagline: "Apache-2.0 sound effects from a description, up to 30 s · 12 GB GPU",+ tagline: "Sound effects from a description, up to 30 s · 12 GB GPU",routes: [comfy("sfx", "sfx-thinksound", "isolated worker (scripts/comfy/README.md)")],options: { durations: [3, 5, 8, 10, 20, 30], seed: true },defaults: { duration: 8 },@@ -1656,7 +1656,7 @@ const open: ModelDef[] = [vendor: "Open source",family: "melband",kind: "audio",- tagline: "Splits the voice from the music and effects, and transcribes the voice with timings · 8 GB GPU · MIT / Apache-2.0",+ tagline: "Splits the voice from the music and effects, and transcribes the voice with timings · 8 GB GPU",badges: ["new"],routes: [comfy("separate-audio", "dub-prepare-separate-transcribe", "voice stem, background stem, timed cues, transcript")],options: {},@@ -1669,7 +1669,7 @@ const open: ModelDef[] = [vendor: "Open source",family: "dbs",kind: "audio",- tagline: "Splits the dialogue from the music and effects (the split runs on a CPU) and transcribes it with timings · 8 GB GPU for the transcript · Apache-2.0",+ tagline: "Splits the dialogue from the music and effects (the split runs on a CPU) and transcribes it with timings · 8 GB GPU for the transcript",badges: ["new"],routes: [comfy("separate-audio", "dub-prepare-dbs-transcribe", "voice stem, background stem (FLAC), timed cues, transcript; ComfyUI-DBS + ComfyUI-QwenASR")],options: {},@@ -1683,7 +1683,7 @@ const open: ModelDef[] = [vendor: "Open source",family: "dbs",kind: "audio",- tagline: "Splits a soundtrack into dialogue, music and effects · 23 MB · CPU or GPU · Apache-2.0",+ tagline: "Splits a soundtrack into dialogue, music and effects · 23 MB · CPU or GPU",badges: ["new"],routes: [comfy("separate-audio", "separate-soundtrack-dbs", "voice, music, effects and music & effects (FLAC) + a speed report; ComfyUI-DBS")],options: {@@ -1738,7 +1738,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-asr",kind: "text",- tagline: "Timed captions from speech in 30 languages (auto-detect) · 4 GB GPU · Apache-2.0",+ tagline: "Timed captions from speech in 30 languages (auto-detect) · 4 GB GPU",badges: ["new", "top"],routes: [comfy("transcribe", "captions-qwen3-asr", "Qwen3-ASR 0.6B + ForcedAligner; one cue per line")],// "tl" is the node's second code for Filipino.@@ -1770,7 +1770,7 @@ const open: ModelDef[] = [vendor: "OpenAI × yuvraj108c",family: "whisper",kind: "video",- tagline: "Transcribes and burns word-by-word captions in one job, short clips (whole clip in RAM) · 6 GB GPU · non-commercial node pack (CC BY-NC-SA)",+ tagline: "Transcribes and burns word-by-word captions in one job, short clips (whole clip in RAM) · 6 GB GPU",routes: [comfy("captions", "captions-whisper-burnin", "Whisper large-v3-turbo + ComfyUI-Whisper (CC-BY-NC-SA code)")],options: { sliders: [{ param: "fontSize", label: "Text size (px)", min: 30, max: 160, step: 5, default: 90 }], sourceLanguages: Object.keys(WHISPER_LANGUAGES) },}),@@ -1780,7 +1780,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen",family: "qwen-llm",kind: "text",- tagline: "Translates text or timed caption lines, timings kept · 10 GB GPU · Apache-2.0",+ tagline: "Translates text or timed caption lines, timings kept · 10 GB GPU",routes: [comfy("translate", "translate-qwen35-textgen")],options: { seed: true },hidden: true,@@ -1791,7 +1791,7 @@ const open: ModelDef[] = [vendor: "Google",family: "gemma",kind: "text",- tagline: "Speech straight to translated text, no timings (voice-over dubs) · 12 GB GPU · Apache-2.0",+ tagline: "Speech straight to translated text, no timings (voice-over dubs) · 12 GB GPU",routes: [comfy("translate", "speech-translate-gemma4")],options: { seed: true },hidden: true,@@ -1803,7 +1803,7 @@ const open: ModelDef[] = [vendor: "Google",family: "gemma",kind: "text",- tagline: "Watches a reference clip and writes up its style · 12 GB GPU · Apache-2.0",+ tagline: "Watches a reference clip and writes up its style · 12 GB GPU",routes: [comfy("write", "reference-brief-gemma4", "first 30 s at 24 fps (every 24th frame read, 384 px wide) with the soundtrack; startTime skips ahead")],options: { seed: true, promptless: true },hidden: true,@@ -1814,7 +1814,7 @@ const open: ModelDef[] = [vendor: "MeiGen",family: "infinitetalk",kind: "video",- tagline: "Re-syncs the lips (and head) of real footage to a new voice, up to 40 s per job; camera and background stay · 24 GB GPU · Apache-2.0",+ tagline: "Re-syncs the lips (and head) of real footage to a new voice, up to 40 s per job; camera and background stay · 24 GB GPU",badges: ["new"],routes: [comfy("lipsync", "lipsync-v2v-infinitetalk", "video-to-video, 4 steps from step 2; keeps the source's shape")],options: { aspectRatios: ["auto", ...VID_AR], resolutions: ["480p", "720p"], seed: true, negativePrompt: true },@@ -1826,7 +1826,7 @@ const open: ModelDef[] = [vendor: "ByteDance",family: "latentsync",kind: "video",- tagline: "Re-syncs only the mouth of real footage to a new voice; face, camera and background untouched · 20 GB GPU · OpenRAIL++",+ tagline: "Re-syncs only the mouth of real footage to a new voice; face, camera and background untouched · 20 GB GPU",routes: [comfy("lipsync", "lipsync-latentsync16", "isolated worker (scripts/comfy/README.md)")],options: {seed: true,@@ -1924,7 +1924,7 @@ const open: ModelDef[] = [vendor: "Microsoft",family: "trellis",kind: "model3d",- tagline: "A textured 3D model (.glb) from one product photo, plus a turntable video; the fallback to Pixal3D · 16 GB GPU · MIT",+ tagline: "A textured 3D model (.glb) from one product photo, plus a turntable video; the fallback to Pixal3D · 16 GB GPU",badges: ["new"],routes: [comfy("image-to-3d", "image-to-3d-trellis2", "~250k triangles; web GLB + turntable made after the job")],options: { seed: true },@@ -1935,7 +1935,7 @@ const open: ModelDef[] = [vendor: "Tencent",family: "hunyuan",kind: "model3d",- tagline: "Untextured 3D shape from a photo · 10 GB GPU · licence excludes the EU, UK and South Korea",+ tagline: "Untextured 3D shape from a photo · 10 GB GPU",routes: [comfy("image-to-3d", "image-to-3d-hunyuan3d-21")],options: { seed: true },}),@@ -1946,7 +1946,7 @@ const open: ModelDef[] = [vendor: "Tencent ARC × Microsoft",family: "trellis",kind: "model3d",- tagline: "One textured 3D model (.glb) from photos of 2–4 sides of an object, plus a turntable video · 16 GB GPU · MIT",+ tagline: "One textured 3D model (.glb) from photos of 2–4 sides of an object, plus a turntable video · 16 GB GPU",badges: ["new"],// params.extra.views names each photo's side ("front", "left", "back", "right"); the front is needed.routes: [comfy("image-to-3d", "image-to-3d-trellis2-multiview", "Pixal3D multi-view on TRELLIS.2; the front, then any of left, back and right")],@@ -1958,7 +1958,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen × Microsoft",family: "trellis",kind: "model3d",- tagline: "Describe one object and get a textured 3D model with a turntable · 20 GB GPU · non-commercial weights + MIT",+ tagline: "Describe one object and get a textured 3D model with a turntable · 20 GB GPU",badges: ["new"],// Built on the server as two steps: a Qwen-Image 2.1 still, then image-to-3d-trellis2 on it (src/server/chains.ts).routes: [{ op: "text-to-3d", provider: "comfyui", endpoint: "image-to-3d-trellis2", chained: true, note: "a Qwen-Image 2.1 still → TRELLIS.2" }],@@ -1970,7 +1970,7 @@ const open: ModelDef[] = [vendor: "Tripo (VAST)",family: "tripo",kind: "model3d",- tagline: "A soft, photoreal 3D capture of the subject in one photo, plus an orbit video · 8 GB GPU · MIT · Built with DINOv3",+ tagline: "A soft, photoreal 3D capture of the subject in one photo, plus an orbit video · 8 GB GPU",badges: ["new"],routes: [comfy("splat", "image-to-splat-triposplat", "BiRefNet cut-out → TripoSplat → .spz + a 3 s orbit")],options: {@@ -1987,7 +1987,7 @@ const open: ModelDef[] = [vendor: "Tripo (VAST)",family: "tripo",kind: "model3d",- tagline: "A 3D view of the photo's subject for picking camera angles · 8 GB GPU · MIT · Built with DINOv3",+ tagline: "A 3D view of the photo's subject for picking camera angles · 8 GB GPU",routes: [comfy("splat", ANY_ANGLE.buildGraph, "BiRefNet cut-out → TripoSplat (seed 46) → .spz, a 48-frame turntable, its sweep and a GLB")],options: { maxImages: 1, promptless: true },hidden: true,@@ -2000,7 +2000,7 @@ const open: ModelDef[] = [vendor: "Qwen (Alibaba) · lilylilith",family: "qwen-image",kind: "image",- tagline: "The same photo from a camera you pick: a 3D view rendered there and repainted · Qwen-Image 2.1 + AnyAngle LoRA · 32 GB GPU · non-commercial weights",+ tagline: "The same photo from a camera you pick: a 3D view rendered there and repainted · Qwen-Image 2.1 + AnyAngle LoRA · 32 GB GPU",routes: [comfy("edit", ANY_ANGLE.shotGraph, "the saved 3D view rendered at the camera → Qwen-Image 2.1 int8 + AnyAngle LoRA, 25 steps, cfg 1")],options: { maxImages: 1, seed: true, promptless: true, ...(ANY_ANGLE_LORA && { loras: [ANY_ANGLE_LORA] }) },hidden: true,@@ -2013,7 +2013,7 @@ const open: ModelDef[] = [vendor: "Microsoft",family: "moge",kind: "model3d",- tagline: "The whole photo as a textured 3D mesh to fly a camera through, plus its depth map · runs on a CPU too (a minute or two) · MIT",+ tagline: "The whole photo as a textured 3D mesh to fly a camera through, plus its depth map · runs on a CPU too (a minute or two)",badges: ["new"],routes: [comfy("scene-3d", "scene-mesh-moge", "MoGe 2 point map → textured GLB of the whole frame + a depth PNG")],options: {@@ -2031,7 +2031,7 @@ const open: ModelDef[] = [vendor: "Alibaba (Wan, DAMO Uni3C)",family: "wan",kind: "video",- tagline: "A still filmed along the camera path you fly in the 3D scene · 5 s · ~48 GB GPU · Apache-2.0",+ tagline: "A still filmed along the camera path you fly in the 3D scene · 5 s · ~48 GB GPU",badges: ["new"],hidden: true,routes: [comfy("camera-path", "wan21-i2v-uni3c-path", "your browser's render of the path guides Wan 2.1 I2V 720P through core Uni3C")],@@ -2050,7 +2050,7 @@ const open: ModelDef[] = [vendor: "Black Forest Labs × xocialize",family: "flux",kind: "image",- tagline: "Dresses the person in image 1 in the garment in image 2 (a top, dress or outfit) and an optional bottom in image 3 · 10 GB GPU · Apache-2.0",+ tagline: "Dresses the person in image 1 in the garment in image 2 (a top, dress or outfit) and an optional bottom in image 3 · 10 GB GPU",badges: ["new", "fast"],routes: [comfy("edit", "tryon-flux2-klein-4b", "try-on LoRA; old outfit masked out first")],// The graph loads the try-on LoRA itself; carrying it here lets Settings → Models & licences switch it off (as Fuobe Try-On's).@@ -2063,7 +2063,7 @@ const open: ModelDef[] = [vendor: "Alibaba Qwen × dx8152",family: "qwen-image",kind: "image",- tagline: "Cuts your product out and relights it into the scene you describe (White_to_Scene LoRA, 4 steps) · 24 GB GPU · Apache-2.0",+ tagline: "Cuts your product out and relights it into the scene you describe (White_to_Scene LoRA, 4 steps) · 24 GB GPU",badges: ["new"],routes: [comfy("edit", "product-shot-qwen-edit-2509", "BiRefNet cut-out on white → Qwen-Image-Edit 2509 + White_to_Scene LoRA")],options: { seed: true, negativePrompt: true, maxImages: 1, requires: { prompt: true, msg: "Describe the scene to put the product in, e.g. “on a marble counter, morning light”" } },@@ -2075,7 +2075,7 @@ const open: ModelDef[] = [vendor: "Alibaba Tongyi",family: "z-image",kind: "image",- tagline: "One prompt, a whole contact sheet (2×2 to 4×4) that shares one look, cut into tiles · 14 GB GPU · Apache-2.0",+ tagline: "One prompt, a whole contact sheet (2×2 to 4×4) that shares one look, cut into tiles · 14 GB GPU",routes: [comfy("t2i", "grid-zimage-contact-sheet", "outputs: the sheet, then the tiles")],options: {aspectRatios: ["16:9", "1:1", "9:16"],@@ -2095,7 +2095,7 @@ const open: ModelDef[] = [vendor: "Alibaba Tongyi",family: "z-image",kind: "image",- tagline: "A cast member as a turnaround sheet (front, three-quarter, profile, back) plus the four views · 14 GB GPU · Apache-2.0",+ tagline: "A cast member as a turnaround sheet (front, three-quarter, profile, back) plus the four views · 14 GB GPU",routes: [comfy("t2i", "soul-cast-sheet-zimage", "outputs: the sheet, then the four views")],options: { seed: true },defaults: {},diff --git a/src/lib/catalog/remove-object.ts b/src/lib/catalog/remove-object.tsindex 1be277f0..ebe6e0d5 100644--- a/src/lib/catalog/remove-object.ts+++ b/src/lib/catalog/remove-object.ts@@ -174,7 +174,7 @@ export const ERASERS: Eraser[] = [engine: "open",modes: ["type"],label: "Wan 2.1 VACE + SAM 3.1",- note: "Only the object's area changes · 24 GB GPU · Apache-2.0",+ note: "Only the object's area changes · 24 GB GPU",window: VACE_WINDOW,keepsSound: true,},@@ -183,7 +183,7 @@ export const ERASERS: Eraser[] = [engine: "open",modes: ["paint"],label: "Wan 2.1 VACE + SAM 3.1",- note: "SAM 3.1 follows what you painted · 24 GB GPU · Apache-2.0",+ note: "SAM 3.1 follows what you painted · 24 GB GPU",window: VACE_PAINTED_WINDOW,keepsSound: true,},@@ -192,7 +192,7 @@ export const ERASERS: Eraser[] = [engine: "open",modes: ["type"],label: "H3 Person Removal",- note: "People only: a clean first frame first, then MiniMax H3 with Akatz Labs' Person Remover LoRA rebuilds what was behind them · 24 GB GPU with offloading · MiniMax H3 Community License",+ note: "People only: a clean first frame first, then MiniMax H3 with Akatz Labs' Person Remover LoRA rebuilds what was behind them · 24 GB GPU with offloading",keepsSound: false,cleanFrame: true,},@@ -201,7 +201,7 @@ export const ERASERS: Eraser[] = [engine: "open",modes: ["type"],label: "VOID",- note: "Also removes shadows and reflections · 24–40 GB GPU · CogVideoX License: commercial use needs registration",+ note: "Also removes shadows and reflections · 24–40 GB GPU",window: VOID_WINDOW,keepsSound: true,effects: true,diff --git a/src/lib/catalog/training.ts b/src/lib/catalog/training.tsindex 9cf6910e..347adb0d 100644--- a/src/lib/catalog/training.ts+++ b/src/lib/catalog/training.ts@@ -433,7 +433,7 @@ export const TRAINING_TARGETS: TrainingTarget[] = [family: "flux3-klein",kinds: ["subject", "style"],steps: 2000,- description: `AI-Toolkit on your own GPU (24 GB; Klein Base in 8-bit), its flux3 trainer. Needs a Hugging Face token with the FLUX Kommunity licence accepted, which is not blanket permission for commercial fine-tuning. ${LOCAL}`,+ description: `AI-Toolkit on your own GPU (24 GB; Klein Base in 8-bit), its flux3 trainer. Needs a Hugging Face token with the FLUX Kommunity licence accepted. ${LOCAL}`,eta: "~1–2 h on a 24 GB GPU",}),target({@@ -446,7 +446,7 @@ export const TRAINING_TARGETS: TrainingTarget[] = [trainer: "blackforestlabs/flux-3/klein/base/trainer",steps: 1000,extra: { resolution: 1024 },- description: `BFL's FLUX 3 Klein trainer on fal, on Klein Base at 1024 px. The FLUX Kommunity licence is not blanket permission for commercial fine-tuning. ${TO_FAL}`,+ description: `BFL's FLUX 3 Klein trainer on fal, on Klein Base at 1024 px. ${TO_FAL}`,eta: "~15–30 min",}),];diff --git a/src/lib/lora-licences.ts b/src/lib/lora-licences.tsnew file mode 100644index 00000000..e817547c--- /dev/null+++ b/src/lib/lora-licences.ts@@ -0,0 +1,65 @@+/**+ * Every LoRA a run can load, with its licence as information: the library's, the preset LoRA map's files that aren't+ * library files (the round-1 Wan LoRAs camera motions and effects load), the Character swap's and Open-H3 Regenerate's.+ * Settings → Models & licences lists them with a switch each (src/server/model-access.ts) and Thanks & licences lists+ * them for everyone (src/lib/thanks.ts). Pure data, no I/O.+ */+import { getPreset } from "./catalog";+import { CHARACTER_LORAS, MINIMAX_H3_LICENCE } from "./catalog/character-swap";+import { LORA_LIBRARY, MOTION_EFFECT_LORAS } from "./catalog/lora-library.generated";+import { libraryEntry } from "./catalog/loras";+import { OSS_LORAS, type OssLora } from "./catalog/oss-loras.generated";+import { REGEN_FILES, REGEN_LORA } from "./catalog/regenerate";+import { loraLicenceInfo, modelCardOf, type LicenceInfo } from "./licences";+import type { LoraInfo } from "./model-access";++/** Open-H3 Regenerate's merged LoRA: MiniMax H3's terms (restricted regions), with what its merged parts carry. */+export function regenLoraLicence(): LicenceInfo {+ const { name, class: cls, url, excludes, notices } = MINIMAX_H3_LICENCE;+ return { name, class: cls, url: modelCardOf(REGEN_LORA.url) ?? url, note: REGEN_FILES[0].note, ...(excludes && { excludes }), ...(notices?.length && { notices }) };+}++/** A Character swap LoRA's licence as the list shows it (its own recorded terms, its pinned model card). */+export function characterLoraLicence(l: (typeof CHARACTER_LORAS)[number]): LicenceInfo {+ const { name, class: cls, url, excludes, notices, note } = l.licence;+ return { name, class: cls, url: modelCardOf(l.url) ?? url, note, ...(excludes && { excludes }), ...(notices?.length && { notices }) };+}++/** The presets a map key names: a map v2 preset id, or a round-1 slug (the motion, effect or app it matches). */+const presetsOf = (key: string) => (getPreset(key) ? [getPreset(key)!] : ["motion", "effect", "app"].flatMap((k) => getPreset(`${k}-${key}`) ?? []));++/** A map LoRA's name as its download names it: the Hugging Face repo ("Remade-AI/Crane_up" → "Crane up"), else its file. */+function mapLoraName(l: OssLora): string {+ const repo = l.url && /^https:\/\/huggingface\.co\/[^/]+\/([^/]+)\//.exec(l.url)?.[1];+ return (repo || l.file.replace(/\.safetensors$/i, "")).replace(/[_-]+/g, " ").trim();+}++/** Every LoRA with its licence; `off` lists the files switched off in Settings (everything is on without it). */+export function loraLicenceRows(off: readonly string[] = []): LoraInfo[] {+ const on = (file: string) => !off.includes(file);+ const rows: LoraInfo[] = LORA_LIBRARY.map((e) => {+ const row = MOTION_EFFECT_LORAS.find((r) => r.loras.includes(e.key));+ const hold = row?.status === "licence-hold" ? "The research holds this licence: its Hugging Face and civitai pages disagree" : undefined;+ return { file: e.file, name: e.name, group: e.group, base: e.base, licence: loraLicenceInfo(e.licence, e.page, hold), on: on(e.file) };+ });+ const map = new Map<string, { ref: OssLora; keys: string[] }>();+ for (const [key, refs] of Object.entries(OSS_LORAS)) {+ for (const ref of refs) {+ if (libraryEntry(ref)) continue;+ const hit = map.get(ref.file);+ if (hit) hit.keys.push(key);+ else map.set(ref.file, { ref, keys: [key] });+ }+ }+ for (const [file, { ref, keys }] of map) {+ const presets = [...new Map(keys.flatMap(presetsOf).map((p) => [p.id, p])).values()];+ const motion = presets.length ? presets.every((p) => p.id.startsWith("motion-")) : keys.every((k) => k.startsWith("motion-"));+ const used = presets.length ? `In the preset LoRA map: ${presets.map((p) => p.name).join(", ")}` : "In the preset LoRA map";+ rows.push({ file, name: mapLoraName(ref), group: motion ? "motion" : "effect", base: ref.base, licence: loraLicenceInfo(ref.licence, modelCardOf(ref.url), used), on: on(file) });+ }+ // The LoRAs the Character swap's graphs load (and fal's route takes): Akatz Labs' swap LoRA and lightx2v's Turbo.+ for (const l of CHARACTER_LORAS) rows.push({ file: l.file, name: l.name, group: "adapter", base: "MiniMax H3", licence: characterLoraLicence(l), on: on(l.file) });+ // The refiner LoRA Open-H3 Regenerate's graph loads (and a run downloads).+ rows.push({ file: REGEN_LORA.file, name: REGEN_FILES[0].item, group: "adapter", base: "MiniMax H3", licence: regenLoraLicence(), on: on(REGEN_LORA.file) });+ return rows;+}diff --git a/src/lib/model-access.ts b/src/lib/model-access.tsindex b03e48d0..f0280e23 100644--- a/src/lib/model-access.ts+++ b/src/lib/model-access.ts@@ -26,7 +26,7 @@ export interface ModelAccess {loras: string[];/*** LoRAs whose licence allows your GPU only (civitai without "Rent") stay off fal and Replicate. Off by- * default: they are sent like any other LoRA, and the run's notes say what the licence says.+ * default: they are sent like any other LoRA (Thanks & licences says what each licence allows).*/keepGpuOnlyLoras: boolean;}diff --git a/src/lib/thanks.ts b/src/lib/thanks.tsnew file mode 100644index 00000000..dab9a718--- /dev/null+++ b/src/lib/thanks.ts@@ -0,0 +1,325 @@+/**+ * Settings → About → Thanks & licences: every open model, LoRA, ComfyUI node pack and library Fuobe uses, with who made+ * it, what Fuobe uses it for, its licence and any condition in plain words. Built from the same data as CREDITS.md+ * (src/lib/licences.ts, the catalog, the ComfyUI manifest) and the LoRA list (src/lib/lora-licences.ts), so it never+ * drifts from them. Pure: the page reads the manifest and the packages and passes them in.+ *+ * Some licences ask the app to name them ("Built with DINOv3", MiniMax H3's "MiniMax H3"): those rows carry `credits`,+ * and the page names each one at the top, which is where Fuobe meets that condition.+ */+import {+ ATTRIBUTIONS,+ buildLicenceList,+ kindLabel,+ licenceInfo,+ modelCardOf,+ NODE_PACKS,+ OPENMDW_NOTICE,+ type LicenceClass,+ type LicenceInfo,+ type LicenceModelInput,+ type LicenceWorkflowInput,+} from "./licences";+import { CHARACTER_LICENCES } from "./catalog/character-swap";+import type { LoraInfo } from "./model-access";++export type ThanksGroupId = "image" | "video" | "audio" | "3d" | "text" | "loras" | "packs" | "code";++export interface ThanksLicence {+ name: string;+ url?: string;+}++export interface ThanksRow {+ /** Unique on the page (a model id, a LoRA file, a pack or package name). */+ id: string;+ name: string;+ /** Who made it, when the data says. */+ maker?: string;+ /** Its own page (a model card, a repository), when the data has one. */+ url?: string;+ /** What Fuobe uses it for, in plain words. */+ use: string;+ licences: ThanksLicence[];+ /** The condition its licence sets, in plain words ("Non-commercial use only"); none for an open licence. */+ condition?: string;+ /** Names its licence asks the app to show ("Built with DINOv3"): this page shows them. */+ credits?: string[];+}++export interface ThanksGroup {+ id: ThanksGroupId;+ title: string;+ rows: ThanksRow[];+}++export interface Thanks {+ /** Each name a licence asks Fuobe to show, with what carries it. */+ credits: { text: string; names: string[] }[];+ groups: ThanksGroup[];+}++/** A package the app ships with (package.json's dependencies), as its own package.json describes it. */+export interface ThanksPackage {+ name: string;+ description?: string;+ license?: string;+ author?: string;+ url?: string;+}++/** A catalog model as the list needs it: the licence list's fields and its tagline. */+export type ThanksModelInput = LicenceModelInput & { tagline?: string };++/** A workflow as the list needs it: the licence list's fields and the node packs it loads. */+export type ThanksWorkflowInput = LicenceWorkflowInput & { packs?: string[] };++export interface ThanksInput {+ models: ThanksModelInput[];+ workflows: ThanksWorkflowInput[];+ loras: LoraInfo[];+ packages: ThanksPackage[];+ /** Names cloud models' results carry (src/lib/av/model3d.ts CLOUD_NOTICES), by model id. */+ cloudCredits?: Record<string, string[]>;+}++export const GROUP_TITLE: Record<ThanksGroupId, string> = {+ image: "Image models",+ video: "Video models",+ audio: "Audio",+ "3d": "3D",+ text: "Text",+ loras: "LoRAs",+ packs: "ComfyUI node packs",+ code: "Code and libraries",+};++const GROUP_ORDER: ThanksGroupId[] = ["image", "video", "audio", "3d", "text", "loras", "packs", "code"];++const FUOBE_REPO = "https://github.com/workingprototype/Fuobe";+const COMFYUI_REPO = "https://github.com/comfyanonymous/ComfyUI";+const SPDX = (id: string) => `https://spdx.org/licenses/${id}.html`;++/** A model's kind, or a library workflow's capability, as a group. */+export function groupOf(kind: string): ThanksGroupId {+ if (kind === "image" || kind === "video" || kind === "audio" || kind === "text") return kind;+ if (/3d|splat|mesh/i.test(kind)) return "3d";+ if (/video|v2v|i2v|t2v|flf2v|interpolat|vfx|lipsync|lip-sync|animate/i.test(kind)) return "video";+ if (/audio|music|tts|voice|speech|sfx|v2a|asr|separat|foley|sound|dub/i.test(kind)) return "audio";+ if (/caption|ocr|transcri|translat|describe|prompt|llm/i.test(kind)) return "text";+ return "image";+}++/** The owner of a Hugging Face, GitHub or civitai page ("Shakker-Labs"), when the URL names one. */+export function ownerOf(url: string | undefined): string | undefined {+ const m = url && /^https:\/\/(?:huggingface\.co|github\.com)\/([^/]+)\/[^/]+/.exec(url);+ return m ? m[1] : undefined;+}++/** The first clause of a sentence (a tagline's "· 20 GB GPU" or a note's "; GPL-3.0 code" left out). */+const firstClause = (s: string) => s.split(/ · |; |: |\. /)[0].replace(/\.$/, "").trim();++/** "A, B and C", or the first three "and N more". */+function names(list: string[]): string {+ if (list.length > 3) return `${list.slice(0, 3).join(", ")} and ${list.length - 3} more`;+ return list.length > 1 ? `${list.slice(0, -1).join(", ")} and ${list.at(-1)}` : (list[0] ?? "");+}++/** A licence class as a condition in plain words; none for one that lets you sell what you make. */+function classCondition(info: Pick<LicenceInfo, "class" | "excludes" | "note">): string | undefined {+ switch (info.class) {+ case "commercial":+ case "paid-api":+ return undefined;+ case "conditions":+ return /^Commercial use on your GPU\b/.test(info.note) ? "Commercial use on your own GPU only" : "Commercial use with conditions";+ case "regions":+ return info.excludes ? `Not licensed in ${info.excludes}` : "Not licensed everywhere";+ case "non-commercial":+ return "Non-commercial use only";+ case "research":+ return "Research use only";+ case "unknown":+ return "No licence stated: see its page";+ }+}++const CLASS_OF_FLAG = { "non-commercial": "non-commercial", territory: "regions", conditions: "conditions" } as const satisfies Record<string, LicenceClass>;++const LORA_USE: Record<string, string> = { look: "A look", motion: "A camera move", effect: "An effect", adapter: "Part of a Fuobe recipe" };++/** A LoRA's base model in words ("wan2.2-i2v-a14b" → "Wan 2.2"). */+export function baseLabel(base: string): string {+ const b = base.toLowerCase();+ const known: [RegExp, string][] = [+ [/^z-image/, "Z-Image"],+ [/^wan-?2\.2/, "Wan 2.2"],+ [/^wan-?2\.1/, "Wan 2.1"],+ [/^ltx-?2\.5/, "LTX-2.5"],+ [/^ltx-?2\.3/, "LTX-2.3"],+ [/^ltx/, "LTX"],+ [/^qwen-image-2\.1|^qwen21/, "Qwen-Image 2.1"],+ [/^qwen/, "Qwen-Image"],+ [/^flux-?2|^flux\.2/, "FLUX.2"],+ [/^flux-?3|^flux\.3/, "FLUX 3"],+ [/^flux/, "FLUX.1"],+ [/^krea/, "Krea 2"],+ [/^sdxl/, "SDXL"],+ [/^hunyuan/, "HunyuanVideo"],+ ];+ return known.find(([re]) => re.test(b))?.[1] ?? base;+}++/** A licence's name as a visitor reads it: one nobody recorded is "Not stated". */+export const shownName = (name: string): string => (name === "Not recorded" ? "Not stated" : name);++/** Package licences by SPDX id get a link to their text; anything else is shown as written. */+const spdxLink = (id: string | undefined): string | undefined => (id && /^[A-Za-z0-9.+-]+$/.test(id) && !/^SEE/i.test(id) ? SPDX(id) : undefined);++/** The licences of a model row, by name (deduplicated), each with where to read it. */+function rowLicences(texts: string[], links: (string | null)[]): ThanksLicence[] {+ const out = new Map<string, ThanksLicence>();+ texts.forEach((t, i) => {+ const name = shownName(licenceInfo(t).name);+ if (!out.has(name)) out.set(name, { name, ...(links[i] && { url: links[i]! }) });+ });+ return [...out.values()];+}++export function buildThanks(input: ThanksInput): Thanks {+ const groups = new Map<ThanksGroupId, ThanksRow[]>(GROUP_ORDER.map((g) => [g, []]));+ const credits = new Map<string, string[]>();+ const credit = (text: string, name: string) => {+ const names = credits.get(text) ?? [];+ if (!names.includes(name)) names.push(name);+ credits.set(text, names);+ };++ // Open models: one row per set of open weights, as CREDITS.md lists them.+ const list = buildLicenceList(input.models, input.workflows);+ const model = new Map(input.models.map((m) => [m.id, m]));+ const workflow = new Map(input.workflows.map((w) => [w.id, w]));+ for (const r of list.rows) {+ const m = model.get(r.id);+ const wf = workflow.get(r.workflows[0]);+ const own = r.notices.filter((n) => n !== OPENMDW_NOTICE);+ const conditions = [+ ...r.flags.map((f) => classCondition({ class: CLASS_OF_FLAG[f], excludes: r.excludes, note: "" })),+ r.notices.includes(OPENMDW_NOTICE) ? OPENMDW_NOTICE : undefined,+ ].filter(Boolean);+ own.forEach((n) => credit(n, r.name));+ const card = wf?.models?.map((x) => modelCardOf(x.url)).find(Boolean);+ groups.get(groupOf(r.kind))!.push({+ id: `model:${r.id}`,+ name: r.name,+ maker: r.inCatalog ? r.by : ownerOf(card),+ ...(card && { url: card }),+ use: m?.tagline ? firstClause(m.tagline) : `A ready-made ComfyUI workflow: ${kindLabel(r.kind).toLowerCase()}`,+ licences: rowLicences(r.licences, r.links),+ ...(conditions.length && { condition: conditions.join(". ") }),+ ...(own.length && { credits: own }),+ });+ }+ // Cloud models whose results carry a name too (TRELLIS.2 and TripoSplat on fal encode with DINOv3).+ for (const [id, texts] of Object.entries(input.cloudCredits ?? {})) {+ const m = model.get(id);+ if (m) texts.forEach((n) => credit(n, m.name));+ }++ // LoRAs: the library's, the preset map's, the Character swap's and Open-H3 Regenerate's.+ for (const l of input.loras) {+ const own = l.licence.notices ?? [];+ own.forEach((n) => credit(n, l.name));+ const condition = classCondition(l.licence);+ groups.get("loras")!.push({+ id: `lora:${l.file}`,+ name: l.name,+ maker: ownerOf(l.licence.url),+ ...(l.licence.url && { url: l.licence.url }),+ use: `${LORA_USE[l.group] ?? "A LoRA"} for ${baseLabel(l.base)}`,+ licences: [{ name: shownName(l.licence.name), ...(l.licence.url && { url: l.licence.url }) }],+ ...(condition && { condition }),+ ...(own.length && { credits: own }),+ });+ }++ // ComfyUI node packs: what their note says they do, else the tools that load them.+ const users = new Map<string, string[]>();+ for (const r of list.rows) {+ for (const id of r.workflows) for (const pack of workflow.get(id)?.packs ?? []) users.set(pack, [...new Set([...(users.get(pack) ?? []), r.name])]);+ }+ for (const p of NODE_PACKS) {+ const condition = classCondition(p.licence);+ const said = firstClause(p.licence.note);+ const loads = names(users.get(p.name) ?? []);+ groups.get("packs")!.push({+ id: `pack:${p.name}`,+ name: p.name,+ maker: ownerOf(p.repo),+ url: p.repo,+ use: !/licen[cs]e|Apache|\bMIT\b|GPL|repository/i.test(said) && said.split(" ").length > 3 ? said : loads ? `Nodes for ${loads}` : "Nodes for ComfyUI",+ licences: [{ name: shownName(p.licence.name), ...(p.licence.url && p.licence.url !== p.repo ? { url: p.licence.url } : {}) }],+ ...(condition && { condition }),+ });+ }++ // Code: Fuobe itself, ComfyUI, the code and data its tools credit, and the packages the app ships with.+ const code = groups.get("code")!;+ code.push({ id: "code:fuobe", name: "Fuobe", url: FUOBE_REPO, use: "This app, open source", licences: [{ name: "MIT", url: `${FUOBE_REPO}/blob/main/LICENSE` }] });+ code.push({ id: "code:comfyui", name: "ComfyUI", maker: "Comfy Org", url: COMFYUI_REPO, use: "Runs the open models on your GPU", licences: [{ name: "GPL-3.0", url: SPDX("GPL-3.0-only") }] });+ // The Character swap's workflow (its models, LoRAs and node packs are listed above).+ for (const l of CHARACTER_LICENCES.filter((x) => /workflow/i.test(x.item))) {+ code.push({ id: `code:${l.item}`, name: l.item, maker: ownerOf(l.url), url: l.url, use: "The Character swap's ComfyUI graph", licences: [{ name: l.name, url: l.url }] });+ }+ ATTRIBUTIONS.forEach((a, i) => {+ const by = /copyright \(c\) \d{4} (.+)$/i.exec(a.text)?.[1] ?? /\bby (.+)$/.exec(a.text)?.[1];+ const name = a.text.replace(/, copyright \(c\).*$/i, "").replace(/ by .+$/, "");+ const url = licenceInfo(a.licence).url ?? spdxLink(a.licence);+ code.push({+ id: `credit:${i}`,+ name,+ ...(by && { maker: by }),+ ...(a.url && { url: a.url }),+ use: a.for,+ licences: [{ name: a.licence, ...(url && /spdx\.org|huggingface\.co/.test(url) ? { url } : {}) }],+ ...(a.note && /own licen[cs]es/.test(a.note) && { condition: a.note.replace(/\.$/, "") }),+ });+ });+ for (const p of [...input.packages].sort((a, b) => a.name.localeCompare(b.name))) {+ const url = spdxLink(p.license);+ code.push({+ id: `package:${p.name}`,+ name: p.name,+ ...(p.author && { maker: p.author }),+ url: p.url ?? `https://www.npmjs.com/package/${p.name}`,+ use: p.description ? firstClause(p.description) : "Part of the app",+ licences: [{ name: p.license || "See its page", ...(url && { url }) }],+ });+ }++ return {+ credits: [...credits].map(([text, names]) => ({ text, names })),+ groups: GROUP_ORDER.map((id) => ({ id, title: GROUP_TITLE[id], rows: groups.get(id)! })).filter((g) => g.rows.length),+ };+}++/** What the search box matches a row on: everything the row shows, in lower case. */+export function searchText(r: ThanksRow): string {+ return [r.name, r.maker, r.use, ...r.licences.map((l) => l.name), r.condition, ...(r.credits ?? [])].filter(Boolean).join(" ").toLowerCase();+}++/** A package.json's author or repository as a maker and a page ("Colin McDonnell <…>" → "Colin McDonnell"). */+export function packageFacts(pkg: { name?: string; description?: string; license?: unknown; author?: unknown; repository?: unknown; homepage?: unknown }): Omit<ThanksPackage, "name"> {+ const author = typeof pkg.author === "string" ? pkg.author : (pkg.author as { name?: string } | undefined)?.name;+ const repo = typeof pkg.repository === "string" ? pkg.repository : (pkg.repository as { url?: string } | undefined)?.url;+ const github = repo && /github\.com[/:]([^/]+)\/([^/#.]+)/.exec(repo);+ const shorthand = repo && /^([\w.-]+)\/([\w.-]+)$/.exec(repo);+ const url = github ? `https://github.com/${github[1]}/${github[2]}` : shorthand ? `https://github.com/${shorthand[1]}/${shorthand[2]}` : typeof pkg.homepage === "string" ? pkg.homepage : undefined;+ const maker = author?.replace(/\s*[<(].*$/, "").trim() || (github?.[1] ?? shorthand?.[1]);+ return {+ ...(pkg.description && { description: pkg.description }),+ ...(typeof pkg.license === "string" && { license: pkg.license }),+ ...(maker && { author: maker }),+ ...(url && { url }),+ };+}diff --git a/src/server/evolution.ts b/src/server/evolution.tsindex 4d00dae1..2f9f6576 100644--- a/src/server/evolution.ts+++ b/src/server/evolution.ts@@ -186,7 +186,7 @@ function planInput(body: z.infer<typeof EvolutionBodySchema>, info: Awaited<Retuconst k = Math.min(n, EVOLUTION.openReferences);notes.push(`Each ≤5 s segment: Qwen-Image 2.1 Turbo takes its first frame toward the direction${n ? ` with your first ${k === 1 ? "reference" : `${k} references`}` : ""}, then Wan 2.2 Fun VACE re-renders it from itself at 16 fps`);if (n > EVOLUTION.openReferences) notes.push(`The other ${n - EVOLUTION.openReferences} reference${n - EVOLUTION.openReferences > 1 ? "s" : ""} shape the direction only`);- notes.push("Needs a 24 GB GPU · Wan 2.2 Fun VACE is Apache-2.0; Qwen-Image 2.1's weights are non-commercial");+ notes.push("Needs a 24 GB GPU");} else {const k = Math.min(n, EVOLUTION.cloudReferences);notes.push(`${name} runs the GPU's model hosted on fal: each ≤10 s piece's first frame is taken toward the direction by Qwen-Image-Edit 2511${n ? ` with your first ${k === 1 ? "reference" : `${k} references`}` : ""}, then Wan 2.2 Fun VACE re-renders the piece by its depth with that frame as its reference, in your clip's shape`);@@ -196,7 +196,6 @@ function planInput(body: z.infer<typeof EvolutionBodySchema>, info: Awaited<Retuconst fps = source.fps;if (fps && fps > SHORTS.original.billFps + 0.5) notes.push(`fal bills this clip's ${Math.round(fps)} fps as ${(fps / SHORTS.original.billFps).toFixed(1)}× its length (video seconds at ${SHORTS.original.billFps} fps)`);if (vaceDownsample(fps)) notes.push(`Wan 2.2 Fun VACE works this ${Math.round(fps!)} fps clip at ${Math.round(fps! / (vaceDownsample(fps) + 1))} fps and brings it back to its own rate`);- notes.push("Wan 2.2 Fun VACE and Qwen-Image-Edit 2511 are Apache-2.0 (information, Settings → Models & licences)");}if (source.hasAudio) notes.push("Your clip's own sound is put back on the result");const title = evolutionTitle(direction, body.source.name);diff --git a/src/server/genjutsu.ts b/src/server/genjutsu.tsindex 21fe38d5..0ff264b0 100644--- a/src/server/genjutsu.ts+++ b/src/server/genjutsu.ts@@ -10,7 +10,6 @@ import {CHARACTER_SWAP,characterFinish,h3Canvas,- characterLicenceLine,cutWarning,h3Windows,swapLoraRef,@@ -316,9 +315,8 @@ function notesFor(body: GenjutsuBody, m: Maker, source: RemoveSource, range: Remif (m.engine === "open" && !m.h3.maskSwitch && c.useMask === false) notes.push(`${name} always regenerates only the person: its graph has no switch for the whole frame`);const warn = cutWarning(cutsInPart(body.cuts, range));if (warn) notes.push(warn);- notes.push(characterLicenceLine(m.engine, m.id));} else if (body.mode === "character") {- notes.push(m.id === "h3-max-recast" ? characterLicenceLine(m.engine, m.id) : `${SOURCE_LABELS[m.source]}: ${m.note}`);+ notes.push(`${SOURCE_LABELS[m.source]}: ${m.note}`);const warn = m.id === "h3-max-recast" ? null : cutWarning(cutsInPart(body.cuts, range));if (warn) notes.push(warn);}@@ -347,8 +345,8 @@ function notesFor(body: GenjutsuBody, m: Maker, source: RemoveSource, range: Remif (m.id === "oss-vace-insert") notes.push("The spot stays where you painted it for the whole shot — best with a still or slow camera");if (m.people && body.mode === "swap") notes.push(`${name} swaps the person on camera — for objects, pick Fuobe Genjutsu or Kling O3`);if (m.engine === "open" && body.mode !== "character") {- if (m.modes.includes("motion")) notes.push("Wan Animate 2 needs a 24 GB GPU · Apache-2.0");- else if (m.window) notes.push(`Wan 2.1 VACE 14B needs a 24 GB GPU · Apache-2.0${body.mode === "swap" ? " (SAM 3.1: Meta's SAM License)" : ""}`);+ if (m.modes.includes("motion")) notes.push("Wan Animate 2 needs a 24 GB GPU");+ else if (m.window) notes.push("Wan 2.1 VACE 14B needs a 24 GB GPU");}if (!wholeClip(range, source.duration)) notes.push("Only the selected part comes out (the rest of the clip isn't kept)");return notes;diff --git a/src/server/model-access.ts b/src/server/model-access.tsindex 43f47ea2..7d9f9cc4 100644--- a/src/server/model-access.ts+++ b/src/server/model-access.ts@@ -1,11 +1,11 @@import "server-only";-import { getPreset, MODELS } from "@/lib/catalog";-import { CHARACTER_LORAS, characterLora, MINIMAX_H3_LICENCE } from "@/lib/catalog/character-swap";-import { REGEN_FILES, REGEN_LORA } from "@/lib/catalog/regenerate";+import { MODELS } from "@/lib/catalog";+import { characterLora } from "@/lib/catalog/character-swap";+import { REGEN_LORA } from "@/lib/catalog/regenerate";import { onEngine, providerEngine } from "@/lib/catalog/engines";-import { LORA_LIBRARY, MOTION_EFFECT_LORAS } from "@/lib/catalog/lora-library.generated";+import { LORA_LIBRARY } from "@/lib/catalog/lora-library.generated";import { libraryEntry, loraName } from "@/lib/catalog/loras";-import { OSS_LORAS, type OssLora } from "@/lib/catalog/oss-loras.generated";+import { OSS_LORAS } from "@/lib/catalog/oss-loras.generated";import type { Engine, LoraRef, ModelDef, ModelLicence, ModelRoute } from "@/lib/catalog/types";import type { ManifestWorkflow } from "@/lib/comfy";import {@@ -17,7 +17,6 @@ import {licenceInfo,loraLicenceInfo,mergeLicences,- modelCardOf,NODE_PACKS,paidApiLicence,PROVIDER_NAME,@@ -38,7 +37,6 @@ import {type AccessChange,type AccessList,type AccessSummary,- type LoraInfo,type ModelEntry,type FactsOf,type ModelAccess,@@ -46,6 +44,7 @@ import {import { db } from "./db";import { localModelInUse } from "./llm";import { loadManifest } from "./providers/comfyui";+import { characterLoraLicence, loraLicenceRows, regenLoraLicence } from "@/lib/lora-licences";/*** Settings → Models & licences on the server: the switches (one settings row, JSON), each route's licence and@@ -254,18 +253,6 @@ export function loraLicence(l: Pick<LoraRef, "file" | "url" | "licence">): Licenreturn loraLicenceInfo(l.licence ?? e?.licence, e?.page);}-/** Open-H3 Regenerate's merged LoRA: MiniMax H3's terms (restricted regions), with what its merged parts carry. */-function regenLoraLicence(): LicenceInfo {- const { name, class: cls, url, excludes, notices } = MINIMAX_H3_LICENCE;- return { name, class: cls, url: modelCardOf(REGEN_LORA.url) ?? url, note: REGEN_FILES[0].note, ...(excludes && { excludes }), ...(notices?.length && { notices }) };-}--/** A Character swap LoRA's licence as the list shows it (its own recorded terms, its pinned model card). */-function characterLoraLicence(l: (typeof CHARACTER_LORAS)[number]): LicenceInfo {- const { name, class: cls, url, excludes, notices, note } = l.licence;- return { name, class: cls, url: modelCardOf(l.url) ?? url, note, ...(excludes && { excludes }), ...(notices?.length && { notices }) };-}-/*** The LoRAs a run may load: one switched off, or whose licence class is, is left out (the plan's notes say* which switch). With "keep GPU-only LoRAs on your GPU" on, each LoRA is marked so a cloud route leaves the ones@@ -319,47 +306,6 @@ export function modelLicence(m: ModelDef): { licence: LicenceInfo; cloud?: Licenreturn { licence: cloudLicence, ...(m.licence && cloudLicence.class === "paid-api" && { weights: weightsLicence(m.licence) }), packs };}-/** The presets a map key names: a map v2 preset id, or a round-1 slug (the motion, effect or app it matches). */-const presetsOf = (key: string) => (getPreset(key) ? [getPreset(key)!] : ["motion", "effect", "app"].flatMap((k) => getPreset(`${k}-${key}`) ?? []));--/** A map LoRA's name as its download names it: the Hugging Face repo ("Remade-AI/Crane_up" → "Crane up"), else its file. */-function mapLoraName(l: OssLora): string {- const repo = l.url && /^https:\/\/huggingface\.co\/[^/]+\/([^/]+)\//.exec(l.url)?.[1];- return (repo || l.file.replace(/\.safetensors$/i, "")).replace(/[_-]+/g, " ").trim();-}--/**- * Every LoRA a run can load, with its licence: the library's, then the preset LoRA map's files that aren't- * library files (the round-1 Wan LoRAs camera motions and effects load), their licence as the map records it.- */-function loraRows(access: ModelAccess): LoraInfo[] {- const rows: LoraInfo[] = LORA_LIBRARY.map((e) => {- const row = MOTION_EFFECT_LORAS.find((r) => r.loras.includes(e.key));- const hold = row?.status === "licence-hold" ? "The research holds this licence: its Hugging Face and civitai pages disagree" : undefined;- return { file: e.file, name: e.name, group: e.group, base: e.base, licence: loraLicenceInfo(e.licence, e.page, hold), on: !access.loras.includes(e.file) };- });- const map = new Map<string, { ref: OssLora; keys: string[] }>();- for (const [key, refs] of Object.entries(OSS_LORAS)) {- for (const ref of refs) {- if (libraryEntry(ref)) continue;- const hit = map.get(ref.file);- if (hit) hit.keys.push(key);- else map.set(ref.file, { ref, keys: [key] });- }- }- for (const [file, { ref, keys }] of map) {- const presets = [...new Map(keys.flatMap(presetsOf).map((p) => [p.id, p])).values()];- const motion = presets.length ? presets.every((p) => p.id.startsWith("motion-")) : keys.every((k) => k.startsWith("motion-"));- const used = presets.length ? `In the preset LoRA map: ${presets.map((p) => p.name).join(", ")}` : "In the preset LoRA map";- rows.push({ file, name: mapLoraName(ref), group: motion ? "motion" : "effect", base: ref.base, licence: loraLicenceInfo(ref.licence, modelCardOf(ref.url), used), on: !access.loras.includes(file) });- }- // The LoRAs the Character swap's graphs load (and fal's route takes): Akatz Labs' swap LoRA and lightx2v's Turbo.- for (const l of CHARACTER_LORAS) rows.push({ file: l.file, name: l.name, group: "adapter", base: "MiniMax H3", licence: characterLoraLicence(l), on: !access.loras.includes(l.file) });- // The refiner LoRA Open-H3 Regenerate's graph loads (and a run downloads).- rows.push({ file: REGEN_LORA.file, name: REGEN_FILES[0].item, group: "adapter", base: "MiniMax H3", licence: regenLoraLicence(), on: !access.loras.includes(REGEN_LORA.file) });- return rows;-}-/*** Whether a switch names something this install has (a model, a provider in use, a node pack, a LoRA the* library or the preset map loads): the settings API refuses a typo rather than storing a switch that does nothing.@@ -409,7 +355,7 @@ export function accessList(): AccessList {return new Set(m.routes.map((r) => factsOf(r, m).class));};const classesOf = new Map(models.map((e) => [e.id, routeClasses(e.id)]));- const loras = loraRows(access);+ const loras = loraLicenceRows(access.loras);return {access,classes: LICENCE_CLASSES.map((id) => ({diff --git a/src/server/remove-object.ts b/src/server/remove-object.tsindex 4b31f22a..615bdb1d 100644--- a/src/server/remove-object.ts+++ b/src/server/remove-object.ts@@ -1,7 +1,7 @@import "server-only";import { z } from "zod";import { getModel } from "@/lib/catalog";-import { characterLicenceLine, PERSON_REMOVER_LORA } from "@/lib/catalog/character-swap";+import { PERSON_REMOVER_LORA } from "@/lib/catalog/character-swap";import {chooseEraser,paintedPoints,@@ -209,9 +209,8 @@ async function planInput(body: RemovalBody, opts: { probe: boolean; preview?: bo"Qwen-Image 2.1 first makes a clean copy of the part's first frame with the person gone; MiniMax H3 with Akatz Labs' Person Remover LoRA then rebuilds what was behind them, 22 frames at a time from it, and the clip's sound goes back on","People only — for an object, pick Wan 2.1 VACE + SAM 3.1","Needs the H3 Relay nodes on your ComfyUI (scripts/comfy/install-comfyui.sh with H3_RELAY=1) and 24 GB of VRAM with offloading (64–128 GB of RAM); the part runs at 24 fps",- characterLicenceLine("open", "fuobe-character-swap").replace("nodes GPL-3.0", "H3 Relay nodes GPL-3.0"),);- } else notes.push(eraser.effects ? "VOID needs a 24–40 GB GPU. Its CogVideoX base is licensed for commercial use only after registering, up to 1 million visits a month" : "Wan 2.1 VACE 14B needs a 24 GB GPU · Apache-2.0 (SAM 3.1: Meta's SAM License)");+ } else notes.push(eraser.effects ? "VOID needs a 24–40 GB GPU" : "Wan 2.1 VACE 14B needs a 24 GB GPU");} else {const max = pieceSeconds(eraser, source.fps);const limit = eraser.window ? `up to ${eraser.window.cap} frames (${max.toFixed(1)} s of this clip)` : max < 5 ? "clips under 5 s" : `up to ${Math.floor(max)} s`;diff --git a/src/server/swap-studio.ts b/src/server/swap-studio.tsindex 6ea0a918..ae7656d2 100644--- a/src/server/swap-studio.ts+++ b/src/server/swap-studio.ts@@ -1,7 +1,7 @@import "server-only";import { z } from "zod";import { getModel } from "@/lib/catalog";-import { ANCHOR_MODELS, anchorModel, CHARACTER_SWAP, characterLicenceLine, h3Canvas, SWAP_LORAS, swapLoraRef, TURBO_LORA } from "@/lib/catalog/character-swap";+import { ANCHOR_MODELS, anchorModel, CHARACTER_SWAP, h3Canvas, SWAP_LORAS, swapLoraRef, TURBO_LORA } from "@/lib/catalog/character-swap";import { scalePoints } from "@/lib/catalog/remove-object";import type { PlanStep } from "@/lib/catalog/shorts";import {@@ -1323,14 +1323,13 @@ function assemblyPiecesForPrice(p: SwapProject, clip: SwapClip) {return out;}-/** What the page says about each engine (licences as information). */+/** What the page says about each engine. */export function studioNotes(engine: Engine): string[] {if (engine === "open") {return [WORKERS_NOTE,"Needs H3 Relay 2.0's nodes on your ComfyUI (scripts/comfy/install-comfyui.sh with H3_RELAY=1) and a 24 GB GPU with offloading; the masks need SAM 3.1","Each segment is one H3 Relay pass with the approved mask, its anchor and the previous take's last frames as continuation history (a lossless 16-bit FFV1 master, about 3 MB a frame at 1 MP: ComfyUI takes uploads up to 100 MB unless started with a higher --max-upload-size, so keep history to about 30 frames or raise it)",- characterLicenceLine("open", STUDIO_MODELS.open.swap),];}return [@@ -1338,7 +1337,6 @@ export function studioNotes(engine: Engine): string[] {"fal's H3 reads 2–15 s of the clip a call and bills whole seconds (5–15 s): a segment runs 2–15 s","A continuing segment starts from the previous take's last frame — fal's H3 takes no continuation history. H3 makes whole seconds (at least 5), so each take is trimmed back to its segment","SAM 3.1 on fal marks the person from your clicks or words, for review; the swap itself doesn't read the mask",- characterLicenceLine("cloud", STUDIO_MODELS.cloud.swap),];}diff --git a/src/server/thanks.ts b/src/server/thanks.tsnew file mode 100644index 00000000..b91f3478--- /dev/null+++ b/src/server/thanks.ts@@ -0,0 +1,32 @@+import "server-only";+import fs from "node:fs";+import path from "node:path";+import { CLOUD_NOTICES } from "@/lib/av/model3d";+import { MODELS } from "@/lib/catalog";+import type { Manifest } from "@/lib/comfy";+import { loraLicenceRows } from "@/lib/lora-licences";+import { buildThanks, packageFacts, type Thanks, type ThanksPackage } from "@/lib/thanks";++/**+ * Thanks & licences' data: the catalog, the ComfyUI manifest, every LoRA, and the packages the app ships with (their own+ * package.json). Synchronous reads of files that only change with a deploy, so the page is prerendered with them.+ */+export function readThanks(root = process.cwd()): Thanks {+ const read = (p: string): unknown => {+ try {+ return JSON.parse(fs.readFileSync(path.join(/*turbopackIgnore: true*/ root, p), "utf8"));+ } catch {+ return undefined;+ }+ };+ const manifest = read("workflows/comfyui/manifest.json") as Manifest | undefined;+ const deps = Object.keys((read("package.json") as { dependencies?: Record<string, string> } | undefined)?.dependencies ?? {});+ const packages: ThanksPackage[] = deps.map((name) => ({ name, ...packageFacts((read(`node_modules/${name}/package.json`) as Parameters<typeof packageFacts>[0] | undefined) ?? {}) }));+ return buildThanks({+ models: MODELS.map((m) => ({ id: m.id, name: m.name, vendor: m.vendor, kind: m.kind, tagline: m.tagline, hidden: m.hidden, routes: m.routes.map((r) => ({ provider: r.provider, endpoint: r.endpoint })) })),+ workflows: (manifest?.workflows ?? []).map((w) => ({ id: w.id, title: w.title, capability: w.capability, license: w.license, models: (w.models ?? []).map((x) => ({ url: x.url, sizeGb: x.sizeGb })), packs: (w.customNodes ?? []).map((n) => n.name) })),+ loras: loraLicenceRows(),+ packages,+ cloudCredits: CLOUD_NOTICES,+ });+}diff --git a/tests/any-angle.test.ts b/tests/any-angle.test.tsindex 10b81fe0..4e3ba6d3 100644--- a/tests/any-angle.test.ts+++ b/tests/any-angle.test.ts@@ -290,9 +290,9 @@ describe("the app", () => {// What a visitor reads: text between tags, and strings and templates that start with a capital (class names and ids don't).const shown = [...page.matchAll(/>\s*([A-Z][^<>{}=;]*)/g), ...page.matchAll(/"([A-Z][^"]*)"/g), ...page.matchAll(/`([A-Z][^`]*)`/g)].map((m) => m[1]);expect(shown.length).toBeGreaterThan(20);- // The one name allowed is the notice the 3D view's image encoder asks for.- const words = [...shown, app.description, app.parity ?? "", ...ANGLE_PRESETS.map((p) => p.label)].join(" \n ").replace("Built with DINOv3", "");- expect(page).toContain("Built with DINOv3");+ // The 3D view's image encoder's notice is on Thanks & licences, not here.+ const words = [...shown, app.description, app.parity ?? "", ...ANGLE_PRESETS.map((p) => p.label)].join(" \n ");+ expect(page).not.toContain("Built with DINOv3");for (const banned of [/qwen/i, /tripo/i, /lora/i, /splat/i, /\.spz/i, /comfy/i, /\bbeta\b/i, /\bdino/i, /birefnet/i, /unverified|not checked|placeholder/i]) expect(words).not.toMatch(banned);expect(words).toContain("Build 3D view");expect(words).toContain("Use this view");diff --git a/tests/assist-model-pick.test.ts b/tests/assist-model-pick.test.tsindex 909938a0..d1eb0df9 100644--- a/tests/assist-model-pick.test.ts+++ b/tests/assist-model-pick.test.ts@@ -157,15 +157,15 @@ describe("Open source only", () => {expect(choices(world({ providers: [{ id: "google", freeTick: true }], openOnly: true })).find((c) => c.model === "gemma-4-31b-it")!.disabled).toBeUndefined();// AI helper set to Claude is still the owner's way to use Claude on an open-source-only install.expect(smartPick({ ...w, helper: "anthropic" }).plan).toMatchObject({ provider: "anthropic" });- expect(openLabel(all.find((c) => c.model === "deepseek-v4-pro")!)).toBe("Open weights · MIT · runs on DeepSeek's servers");- expect(openLabel(all.find((c) => c.model === "google/gemma-4-31b-it:free")!)).toBe("Open weights · Apache-2.0 · free through OpenRouter");+ expect(openLabel(all.find((c) => c.model === "deepseek-v4-pro")!)).toBe("Open weights · runs on DeepSeek's servers");+ expect(openLabel(all.find((c) => c.model === "google/gemma-4-31b-it:free")!)).toBe("Open weights · free through OpenRouter");expect(openLabel(all.find((c) => c.local)!)).toBe("Open weights · on this machine");const r7b = choices(world({ providers: [{ id: "cohere" }] })).find((c) => c.model === "command-r7b-12-2024")!;- expect(openLabel(r7b)).toBe("Open weights · CC-BY-NC-4.0 (non-commercial) · runs on Cohere's servers");+ expect(openLabel(r7b)).toBe("Open weights · runs on Cohere's servers");// Hugging Face routes each id to the provider its suffix names: that provider runs it.const hf = choices(world({ providers: [{ id: "huggingface" }] }));- expect(openLabel(hf.find((c) => c.model === "zai-org/GLM-5.3:deepinfra")!)).toBe("Open weights · GLM licence (other) · runs on DeepInfra, through Hugging Face");- expect(openLabel(hf.find((c) => c.model === "deepseek-ai/DeepSeek-V4.1-Flash-1017:novita")!)).toBe("Open weights · MIT · runs on Novita, through Hugging Face");+ expect(openLabel(hf.find((c) => c.model === "zai-org/GLM-5.3:deepinfra")!)).toBe("Open weights · runs on DeepInfra, through Hugging Face");+ expect(openLabel(hf.find((c) => c.model === "deepseek-ai/DeepSeek-V4.1-Flash-1017:novita")!)).toBe("Open weights · runs on Novita, through Hugging Face");expect(openLabel(hf.find((c) => c.model.endsWith(":baseten"))!)).toMatch(/runs on Baseten, through Hugging Face$/);});});diff --git a/tests/character-swap.test.ts b/tests/character-swap.test.tsindex 23e28ef2..e92d0285 100644--- a/tests/character-swap.test.ts+++ b/tests/character-swap.test.ts@@ -6,7 +6,6 @@ import {anchorPrompt,CHARACTER_LICENCES,CHARACTER_SWAP,- characterLicenceLine,characterQuality,cutsInPart,cutWarning,@@ -295,12 +294,6 @@ describe("Character swap: licences are information", () => {}});- it("the model picker's line says it, as information", () => {- expect(characterLicenceLine("open", "fuobe-character-swap")).toMatch(/not licensed in the US, the EU, the UK and South Korea.*show "MiniMax H3".*GPL-3.0/);- expect(characterLicenceLine("cloud", "fuobe-character-swap")).toMatch(/pay per second/);- expect(characterLicenceLine("cloud", "h3-max-recast")).toMatch(/closed H3 Max/);- });-it("the manifest's licence text reads as restricted regions with the notice (About & licences)", async () => {const { default: manifest } = await import("../workflows/comfyui/manifest.json");const wf = (manifest as { workflows: { id: string; license?: string }[] }).workflows.find((w) => w.id === "video-character-swap-h3")!;diff --git a/tests/command-palette.test.ts b/tests/command-palette.test.tsindex a78f9fe8..48556d77 100644--- a/tests/command-palette.test.ts+++ b/tests/command-palette.test.ts@@ -208,15 +208,15 @@ describe("palette settings by viewer", () => {it("offers the install's settings to its owner only; an account gets its own GPU, its own keys, its account and the licences", async () => {const { settingEntries } = await import("@/components/command-palette");const hrefs = (v: Parameters<typeof settingEntries>[0]) => settingEntries(v).map((e) => e.href);- expect(hrefs({ owner: true })).toEqual(expect.arrayContaining(["/settings#engine", "/settings#cloud", "/settings#security", "/settings/models"]));- expect(hrefs({ owner: false, account: { email: "[email protected]" } })).toEqual(["/settings#your-gpu", "/settings#your-keys", "/settings#account", "/settings/models"]);+ expect(hrefs({ owner: true })).toEqual(expect.arrayContaining(["/settings#engine", "/settings#cloud", "/settings#security", "/settings/models", "/settings/licences"]));+ expect(hrefs({ owner: false, account: { email: "[email protected]" } })).toEqual(["/settings#your-gpu", "/settings#your-keys", "/settings#account", "/settings/licences"]);// "api key", "fal", "nano banana": an account finds where its own key goes.const keys = settingEntries({ owner: false, account: { email: "[email protected]" } }).find((e) => e.href === "/settings#your-keys");expect(keys?.keywords).toMatch(/api key/);expect(keys?.keywords).toMatch(/nano banana/);- expect(hrefs({ owner: false })).toEqual(["/connect", "/settings/models"]);+ expect(hrefs({ owner: false })).toEqual(["/connect", "/settings/licences"]);// Not known yet: nothing of the owner's.- expect(hrefs(undefined)).toEqual(["/connect", "/settings/models"]);+ expect(hrefs(undefined)).toEqual(["/connect", "/settings/licences"]);});});diff --git a/tests/e2e/flux3-klein.mjs b/tests/e2e/flux3-klein.mjsindex 9469e9ab..fc032f5b 100644--- a/tests/e2e/flux3-klein.mjs+++ b/tests/e2e/flux3-klein.mjs@@ -272,10 +272,9 @@ try {await klein.scrollIntoViewIfNeeded();const k = flat(await klein.innerText());check(`${tag} train: Klein Base LoRA on both engines`, /FLUX 3 Image Klein Base LoRA/.test(k), k.slice(0, 120));- check(`${tag} train: the licence is information`, /Licence: FLUX Kommunity License v1\.0 .*check its revenue tiers/.test(k), (k.match(/Licence:[^·]*·[^·]*/) ?? [""])[0]);+ check(`${tag} train: no licence line (Thanks & licences lists it)`, !/Licence:/.test(k), (k.match(/Licence:[^·]*/) ?? [""])[0]);check(`${tag} train: Cloud at $4.30, 1,000 steps`, /Cloud \$4\.30/.test(k) && /1,000 steps/.test(k), k.match(/Cloud[^]*?steps/)?.[0]?.slice(0, 120));check(`${tag} train: Your GPU is Free`, /Your GPU Free/.test(k));- check(`${tag} train: says it is not blanket permission for commercial fine-tuning`, /not blanket permission for commercial fine-tuning/.test(k));const box = await klein.boundingBox();check(`${tag} train: the section fits the screen`, !!box && box.x >= 0 && box.x + box.width <= width + 1, box ? `${Math.round(box.x)}+${Math.round(box.width)}` : "no box");check(`${tag} train: no sideways scroll`, await noSideways(page));diff --git a/tests/e2e/genjutsu-original.mjs b/tests/e2e/genjutsu-original.mjsindex 42923bec..8d5eaca7 100644--- a/tests/e2e/genjutsu-original.mjs+++ b/tests/e2e/genjutsu-original.mjs@@ -1,7 +1,7 @@// Fuobe Genjutsu on the Originals, browser check (build plan O5 + Openjutsu): /genjutsu runs Fuobe's Originals by// default on both engines, with open weights and partners as labelled alternatives, and a Character swap mode// (MiniMax H3). At 1440 and 390 px, light and dark: the Character swap mode shows who to swap, the quality, the first-// frame switch, the limits and the licence line; Describe my character and the clip's words; the swap LoRA's choices+// frame switch, the limits; Describe my character and the clip's words; the swap LoRA's choices// per engine; partners' resolutions; the model list badges each model's source; a run is made in demo mode and// finishes; the open engine allows clicking the person, shows the GPU line, SAM's detection numbers, the History list// under the window and the mask switch on the Original's graph only; Motion and Restyle list the@@ -77,8 +77,7 @@ try {check(`${tag}: the Original is first, badged`, /^Fuobe Character swap Fuobe Original/.test(first), JSON.stringify(first.slice(0, 60)));const listed = (await models.innerText()).replace(/\s+/g, " ");check(`${tag}: open weights and partners are labelled alternatives`, /Open weights/.test(listed) && /Partner/.test(listed));- check(`${tag}: the licence line is in the picker`, /MiniMax H3 Community License — not licensed in the US, the EU, the UK and South Korea/.test(listed));- check(`${tag}: each model's own licence (MIT for SCAIL-2, closed for partners)`, /SCAIL-2 weights: MIT/.test(listed) && /Closed model: pay per use/.test(listed));+ check(`${tag}: no licence lines in the picker (Thanks & licences lists them)`, !/licen[cs]e|weights: (MIT|Apache)/i.test(listed));// The price (demo: no keys), the limits.await page.getByText(/Placeholder · free|≈ \$|Price unknown/).first().waitFor({ timeout: 60_000 });const body = await text();diff --git a/tests/e2e/open-tools.mjs b/tests/e2e/open-tools.mjsindex 7b7c44f5..7af2bdca 100644--- a/tests/e2e/open-tools.mjs+++ b/tests/e2e/open-tools.mjs@@ -255,7 +255,7 @@ try {}// ---------------------------------------------------------------------------- // 4. The Depth map tool: Video Depth Anything Large, with its non-commercial licence as information.+ // 4. The Depth map tool: Video Depth Anything Large (its licence is on Thanks & licences).{const { context, page } = await contextFor("open");await open(page, "/video-tools/depth");@@ -264,7 +264,7 @@ try {const listed = await pickModel(page, "Video Depth Anything");const large = listed.find((l) => /Video Depth Anything \(large\)/.test(l)) ?? "";check("open: Video Depth Anything (large) is a choice", !!large, listed.join(" | ").slice(0, 200));- check("open: and says its weights are non-commercial", /non-commercial/i.test(large), large.slice(0, 160));+ check("open: with no licence note in the picker", !/non-commercial/i.test(large), large.slice(0, 160));await shoot(page, "depth-open-1440.png");await context.close();}diff --git a/tests/e2e/thanks-licences.mjs b/tests/e2e/thanks-licences.mjsnew file mode 100644index 00000000..bda1bfc0--- /dev/null+++ b/tests/e2e/thanks-licences.mjs@@ -0,0 +1,103 @@+// Thanks & licences, as a guest: the page opens from the footer and lists every group with its jump chips, the credits+// some licences ask for, a search that narrows the rows and says when nothing matches, and no sideways scroll at 390 and+// 1440 px, light and dark, with 44 px taps on a phone. Then six feature pages that used to show licence notes show none.+// Usage: node tests/e2e/thanks-licences.mjs [appUrl] [--shots <dir>] (the app with a password and FUOBE_PUBLIC_SIGNUP=1,+// so a browser with no session is a guest). Exits 1 on a failed check.+import fs from "node:fs";+import path from "node:path";+import { DESKTOP, launch, openRoute, PHONE } from "./_browser.mjs";++const argv = process.argv.slice(2);+const app = (argv.find((a) => !a.startsWith("--") && argv[argv.indexOf(a) - 1] !== "--shots") ?? "http://localhost:3000").replace(/\/$/, "");+const shots = argv.includes("--shots") ? argv[argv.indexOf("--shots") + 1] : undefined;+if (shots) fs.mkdirSync(shots, { recursive: true });++const failures = [];+const check = (label, ok, extra = "") => {+ console.log(`${ok ? "ok " : "FAIL"} ${label.padEnd(84)}${extra ? ` ${extra}` : ""}`);+ if (!ok) failures.push(label);+};+const shot = (page, name, fullPage = false) => shots && page.screenshot({ path: path.join(shots, `${name}.png`), fullPage });+const noSideways = (page) => page.evaluate(() => document.documentElement.scrollWidth <= document.documentElement.clientWidth + 1);++const GROUPS = ["Image models", "Video models", "Audio", "3D", "LoRAs", "ComfyUI node packs", "Code and libraries"];+/** Words a feature page no longer shows: the licence lines and notices that moved to Thanks & licences. */+const NOTES = /Models and licences|Community License|not licensed in|Built with DINOv3|Licence: |Licences \(for your information\)|non-commercial weights|Apache-2\.0|GPL-3\.0/i;+/** Feature pages that showed a licence note before (a box, a picker line, a notice), and still render for a guest. */+const FEATURES = ["/character-swap", "/genjutsu?mode=character", "/image-to-3d", "/apps/app-any-angle", "/live-edit", "/video-tools/remove-object"];++const browser = await launch();+for (const [label, device] of [+ ["390", PHONE],+ ["1440", DESKTOP],+]) {+ for (const scheme of ["light", "dark"]) {+ const tag = `${label} ${scheme}`;+ const context = await browser.newContext({ ...device, colorScheme: scheme });+ const page = await context.newPage();++ // The footer leads there (Home), as a guest.+ if (scheme === "light") {+ await openRoute(page, `${app}/`);+ const footer = page.locator("footer").getByRole("link", { name: "Thanks & licences" });+ check(`${tag}: the footer links to Thanks & licences`, (await footer.count()) > 0 && (await footer.first().getAttribute("href")) === "/settings/licences");+ }++ await openRoute(page, `${app}/settings/licences`);+ check(`${tag}: the page opens for a guest`, (await page.locator("h1").first().innerText()).trim() === "Thanks & licences");+ const nav = page.getByRole("navigation", { name: "Jump to a group" });+ const chips = (await nav.getByRole("link").allInnerTexts()).map((t) => t.replace(/\s+\d+$/, "").trim());+ check(`${tag}: a jump chip for each group`, GROUPS.every((g) => chips.includes(g)), chips.join(", "));+ for (const g of GROUPS) check(`${tag}: ${g} is listed`, (await page.getByRole("heading", { level: 2, name: new RegExp(`^${g.replace(/[()]/g, "\\$&")}`) }).count()) === 1);+ const credits = await page.locator("#thanks-credits").locator("..").innerText();+ check(`${tag}: the credits name MiniMax H3, DINOv3 and Llama`, /MiniMax H3/.test(credits) && /Built with DINOv3/.test(credits) && /Built with Llama/.test(credits));+ check(`${tag}: no sideways scroll`, await noSideways(page));+ if (label === "390") {+ const small = await page.evaluate(() =>+ [...document.querySelectorAll("[data-thanks] a, [data-thanks] button, [data-thanks] input, a[href=\"/settings#about\"]")]+ .filter((el) => el.getClientRects().length && getComputedStyle(el).visibility !== "hidden")+ .map((el) => ({ h: el.getBoundingClientRect().height, t: (el.textContent || el.getAttribute("aria-label") || el.getAttribute("placeholder") || "").trim().slice(0, 30) }))+ .filter((x) => x.h < 43.5),+ );+ check(`${tag}: every tap target is at least 44 px tall`, small.length === 0, small.slice(0, 4).map((s) => `${s.t}=${Math.round(s.h)}`).join(" | "));+ }+ await shot(page, `thanks-${label}-${scheme}`);++ // A chip jumps to its group.+ await nav.getByRole("link", { name: /^ComfyUI node packs/ }).click();+ await page.waitForTimeout(2000);+ const top = await page.locator("#thanks-packs").evaluate((el) => el.getBoundingClientRect().top);+ check(`${tag}: a chip jumps to its group`, top >= -2 && top < 260, `top ${Math.round(top)}`);++ // Search narrows the rows; nothing found is said.+ const search = page.getByRole("searchbox", { name: /Search models, LoRAs/ });+ await search.fill("dinov3");+ await page.waitForTimeout(400);+ const rows = await page.locator("#thanks-3d li").count();+ check(`${tag}: a search narrows the rows`, rows > 0 && (await page.locator("#thanks-loras").count()) === 0, `${rows} 3D rows`);+ await shot(page, `thanks-${label}-${scheme}-search`);+ await search.fill("zzzz-nothing");+ await page.waitForTimeout(400);+ check(`${tag}: and says when nothing matches`, await page.getByText("Nothing matches that search.").isVisible());+ await page.getByRole("button", { name: "Clear the search" }).click();+ await page.waitForTimeout(400);+ check(`${tag}: clearing it brings every group back`, (await page.locator("section[id^='thanks-']").count()) >= GROUPS.length);++ // The feature pages that used to show notes.+ if (scheme === "light") {+ for (const route of FEATURES) {+ await openRoute(page, `${app}${route}`, { settleMs: 1500 });+ const text = await page.locator("main").first().innerText().catch(() => "");+ const hit = text.match(NOTES)?.[0];+ check(`${tag}: ${route} shows no licence note`, !hit, hit ?? "");+ check(`${tag}: ${route} has no sideways scroll`, await noSideways(page));+ await shot(page, `feature-${label}${route.replace(/[/?=&]+/g, "-")}`);+ }+ }+ await context.close();+ }+}+await browser.close();++console.log(failures.length ? `\n${failures.length} failed` : "\nall passed");+process.exit(failures.length ? 1 : 0);diff --git a/tests/fal-lora.test.ts b/tests/fal-lora.test.tsindex ad0ac3d2..dca88ac1 100644--- a/tests/fal-lora.test.ts+++ b/tests/fal-lora.test.ts@@ -90,7 +90,7 @@ describe("fal LoRA payloads (generated FieldMap.loras)", () => {const keep = hf("squish_18.safetensors", { target: "both" });const sent = fitLoras([wiggle, keep], r);expect(sent.loras).toEqual([wiggle, keep]);- expect(sent.notes[0]).toMatch(/^Wiggle Redmond: its licence allows your GPU only/);+ expect(sent.notes).toEqual([]);expect(loraFields(r.map!.loras!, [{ ...wiggle, hostedUrl: "https://v3.fal.media/x" }])).toMatchObject({ loras: [{ path: "https://v3.fal.media/x" }] });// Settings → Models & licences keeps GPU-only LoRAs on the GPU: the run's LoRAs come marked.const kept = fitLoras([{ ...wiggle, keepOnGpu: true }, keep], r);diff --git a/tests/flux3-klein.test.ts b/tests/flux3-klein.test.tsindex 77eb3d5f..4108250b 100644--- a/tests/flux3-klein.test.ts+++ b/tests/flux3-klein.test.ts@@ -370,7 +370,7 @@ describe("FLUX 3 Klein as a Soul ID training target", () => {expect(fal.price).toBe("≈ $4.30 (1,000 steps)");expect(fal.licence).toMatch(/^FLUX Kommunity License v1\.0/);expect(fal.commercial).toBeNull();- expect(fal.description).toMatch(/not blanket permission for commercial fine-tuning/);+ expect(fal.description).not.toMatch(/licen[cs]e/i);const tr = getTrainer(fal.trainer)!;expect(tr).toMatchObject({ usdPerStep: 0.0043, minBilledSteps: 100, dataField: "images_data_url", loraOutput: ["lora_file"], status: "active" });expect(falTrainingInput(fal, "https://x/data.zip", "photo of mayafz", "mayafz")).toEqual({diff --git a/tests/genjutsu-api.test.ts b/tests/genjutsu-api.test.tsindex 406e0a29..1b3aa10b 100644--- a/tests/genjutsu-api.test.ts+++ b/tests/genjutsu-api.test.ts@@ -117,7 +117,7 @@ describe("Genjutsu: estimates", () => {expect(sun.costUsd).toBeGreaterThanOrEqual(0.525);expect(sun.costUsd).toBeLessThan(0.535);expect(sun.notes.join(" ")).toMatch(/billed by tokens .* isn't in the price/);- expect(sun.notes.join(" ")).toMatch(/MiniMax H3 Community License — not licensed in the US, the EU, the UK and South Korea/);+ expect(sun.notes.join(" ")).not.toMatch(/licen[cs]e/i);expect(sun.limits).toContain("One continuous shot: a hard cut breaks the swap");expect(sun.gpu).toBeUndefined();const nbp = await (await estimateRoute.POST(json(body({ ...part, character: { anchorModel: "nano-banana-pro" } })))).json();@@ -134,11 +134,11 @@ describe("Genjutsu: estimates", () => {});});- it("Character swap on the open engine: free on your GPU, the windows, the GPU it was tested on and the licences", async () => {+ it("Character swap on the open engine: free on your GPU, the windows, the GPU it was tested on, and no licence line", async () => {const e = await (await estimateRoute.POST(json(body({ engine: "open", mode: "character", source: { url: clip, ...src }, range: { start: 2, end: 9 } })))).json();expect(e).toMatchObject({ modelId: "fuobe-character-swap", source: "original", costUsd: 0, anchors: 1, gpu: { weightsGb: 46.33 } });expect(e.notes.join(" ")).toMatch(/2 windows of up to 124 frames at 24 fps, each continuing from the 18 frames before it/);- expect(e.notes.join(" ")).toMatch(/nodes GPL-3\.0 · SAM License/);+ expect(e.notes.join(" ")).not.toMatch(/licen[cs]e|GPL/i);expect(e.notes.join(" ")).toMatch(/Qwen-Image 2.1 first puts your character into the part's first frame/);});diff --git a/tests/genjutsu.test.ts b/tests/genjutsu.test.tsindex bc013a0b..d660fecb 100644--- a/tests/genjutsu.test.ts+++ b/tests/genjutsu.test.ts@@ -9,7 +9,6 @@ import {getMaker,h3Extra,LEGACY_MAKERS,- makerLicence,makerPrompt,makersFor,makerStepUsd,@@ -84,16 +83,8 @@ describe("Genjutsu: which model runs", () => {expect(chooseMaker({ engine: "cloud", mode: "character", modelId: "h3-max-recast" })).toMatchObject({ maker: { id: "h3-max-recast" } });});- it("each model's licence is a line of information in the picker", () => {- expect(makerLicence(maker(ORIGINALS.character))).toMatch(/^MiniMax H3 Community License — not licensed in the US, the EU, the UK and South Korea.* on fal, pay per second$/);- expect(makerLicence(maker(ORIGINALS.character, "open"))).toMatch(/nodes GPL-3\.0 · SAM License$/);- expect(makerLicence(maker("h3-max-recast"))).toMatch(/^MiniMax's closed H3 Max through fal/);- expect(makerLicence(maker(ORIGINALS.swap, "open"))).toBe("Wan VACE weights: Apache-2.0 · SAM 3.1: Meta's SAM License · free on your GPU");- // In a line whose note already says where it runs: not said twice.- expect(makerLicence(maker(ORIGINALS.swap, "open"), false)).toBe("Wan VACE weights: Apache-2.0 · SAM 3.1: Meta's SAM License");- expect(makerLicence(maker("scail-2"))).toBe("SCAIL-2 weights: MIT · on fal, pay per use");- expect(makerLicence(maker("kling-o3"))).toBe("Closed model: pay per use, under its provider's terms");- expect(MAKERS.every((m) => makerLicence(m).length > 10)).toBe(true);+ it("the picker's lines carry no licence (Thanks & licences lists them)", () => {+ for (const m of MAKERS) expect(`${m.label} ${m.note ?? ""}`, m.id).not.toMatch(/licen[cs]e|Apache-2\.0|\bGPL\b|non-commercial/i);});it("a guest or an account reads the open models' notes without 'free on your GPU' (Genjutsu doesn't run there)", () => {diff --git a/tests/lora-fetch.test.ts b/tests/lora-fetch.test.tsindex 24f36fdc..d73b2a88 100644--- a/tests/lora-fetch.test.ts+++ b/tests/lora-fetch.test.ts@@ -285,7 +285,7 @@ describe("Before a cloud run", () => {const route = { provider: "fal" as const, loraEndpoint: "fal-ai/wan/v2.2-a14b/image-to-video/lora" };const sent = fitLoras([bare], route);expect(sent.loras).toEqual([bare]);- expect(sent.notes[0]).toMatch(/^Wiggle Redmond: its licence allows your GPU only \(civitai lists no “Rent”\); it runs in the cloud because Settings → Models & licences lets such LoRAs go there/);+ expect(sent.notes).toEqual([]);const kept = fitLoras([{ ...bare, keepOnGpu: true }], route);expect(kept.loras).toEqual([]);expect(kept.notes[0]).toMatch(/^Wiggle Redmond is licensed for your GPU only and Settings → Models & licences keeps such LoRAs off the cloud, so this run leaves it out/);diff --git a/tests/open-engine.test.ts b/tests/open-engine.test.tsindex 3b79f261..36b248b5 100644--- a/tests/open-engine.test.ts+++ b/tests/open-engine.test.ts@@ -105,16 +105,12 @@ describe("round-3 open models", () => {for (const p of [...(m!.options.sliders ?? []), ...(m!.options.controls ?? [])].map((s) => s.param)) {if (!PROVIDER_PARAMS.has(p)) expect(Object.keys(wf!.bindings), `${id}: ${p} is not a binding of ${want.workflow}`).toContain(p);}- // Taglines tell people what the GPU and the licence ask of them.+ // Taglines tell people what the GPU asks of them (licences are on Thanks & licences).expect(m!.tagline, id).toMatch(/GB|CPU/);});- it("flags the licences people have to know about", () => {- expect(getModel("oss-style-uso")!.tagline).toMatch(/non-commercial/);- expect(getModel("oss-mmaudio-sfx")!.tagline).toMatch(/non-commercial/);- expect(getModel("oss-captions-whisper")!.tagline).toMatch(/non-commercial/);- expect(getModel("oss-hunyuan-foley")!.tagline).toMatch(/EU, UK and South Korea/);- expect(getModel("oss-stable-audio-3")!.tagline).toMatch(/US\$1M/);+ it("keeps licences out of the taglines (Thanks & licences lists them)", () => {+ for (const id of ["oss-style-uso", "oss-mmaudio-sfx", "oss-captions-whisper", "oss-hunyuan-foley", "oss-stable-audio-3"]) expect(getModel(id)!.tagline, id).not.toMatch(/licen[cs]e|non-commercial|Apache|Community|US\$1M|South Korea/i);// Offered in their studios, and marked as running on the isolated worker.for (const id of ["oss-thinksound", "oss-latentsync"]) {expect(getModel(id)!.worker, id).toBe("isolated");diff --git a/tests/open-fibo-2.test.ts b/tests/open-fibo-2.test.tsindex 045ef27f..77917036 100644--- a/tests/open-fibo-2.test.ts+++ b/tests/open-fibo-2.test.ts@@ -46,7 +46,7 @@ describe("FIBO 2 models", () => {expect(m.kind).toBe("image");expect(m.family).toBe("bria");expect(m.badges).toEqual(expect.arrayContaining(["open", "new", "top"]));- expect(m.tagline).toMatch(/GB GPU · non-commercial weights$/);+ expect(m.tagline).toMatch(/GB GPU$/);expect(m.options.maxImages).toBe(4);for (const [op, wid] of Object.entries(routes)) {const route = m.routes.find((r) => r.op === op);diff --git a/tests/open-ideogram-4.test.ts b/tests/open-ideogram-4.test.tsindex 58046720..06132909 100644--- a/tests/open-ideogram-4.test.ts+++ b/tests/open-ideogram-4.test.ts@@ -308,7 +308,7 @@ describe("Ideogram 4 on the open engine", () => {expect(m).toMatchObject({ engine: "open", kind: "image", family: "ideogram", options: { promptFormat: "ideogram4", seed: true } });expect(m.badges).toEqual(expect.arrayContaining(["open", "new", "top"]));expect(m.routes.map((r) => [r.op, r.provider, r.endpoint])).toEqual([["t2i", "comfyui", "ideogram4-t2i"]]);- expect(m.tagline).toMatch(/24 GB GPU · non-commercial weights/);+ expect(m.tagline).toMatch(/24 GB GPU/);// First among the open-source text-to-image models, after the Originals (the owner's order: Ideogram 4, Qwen-Image 2.1,// Krea 2, MOSS, FIBO 2).expect(MODELS.find((x) => x.id.startsWith("oss-") && x.routes.some((r) => r.op === "t2i"))?.id).toBe("oss-ideogram-4");diff --git a/tests/open-krea-2.test.ts b/tests/open-krea-2.test.tsindex 084b2ac3..e769372a 100644--- a/tests/open-krea-2.test.ts+++ b/tests/open-krea-2.test.ts@@ -284,7 +284,7 @@ describe("Krea 2 files, packs and licences", () => {for (const id of ["krea2-realism-t2i", "krea2-turbo-t2i", "krea2-turbo-i2i", "krea2-inpaint", "krea2-outpaint"]) {expect(licenceTerms(workflowLicence(entry(id))).flags, id).toEqual(["conditions"]);}- expect(getModel("oss-krea2-edit")!.tagline).toMatch(/non-commercial/);+ expect(getModel("oss-krea2-edit")!.tagline).not.toMatch(/non-commercial/);expect(NODE_PACKS.find((p) => p.name === "comfyui-krea2edit")!.licence.name).toBe("Apache-2.0");expect(NODE_PACKS.find((p) => p.name === "ComfyUI-Krea2-Ostris-Edit")!.licence.name).toBe("MIT");});diff --git a/tests/open-qwen-image-21.test.ts b/tests/open-qwen-image-21.test.tsindex 65c0dfdb..79fd3514 100644--- a/tests/open-qwen-image-21.test.ts+++ b/tests/open-qwen-image-21.test.ts@@ -68,7 +68,7 @@ describe("Qwen-Image 2.1 in the catalog", () => {expect(byId.get(wid)?.validated, `${wid} stays unvalidated until it runs on the GPU`).toBe(false);}expect(m.options.maxImages).toBe(4);- expect(m.tagline).toMatch(/20 GB GPU · non-commercial weights$/);+ expect(m.tagline).toMatch(/20 GB GPU$/);}expect(getModel("oss-qwen-image-21-turbo")!.badges).toContain("fast");// Turbo has no text to image: none of the owner's workflows runs it that way.diff --git a/tests/open-tools.test.ts b/tests/open-tools.test.tsindex 3cec3f85..8388f7d4 100644--- a/tests/open-tools.test.ts+++ b/tests/open-tools.test.ts@@ -382,9 +382,9 @@ describe("Fuobe Speak", () => {});describe("Depth Map and Upscale routes", () => {- it("offers Video Depth Anything Large on your GPU, labelled non-commercial, without making it the default", async () => {+ it("offers Video Depth Anything Large on your GPU, its licence recorded as non-commercial, without making it the default", async () => {const m = getModel("oss-video-depth-vda-large")!;- expect(m.tagline).toMatch(/non-commercial/);+ expect(m.tagline).not.toMatch(/non-commercial/);const wf = await prepare("video-depth-vda-large", { video: "clip.mp4", colormap: "inferno" }, "depth-video");expect(Object.values(wf).find((n) => n.class_type === "LoadVideoDepthAnythingModel")?.inputs.model).toBe("video_depth_anything_vitl.pth");expect(licenceInfo(getWorkflow("video-depth-vda-large").manifest.license ?? "").class).toBe("non-commercial");diff --git a/tests/oss-loras.test.ts b/tests/oss-loras.test.tsindex ef331224..4693fa0e 100644--- a/tests/oss-loras.test.ts+++ b/tests/oss-loras.test.ts@@ -150,12 +150,12 @@ 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).toBe("On your GPU, Fuobe DoP uses a style trained for this move. Its trained style is licensed for your GPU only.");- // Sent to fal (a Mix, a hand-made request), it goes and the run says what the licence says...+ expect(wiggle.parity).toBe("On your GPU, Fuobe DoP uses a style trained for this move.");+ // Sent to fal (a Mix, a hand-made request), it goes (its licence is on Thanks & licences)...const fal = getModel(DOP_MODEL)!.routes.find((r) => r.provider === "fal" && r.op === "i2v")!;const sent = fitLoras(wiggle.open!.loras ?? [], fal);expect(sent.loras).toHaveLength(2);- expect(sent.notes.join(" ")).toMatch(/licence allows your GPU only/);+ expect(sent.notes).toEqual([]);// ...unless Settings → Models & licences keeps such LoRAs on the GPU.const kept = fitLoras((wiggle.open!.loras ?? []).map((l) => ({ ...l, keepOnGpu: true as const })), fal);expect(kept.loras).toEqual([]);diff --git a/tests/remove-object-api.test.ts b/tests/remove-object-api.test.tsindex 528221aa..bac3a406 100644--- a/tests/remove-object-api.test.ts+++ b/tests/remove-object-api.test.ts@@ -140,7 +140,7 @@ describe("Remove object: estimates", () => {expect((await small.json()).error).toMatch(/720 px on each side/);});- it("open engine: free, in windows, with the GPU and licence said", async () => {+ it("open engine: free, in windows, with the GPU said", async () => {const e = await (await estimateRoute.POST(json(body({ engine: "open", source: { url: clip, duration: 12, fps: 16, width: 72, height: 128, hasAudio: true } })))).json();expect(e).toMatchObject({ modelId: "oss-vace-remove", pieces: 3, costUsd: 0 });expect(e.notes.join(" ")).toMatch(/81 frames at a time/);@@ -152,7 +152,8 @@ describe("Remove object: estimates", () => {expect(painted.notes.join(" ")).toMatch(/runs as 3 windows/);const effects = await (await estimateRoute.POST(json(body({ engine: "open", effects: true, source: { url: clip, duration: 12, fps: 16 } })))).json();expect(effects.modelId).toBe("oss-void-remove");- expect(effects.notes.join(" ")).toMatch(/CogVideoX/);+ expect(effects.notes.join(" ")).toMatch(/VOID needs a 24–40 GB GPU/);+ expect(effects.notes.join(" ")).not.toMatch(/licen[cs]e/i);});it("open engine, H3 person removal: the clean first frame, H3 Relay and the GPU said; the LoRA switched off refuses", async () => {@@ -163,7 +164,7 @@ describe("Remove object: estimates", () => {expect(notes).toMatch(/clean copy of the part's first frame with the person gone/);expect(notes).toMatch(/H3_RELAY=1/);expect(notes).toMatch(/People only/);- expect(notes).toMatch(/MiniMax H3 Community License — not licensed in the US, the EU, the UK and South Korea/);+ expect(notes).not.toMatch(/licen[cs]e/i);expect((await (await h3({ prompt: " " })).json()).error).toMatch(/Say who to remove/);const { changeAccess } = await import("@/server/model-access");changeAccess([{ kind: "lora", id: "H3-Person-Remover-V1.safetensors", on: false }]);diff --git a/tests/remove-object.test.ts b/tests/remove-object.test.tsindex b07ed656..db552f13 100644--- a/tests/remove-object.test.ts+++ b/tests/remove-object.test.ts@@ -78,10 +78,10 @@ describe("Remove object: erasers", () => {expect(getModel("oss-void-remove")!.routes[0].endpoint).toBe("video-erase-void");expect(getModel("oss-vace-remove-painted")!.options.requires).toMatchObject({ mask: true });expect(promptOptional(getModel("oss-vace-remove")!, "remove-object")).toBe(false);- // VRAM and licences are said where the model is picked.- expect(getEraser("oss-void-remove")!.note).toMatch(/CogVideoX License/);- expect(getEraser("oss-void-remove")!.note).toContain("· 24–40 GB GPU ·");- expect(getModel("oss-void-remove")!.tagline).toContain("· 24–40 GB GPU ·");+ // VRAM is said where the model is picked (licences are on Thanks & licences).+ expect(getEraser("oss-void-remove")!.note).not.toMatch(/licen[cs]e/i);+ expect(getEraser("oss-void-remove")!.note).toMatch(/· 24–40 GB GPU$/);+ expect(getModel("oss-void-remove")!.tagline).toMatch(/· 24–40 GB GPU$/);expect(getEraser("oss-vace-remove")!.note).toMatch(/24 GB/);});diff --git a/tests/replicate-lora.test.ts b/tests/replicate-lora.test.tsindex 3fd6fb78..6be4b7dd 100644--- a/tests/replicate-lora.test.ts+++ b/tests/replicate-lora.test.ts@@ -157,9 +157,9 @@ describe("Replicate LoRA payloads", () => {it("returns what a run leaves out with the generations it creates", async () => {setSetting("demoMode", "on");const wiggle = loraRef(loraEntry("civitai-2490836-wiggle-redmond")!);- // Sent (the licence is information, said in the notes)...+ // Sent (its licence is information, on Thanks & licences, not a note)...const [sent] = createGenerations({ feature: "image", modelId: "z-image-turbo-cloud", prompt: "a cat", loras: [wiggle] });- expect(sent.notes).toEqual(["Wiggle Redmond: its licence allows your GPU only (civitai lists no “Rent”); it runs in the cloud because Settings → Models & licences lets such LoRAs go there"]);+ expect(sent.notes ?? []).toEqual([]);// ...or left out while the admin keeps LoRAs licensed for the GPU only there.changeAccess([{ kind: "keepGpuOnlyLoras", on: true }]);const [g] = createGenerations({ feature: "image", modelId: "z-image-turbo-cloud", prompt: "a cat", loras: [wiggle] });diff --git a/tests/thanks.test.ts b/tests/thanks.test.tsnew file mode 100644index 00000000..b1ce6d1d--- /dev/null+++ b/tests/thanks.test.ts@@ -0,0 +1,113 @@+import fs from "node:fs";+import path from "node:path";+import { createElement } from "react";+import { renderToStaticMarkup } from "react-dom/server";+import { describe, expect, it } from "vitest";+import { ThanksView } from "@/components/thanks/thanks-view";+import { CLOUD_NOTICES } from "@/lib/av/model3d";+import { MODELS } from "@/lib/catalog";+import { ATTRIBUTIONS, buildLicenceList, licenceInfo, NODE_PACKS, OPENMDW_NOTICE } from "@/lib/licences";+import { loraLicenceRows } from "@/lib/lora-licences";+import { baseLabel, buildThanks, groupOf, ownerOf, packageFacts, searchText, shownName } from "@/lib/thanks";+import { readThanks } from "@/server/thanks";++const ROOT = path.join(__dirname, "..");+const manifest = JSON.parse(fs.readFileSync(path.join(ROOT, "workflows", "comfyui", "manifest.json"), "utf8")) as {+ workflows: { id: string; title: string; capability: string; license?: string; models?: { url?: string; sizeGb?: number }[] }[];+};+const pkg = JSON.parse(fs.readFileSync(path.join(ROOT, "package.json"), "utf8")) as { dependencies: Record<string, string> };++const thanks = readThanks(ROOT);+const html = renderToStaticMarkup(createElement(ThanksView, { thanks }));+/** The page's text as a visitor reads it: tags out, entities back to characters. */+const text = html+ .replace(/<[^>]+>/g, " ")+ .replace(/&/g, "&")+ .replace(/'|'/g, "'")+ .replace(/"/g, '"')+ .replace(/</g, "<")+ .replace(/>/g, ">");+const rows = thanks.groups.flatMap((g) => g.rows);+const shown = (s: string) => text.includes(s);++describe("Thanks & licences", () => {+ it("lists every open model CREDITS.md lists, with each of its licences by name", () => {+ const list = buildLicenceList(+ MODELS.map((m) => ({ id: m.id, name: m.name, vendor: m.vendor, kind: m.kind, hidden: m.hidden, routes: m.routes })),+ manifest.workflows,+ );+ expect(list.rows.length).toBeGreaterThan(100);+ for (const r of list.rows) {+ expect(rows.some((x) => x.id === `model:${r.id}`), r.id).toBe(true);+ expect(shown(r.name), r.name).toBe(true);+ for (const l of r.licences) expect(shown(shownName(licenceInfo(l).name)), `${r.name}: ${l}`).toBe(true);+ }+ });++ it("lists every LoRA, node pack, credit and package the app ships with", () => {+ const loras = loraLicenceRows();+ expect(loras.length).toBeGreaterThan(100);+ for (const l of loras) {+ expect(rows.some((x) => x.id === `lora:${l.file}`), l.file).toBe(true);+ expect(shown(l.name), l.name).toBe(true);+ expect(shown(shownName(l.licence.name)), `${l.name}: ${l.licence.name}`).toBe(true);+ }+ for (const p of NODE_PACKS) {+ expect(shown(p.name), p.name).toBe(true);+ expect(shown(shownName(p.licence.name)), `${p.name}: ${p.licence.name}`).toBe(true);+ }+ for (const a of ATTRIBUTIONS) expect(shown(a.text.replace(/, copyright \(c\).*$/i, "").replace(/ by .+$/, "")), a.text).toBe(true);+ for (const name of Object.keys(pkg.dependencies)) expect(rows.some((x) => x.id === `package:${name}`), name).toBe(true);+ expect(shown("ComfyUI")).toBe(true);+ expect(shown("Fuobe")).toBe(true);+ });++ it("names every notice a licence asks the app to show, and marks the rows that carry one", () => {+ const list = buildLicenceList(MODELS.map((m) => ({ id: m.id, name: m.name, vendor: m.vendor, kind: m.kind, routes: m.routes })), manifest.workflows);+ const wanted = new Set([...list.notices.map((n) => n.text), ...Object.values(CLOUD_NOTICES).flat()].filter((n) => n !== OPENMDW_NOTICE));+ expect([...wanted]).toEqual(expect.arrayContaining(["MiniMax H3", "Built with DINOv3", "Built with Llama"]));+ for (const n of wanted) {+ expect(thanks.credits.map((c) => c.text), n).toContain(n);+ expect(shown(n), n).toBe(true);+ expect(rows.some((r) => r.credits?.includes(n)), n).toBe(true);+ }+ // The licence that asks for its notices to travel with the weights is a condition, not a name to show.+ expect(thanks.credits.map((c) => c.text)).not.toContain(OPENMDW_NOTICE);+ expect(rows.some((r) => r.condition?.includes(OPENMDW_NOTICE))).toBe(true);+ });++ it("groups the rows the way the page jumps to them, each with what Fuobe uses it for and a licence", () => {+ expect(thanks.groups.map((g) => g.id)).toEqual(expect.arrayContaining(["image", "video", "audio", "3d", "loras", "packs", "code"]));+ expect(new Set(rows.map((r) => r.id)).size).toBe(rows.length);+ for (const r of rows) {+ expect(r.use.trim(), r.id).not.toBe("");+ expect(r.licences.length, r.id).toBeGreaterThan(0);+ expect(searchText(r)).toContain(r.name.toLowerCase());+ }+ for (const g of thanks.groups) expect(html).toContain(`id="thanks-${g.id}"`);+ // Plain conditions, no internal words.+ expect(text).toMatch(/Non-commercial use only/);+ expect(text).toMatch(/Not licensed in the US, the EU, the UK and South Korea/);+ expect(text).not.toMatch(/unverified|not checked|research holds|placeholder/i);+ });++ it("reads plain facts from the data", () => {+ expect(groupOf("model3d")).toBe("3d");+ expect(groupOf("interpolate")).toBe("video");+ expect(groupOf("enhance-voice")).toBe("audio");+ expect(groupOf("bg-remove")).toBe("image");+ expect(ownerOf("https://huggingface.co/Shakker-Labs/AWPortrait-Z")).toBe("Shakker-Labs");+ expect(ownerOf("https://civitai.com/models/1")).toBeUndefined();+ expect(baseLabel("wan2.2-i2v-a14b")).toBe("Wan 2.2");+ expect(baseLabel("z-image-turbo")).toBe("Z-Image");+ expect(packageFacts({ author: "Colin McDonnell <[email protected]>", repository: { url: "git+https://github.com/colinhacks/zod.git" }, license: "MIT" })).toEqual({+ author: "Colin McDonnell",+ url: "https://github.com/colinhacks/zod",+ license: "MIT",+ });+ expect(packageFacts({ repository: "vercel/next.js" })).toEqual({ author: "vercel", url: "https://github.com/vercel/next.js" });+ // A model's licence is said once per name, linked where the data has a page.+ const empty = buildThanks({ models: [], workflows: [], loras: [], packages: [] });+ expect(empty.groups.map((g) => g.id)).toEqual(["packs", "code"]);+ });+});