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
Licences as information in the eval harness, the ComfyUI install and preset lines
Claudeb265c1cf63f0
diff --git a/scripts/comfy/README.md b/scripts/comfy/README.mdindex 8a682916..d105bcd0 100644--- a/scripts/comfy/README.md+++ b/scripts/comfy/README.md@@ -93,7 +93,7 @@ node validate-workflows.mjs <ids>stream is copied packet by packet (bit-identical, no decode), only the AAC soundtrack is encoded. The two-trackgraph mixes voice and background over `EmptyAudio` of the video's length (`AudioMerge` cuts its second track tothe first one's length). A 900-frame clip muxes in ~5 s at +0.02 GB RSS.-- **`captions-whisper-burnin`** decodes the whole clip (VHS) and needs ComfyUI-Whisper (`NC_PACKS=1`); the provider+- **`captions-whisper-burnin`** decodes the whole clip (VHS) and needs ComfyUI-Whisper (non-commercial code, installed unless `NC_PACKS=0`); the providerrefuses clips that would need more than half the server's RAM and points to the chunked route.- **New entry fields**: `worker: "isolated"` (below), `expand`, and on outputs `stem` (`voice` | `background`) and`role` (`cues`, `transcript`, `language`, `sheet`, `tiles`, `layers`, `first-frame`, `turntable`).diff --git a/scripts/comfy/install-comfyui.sh b/scripts/comfy/install-comfyui.shindex 874560cf..6392f99b 100755--- a/scripts/comfy/install-comfyui.sh+++ b/scripts/comfy/install-comfyui.sh@@ -32,9 +32,10 @@ declare -A NODES=(# round 4 (2026-10-22): VTracer image → SVG (the Vectorize app's open route)[ComfyUI-ToSVG]="https://github.com/Yanick112/ComfyUI-ToSVG 1022ba05318dccb4fe586ce5bbd09f1f0b3c7909")-# Non-commercial node code is opt-in: NC_PACKS=1 also installs ComfyUI-Whisper (CC-BY-NC-SA-4.0), used only by the-# optional captions-whisper-burnin workflow. The default caption route (Qwen3-ASR + core burn-in) does not need it.-if [ "${NC_PACKS:-0}" = "1" ]; then+# Licences are information (Settings → Models & licences has the switches): every pack is installed, the+# non-commercial ComfyUI-Whisper (CC-BY-NC-SA-4.0, used by the captions-whisper-burnin workflow) included.+# NC_PACKS=0 leaves the non-commercial packs out of this install.+if [ "${NC_PACKS:-1}" = "1" ]; thenNODES[ComfyUI-Whisper]="https://github.com/yuvraj108c/ComfyUI-Whisper 006a709848259ed3d69e2f9fcfd7a75f6c860ddd"fi@@ -81,14 +82,14 @@ fi# Chatterbox's Perth watermarker (recommended in production for cloned voices; optional for validation):# uv pip install --python "$PY" resemble-perth-# ComfyUI-HunyuanVideo-Foley needs loguru; ComfyUI-Whisper (NC_PACKS=1) needs openai-whisper (built from sdist).+# ComfyUI-HunyuanVideo-Foley needs loguru; ComfyUI-Whisper (unless NC_PACKS=0) needs openai-whisper (built from sdist).# ComfyUI-MelBandRoFormer needs rotary_embedding_torch + einops (installed above).# ComfyUI-QwenASR: do NOT install its requirements.txt (nagisa/DyNet38 have no cp313 wheels and are unused on the# Hugging Face path); transformers>=5.13 from ComfyUI's requirements is all it needs.uv pip install --python "$PY" loguru# ComfyUI-ToSVG imports vtracer (MIT), potracer and PyMuPDF (AGPL-3.0, used only by its SVG-to-image node) at load time.uv pip install --python "$PY" "vtracer==0.6.15" "potracer==0.0.4" "PyMuPDF==1.26.5"-if [ "${NC_PACKS:-0}" = "1" ]; then uv pip install --python "$PY" "openai-whisper==20250625"; fi+if [ "${NC_PACKS:-1}" = "1" ]; then uv pip install --python "$PY" "openai-whisper==20250625"; fi# Optional isolated worker (never in this install or its venv): LatentSync 1.6 lipsync and ThinkSound SFX change# process-wide state or pin old packages, so they run on a second ComfyUI with its own code copy, base directory,diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex 56cb41ab..880abdd6 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -2291,7 +2291,7 @@ export const SPEC = [autoDownloads: ['Apply Whisper downloads large-v3-turbo.pt (1.62 GB) into models/stt/whisper on first run'],notes:'All-ComfyUI alternative that transcribes and burns in one job (word-by-word captions from words_alignment). One style per run (font, size, colour, border, centred). ' +- 'Because of the NC code licence the default open route is captions-qwen3-asr + captions-burnin, and install-comfyui.sh only installs ComfyUI-Whisper with NC_PACKS=1. Save SRT (not an output node) is dropped; the transcript text is kept. ' ++ 'The default open route is captions-qwen3-asr + captions-burnin (chosen because of this NC code licence, which is now information: Settings → Models & licences); install-comfyui.sh installs ComfyUI-Whisper unless NC_PACKS=0. Save SRT (not an output node) is dropped; the transcript text is kept. ' +'VHS_LoadVideo decodes the whole clip and Add Subtitles To Frames copies it (about 2.5 copies of the frames in RAM): the provider refuses clips that would need more than half of the ComfyUI server\'s RAM and points to the chunked route. ' +'sourceLanguage takes Whisper\'s own names (the provider maps ISO codes: tl/fil -> Tagalog, he -> Hebrew).',},diff --git a/scripts/eval/README.md b/scripts/eval/README.mdindex b96b7019..3ab72536 100644--- a/scripts/eval/README.md+++ b/scripts/eval/README.md@@ -173,10 +173,12 @@ the catalog run.The recipe's licence flags go with every job, following the research's "Licence rules forOriginals":-- A LoRA whose licence forbids hosted use never goes to the cloud engine.+- Licences are information (Settings → Models & licences): a LoRA licensed for the GPU only goes to the+ cloud engine like any other, unless the install keeps such LoRAs on the GPU there.- A civitai link is left out on the cloud until a mirrored copy exists, because civitai answers 401without your token.-- A non-commercial LoRA is noted, and a recipe that uses one can't be promoted.+- A non-commercial LoRA is noted on the verdict; with `--licence-hold`, a recipe that uses one isn't+ promoted.- A LoRA link (your own variant's included) must be on Hugging Face, civitai, fal or Replicate: the APIrefuses other hosts, since the server may download an unknown file from it before a ComfyUI run.@@ -322,7 +324,7 @@ still has its timing and cost, and the report says why the scores are missing.| Prompt adherence | `clip` | higher | CLIPScore (100·cos) between the output and the case's own words. Clips are sampled at 4 frames | open_clip ViT-B/32 laion2B, **MIT** (`--clip-model clip-l14`: OpenAI ViT-L/14, MIT) || Aesthetic | `aesthetic` | higher | LAION improved aesthetic predictor v2 on CLIP ViT-L/14 embeddings, about 1–10 | head **Apache-2.0** (christophschuhmann/improved-aesthetic-predictor), CLIP MIT || Style vs references | `style`, `styleNearest` | higher | cosine of the output's embedding to the centroid of the look's reference set, and to the nearest reference | CLIP (default), or `--style-model dinov2`: DINOv2 ViT-S/14 via timm, **Apache-2.0** |-| Identity | `identity`, `faceRate` | higher | ArcFace-style face embeddings of the output against the person's photos; the share of frames with a face | **AuraFace v1**'s recognition model (fal, **Apache-2.0**, trained for commercial use), with faces found and aligned by **YuNet** (OpenCV Zoo, **MIT**). The SCRFD detector AuraFace's repo ships comes from insightface's model zoo (released for non-commercial research; the licence is unclear), so it runs only with `--face-detector scrfd`. insightface's `buffalo_l` is **non-commercial research only**: opt in with `--identity-model buffalo_l --accept-noncommercial` |+| Identity | `identity`, `faceRate` | higher | ArcFace-style face embeddings of the output against the person's photos; the share of frames with a face | **AuraFace v1**'s recognition model (fal, **Apache-2.0**, trained for commercial use), with faces found and aligned by **YuNet** (OpenCV Zoo, **MIT**). The SCRFD detector AuraFace's repo ships comes from insightface's model zoo (released for non-commercial research; the licence is unclear), so it runs only with `--face-detector scrfd`. insightface's `buffalo_l` is **non-commercial research only** (recorded with the result): pick it with `--identity-model buffalo_l`; `--commercial-only` refuses it || Temporal consistency | `drift`, `driftMax`, `warp` | lower | frame-to-frame CLIP embedding drift (mean and worst jump), and a warp error: Farneback optical flow with a forward-backward occlusion mask | CLIP, OpenCV (Apache-2.0) || Lip-sync | `lipsync`, `lipsyncOffset` | higher | a proxy: mouth-region motion against the voice's loudness, with the best lag as the A/V offset | the identity metric's face detector for the face box when identity is installed, else a fixed lower-centre region || SyncNet (optional) | `syncnet` | higher | runs only when `FUOBE_EVAL_SYNCNET_CMD` points at your own SyncNet. It isn't bundled because its weights' licence isn't stated | yours |@@ -383,9 +385,9 @@ when the run has it, else the run's first variant; `--candidate` picks another.become the default only when one run, on the same prompts and seeds, shows all of the following forthe case:-1. **Licence**: every LoRA it loaded is commercial, and is hostable when the run is on the cloud.- None of the recipe's LoRAs was left out on that engine. A licence problem holds the recipe whatever- else won.+1. **Complete**: none of the recipe's LoRAs was left out on that engine. Its licences are information:+ a non-commercial LoRA (or one licensed for the GPU only, on a cloud run) is a note on the verdict, and+ holds the recipe only with `--licence-hold`.2. **Enough results**: at least 3 for the case.3. **Metrics**: against every alternative in the run (prompt only, half strength, the bare base,today's default), it scores at least as well on the case's main metric: the first of style (a look@@ -433,8 +435,9 @@ instead of their procedural preview.- `--variant catalog` takes that variant's renders for every case instead, such as what ships today.- `--dry-run` lists what it would pick.-- Only Fuobe's own renders become covers: a demo run never does, nor a render whose LoRAs aren't- commercial. No Higgsfield preview is used anywhere.+- Only Fuobe's own renders become covers: a demo run never does. A render whose LoRAs aren't commercial+ becomes one with its licence noted (`licence` in the result); `--commercial-only` leaves it out. No+ Higgsfield preview is used anywhere.- It needs ffmpeg. Look at the media and the generated file's diff before committing them.## Testsdiff --git a/scripts/eval/eval.mjs b/scripts/eval/eval.mjsindex 428ffb49..9983c0ce 100644--- a/scripts/eval/eval.mjs+++ b/scripts/eval/eval.mjs@@ -29,7 +29,7 @@ const num = (v, name) => {class Usage extends Error {}const COMMON = { url: { type: "string" }, token: { type: "string" }, out: { type: "string" }, json: { type: "boolean" }, help: { type: "boolean", short: "h" } };-const SCORE = { "no-metrics": { type: "boolean" }, metrics: { type: "string" }, device: { type: "string" }, "clip-model": { type: "string" }, "style-model": { type: "string" }, "identity-model": { type: "string" }, "face-detector": { type: "string" }, "accept-noncommercial": { type: "boolean" }, force: { type: "boolean" } };+const SCORE = { "no-metrics": { type: "boolean" }, metrics: { type: "string" }, device: { type: "string" }, "clip-model": { type: "string" }, "style-model": { type: "string" }, "identity-model": { type: "string" }, "face-detector": { type: "string" }, "accept-noncommercial": { type: "boolean" }, "commercial-only": { type: "boolean" }, force: { type: "boolean" } };const HELP = {run: `pnpm eval:run --suite <name> --engine demo|open|cloud [options]@@ -55,12 +55,15 @@ const HELP = {report: "pnpm eval:report <runId|latest> [--no-metrics] [--metrics clip,style] [--device cpu|cuda|auto] [--style-model clip|dinov2] [--face-detector yunet|scrfd] [--force]",review: "pnpm eval:review <runId|latest> [--against variants|references|<otherRunId>] [--port 4173] [--no-serve] [--limit n]",compare: "pnpm eval:compare <runA[:variant]> <runB[:variant]> [--fail-on clip,aesthetic] [--threshold 1|5%] [--per-case]",- promote: `pnpm eval:promote <runId> [--candidate recipe] [--against prompt-only,half-strength,plain] [--record [--apply-strengths] [--research file]]+ promote: `pnpm eval:promote <runId> [--candidate recipe] [--against prompt-only,half-strength,plain] [--record [--apply-strengths] [--research file]] [--licence-hold]++ --licence-hold a non-commercial LoRA (or one licensed for the GPU only, on a cloud run) holds the recipe;+ without it the licence is a note on the verdict--record writes each case's verdict into the research JSON entry it measured--apply-strengths with --record: where half strength won, lowers that entry's LoRA strengths to the ones it ran(review the diff, then pnpm gen:catalog and run both engines again)`,- covers: `pnpm eval:covers <runId> [--variant <name>] [--dry-run] [--public-dir public] [--manifest src/lib/preset-previews.generated.ts]+ covers: `pnpm eval:covers <runId> [--variant <name>] [--dry-run] [--public-dir public] [--manifest src/lib/preset-previews.generated.ts] [--commercial-only]The best render of each promoted case becomes its preset's cover: encoded small into public/previews/<suite>/and listed in src/lib/preset-previews.generated.ts, which the gallery cards show. --variant takes that@@ -128,7 +131,7 @@ const root = (values, env) => resultsDir(env, values.out);async function score(dir, v, ctx) {if (v["no-metrics"]) return null;ctx.note("Scoring the outputs…");- const r = await scoreRun(dir, { metrics: v.metrics, device: v.device, clipModel: v["clip-model"], styleModel: v["style-model"], identityModel: v["identity-model"], faceDetector: v["face-detector"], acceptNoncommercial: v["accept-noncommercial"], force: v.force, log: ctx.note, env: ctx.env });+ const r = await scoreRun(dir, { metrics: v.metrics, device: v.device, clipModel: v["clip-model"], styleModel: v["style-model"], identityModel: v["identity-model"], faceDetector: v["face-detector"], commercialOnly: v["commercial-only"], force: v.force, log: ctx.note, env: ctx.env });if (!r.ok) ctx.note(`Not scored: ${r.reason}. Timing and cost are in the report; pnpm eval:report ${path.basename(dir)} scores it later.`);return r;}@@ -304,10 +307,10 @@ async function compare(args, ctx) {}async function promoteCmd(args, ctx) {- const { values: v, positionals } = parse(args, { candidate: { type: "string" }, against: { type: "string" }, record: { type: "boolean" }, "apply-strengths": { type: "boolean" }, research: { type: "string" } }, { positionals: true });+ const { values: v, positionals } = parse(args, { candidate: { type: "string" }, against: { type: "string" }, record: { type: "boolean" }, "apply-strengths": { type: "boolean" }, research: { type: "string" }, "licence-hold": { type: "boolean" } }, { positionals: true });if (v.help) return ctx.print(HELP.promote), 0;const { dir } = resolveRun(root(v, ctx.env), positionals[0] ?? "latest");- const doc = promote(dir, { candidate: v.candidate, alternatives: list(v.against) });+ const doc = promote(dir, { candidate: v.candidate, alternatives: list(v.against), ...(v["licence-hold"] && { rule: { licenceHold: true } }) });ctx.print(v.json ? JSON.stringify(doc, null, 2) : promoteText(doc));if (v["apply-strengths"] && !v.record) throw new Usage("--apply-strengths goes with --record");if (!v.record) return 0;@@ -403,10 +406,10 @@ async function trash(args, ctx) {}async function covers(args, ctx) {- const { values: v, positionals } = parse(args, { variant: { type: "string" }, "dry-run": { type: "boolean" }, "public-dir": { type: "string" }, manifest: { type: "string" } }, { positionals: true });+ const { values: v, positionals } = parse(args, { variant: { type: "string" }, "dry-run": { type: "boolean" }, "public-dir": { type: "string" }, manifest: { type: "string" }, "commercial-only": { type: "boolean" } }, { positionals: true });if (v.help) return ctx.print(HELP.covers), 0;const { dir } = resolveRun(root(v, ctx.env), positionals[0] ?? "latest");- const r = makeCovers(dir, { variant: v.variant, dryRun: v["dry-run"], publicDir: v["public-dir"] && path.resolve(v["public-dir"]), manifest: v.manifest && path.resolve(v.manifest) });+ const r = makeCovers(dir, { variant: v.variant, dryRun: v["dry-run"], publicDir: v["public-dir"] && path.resolve(v["public-dir"]), manifest: v.manifest && path.resolve(v.manifest), commercialOnly: v["commercial-only"] });if (v.json) return ctx.print(JSON.stringify(r, null, 2)), 0;ctx.print(`${r.covers.length} cover${r.covers.length === 1 ? "" : "s"} from ${r.runId} (${r.engine}, ${r.variant})${v["dry-run"] ? " would be made" : ""}`);for (const c of r.covers) ctx.print(` ${c.key} ← ${c.job}${c.metric ? ` (best ${c.metric}${c.score != null ? ` ${Number(c.score).toFixed(3)}` : ""})` : ""}`);diff --git a/scripts/eval/lib/compare.mjs b/scripts/eval/lib/compare.mjsindex 63090cc6..7373cf87 100644--- a/scripts/eval/lib/compare.mjs+++ b/scripts/eval/lib/compare.mjs@@ -151,8 +151,9 @@ export function compareText(c) {/*** The promote rule. A recipe (the candidate variant) becomes a look's default only when, in one run* with the same prompts and seeds:- * 1. its licence allows it: every LoRA it loaded is commercial, hostable when the run is on the- * cloud, and none of the recipe's LoRAs was left out on this engine;+ * 1. none of the recipe's LoRAs was left out on this engine (its licences are information: a+ * non-commercial LoRA, or one licensed for the GPU only on a cloud run, is said in the notes, and+ * holds the recipe only with `licenceHold`, the admin's --licence-hold);* 2. it made at least `minJobs` results for the case;* 3. against every alternative in the run (prompt only, half strength, the bare base, today's* default…) it scores at least as well on the case's main metric, and gives up no more than the@@ -163,11 +164,11 @@ export function compareText(c) {* 4. people prefer it in a blind review of this case's own pictures: at least `minRatings` ratings* against the alternatives (every pair the review offered when it offered fewer), and at least* `minPreference` of the non-tie ones for the candidate.- * Half strength beating the full recipe means the LoRAs over-cook: lower them (and run again). A licence- * problem holds the recipe whatever else happened. Passing the rule makes a recipe eligible; the catalog- * default is still changed by hand, in a reviewed commit, on both engines.+ * Half strength beating the full recipe means the LoRAs over-cook: lower them (and run again). Passing the+ * rule makes a recipe eligible; the catalog default is still changed by hand, in a reviewed commit, on both+ * engines.*/-export const PROMOTE_RULE = { minJobs: 3, clipGuard: 1.0, aestheticGuard: 0.15, warpGuard: 0.002, driftGuard: 0.004, minRatings: 6, minPreference: 0.55 };+export const PROMOTE_RULE = { minJobs: 3, clipGuard: 1.0, aestheticGuard: 0.15, warpGuard: 0.002, driftGuard: 0.004, minRatings: 6, minPreference: 0.55, licenceHold: false };/** The metrics a case is judged on, most specific first (see PROMOTE_RULE). */export const MAIN_METRICS = ["style", "lipsync", "identity", "aesthetic", "clip", "warp"];@@ -192,7 +193,7 @@ export function promote(dir, { candidate, alternatives, rule = PROMOTE_RULE } =const ok = mine.filter((r) => r.status === "succeeded");const scoresOf = (list) => list.map((r) => jobScores(r, L.metrics));const m = (list, k) => mean(scoresOf(list).map((s) => s[k]));- /** Licence problems hold a recipe whatever the scores say; the rest can be fixed by another run. */+ /** What the recipe's licences say: information, or a hold with rule.licenceHold (--licence-hold). */const licence = [];const reasons = [];const notes = [];@@ -206,7 +207,8 @@ export function promote(dir, { candidate, alternatives, rule = PROMOTE_RULE } =const nonCommercial = applied.filter((l) => lib.get(l.file)?.commercial === false);const notHostable = L.run.engine === "cloud" ? applied.filter((l) => lib.get(l.file)?.hostedOk === false) : [];if (recipe?.commercialOk === false || nonCommercial.length) licence.push(`non-commercial LoRA${nonCommercial.length > 1 ? "s" : ""}: ${nonCommercial.map((l) => l.file).join(", ") || "the recipe is flagged"}`);- if (notHostable.length) licence.push(`not allowed on hosted services: ${notHostable.map((l) => l.file).join(", ")}`);+ if (notHostable.length) licence.push(`licensed for the GPU only, run on a hosted service: ${notHostable.map((l) => l.file).join(", ")}`);+ if (!rule.licenceHold) notes.push(...licence.map((l) => `licence: ${l}`));if (mine.some((r) => r.recipe?.complete === false || r.recipe?.sent?.complete === false)) reasons.push("some of the recipe's LoRAs were left out on this engine, so this isn't the recipe");// 2. enough resultsif (ok.length < rule.minJobs) reasons.push(`${ok.length} result${ok.length === 1 ? "" : "s"}, the rule wants ${rule.minJobs}`);@@ -257,9 +259,11 @@ export function promote(dir, { candidate, alternatives, rule = PROMOTE_RULE } =const got = forCand + forAlt + ties;if (got < want) reasons.push(`needs a blind review of this case: ${got} rating${got === 1 ? "" : "s"} against the alternatives, the rule wants ${want}${offered && offered < rule.minRatings ? " (every pair the review offered)" : ""} (pnpm eval:review)`);else if (forCand + forAlt && forCand / (forCand + forAlt) < rule.minPreference) reasons.push(`people preferred it ${Math.round((100 * forCand) / (forCand + forAlt))}% of the time, the rule wants ${Math.round(rule.minPreference * 100)}%`);- // A licence problem holds the recipe; over-cooking is its own verdict (the fix is a lower strength, not another recipe).- const verdictText = licence.length ? "hold" : !reasons.length ? "promote" : overcooked ? "lower strengths" : "hold";- results.push({ caseId, title: mine[0]?.caseTitle ?? caseId, look: recipe?.look ?? null, target: researchTarget(recipe), candidate: cand, verdict: verdictText, reasons: [...licence, ...reasons], notes, mainMetric: main, against, ratings: { forCandidate: forCand, forAlternatives: forAlt, ties, offered }, recipe: recipe ? { loras: applied.map((l) => ({ file: l.file, strength: l.strength ?? 1 })), source: recipe.source } : null, ...(suggested && { suggested }) });+ // A licence holds the recipe only when asked (--licence-hold); over-cooking is its own verdict (the fix is a lower+ // strength, not another recipe).+ const held = rule.licenceHold ? licence : [];+ const verdictText = held.length ? "hold" : !reasons.length ? "promote" : overcooked ? "lower strengths" : "hold";+ results.push({ caseId, title: mine[0]?.caseTitle ?? caseId, look: recipe?.look ?? null, target: researchTarget(recipe), candidate: cand, verdict: verdictText, reasons: [...held, ...reasons], notes, mainMetric: main, against, ratings: { forCandidate: forCand, forAlternatives: forAlt, ties, offered }, recipe: recipe ? { loras: applied.map((l) => ({ file: l.file, strength: l.strength ?? 1 })), source: recipe.source } : null, ...(suggested && { suggested }) });}const doc = {runId: L.run.runId,diff --git a/scripts/eval/lib/covers.mjs b/scripts/eval/lib/covers.mjsindex 8ca7e6cd..1da404b2 100644--- a/scripts/eval/lib/covers.mjs+++ b/scripts/eval/lib/covers.mjs@@ -125,11 +125,12 @@ export function makeCovers(dir, opts = {}) {continue;}const rows = L.rows.filter((r) => r.caseId === caseId && r.variant === variant && r.status === "succeeded");- // Licence: a render whose LoRAs can't be sold isn't shipped as a cover.+ // Licence: information on the cover (`licence`); with --commercial-only a render whose LoRAs can't be sold is left out.const lib = new Map((rows[0]?.recipe?.loras ?? []).map((l) => [l.file, l]));const blocked = (rows[0]?.recipe?.applied ?? []).filter((l) => lib.get(l.file)?.commercial === false);- if (rows[0]?.recipe?.commercialOk === false || blocked.length) {- skipped.push({ caseId, why: `non-commercial LoRA${blocked.length > 1 ? "s" : ""} ${blocked.map((l) => l.file).join(", ")}`.trim() });+ const licence = rows[0]?.recipe?.commercialOk === false || blocked.length ? `non-commercial LoRA${blocked.length > 1 ? "s" : ""} ${blocked.map((l) => l.file).join(", ")}`.trim() : undefined;+ if (licence && opts.commercialOnly) {+ skipped.push({ caseId, why: `${licence} (--commercial-only)` });continue;}const metric = verdict?.mainMetric ?? null;@@ -138,11 +139,11 @@ export function makeCovers(dir, opts = {}) {skipped.push({ caseId, why: `no ${variant} render` });continue;}- picked.push({ caseId, key: coverKey(best), row: best, metric, score: metric ? (jobScores(best, L.metrics)[metric] ?? null) : null });+ picked.push({ caseId, key: coverKey(best), row: best, metric, score: metric ? (jobScores(best, L.metrics)[metric] ?? null) : null, ...(licence && { licence }) });}const result = { runId: L.run.runId, engine: L.run.engine, variant, covers: [], skipped, manifest: opts.manifest ?? MANIFEST_FILE, folder: outDir };if (opts.dryRun) {- result.covers = picked.map((p) => ({ key: p.key, caseId: p.caseId, job: p.row.id, metric: p.metric, score: p.score }));+ result.covers = picked.map((p) => ({ key: p.key, caseId: p.caseId, job: p.row.id, metric: p.metric, score: p.score, ...(p.licence && { licence: p.licence }) }));return result;}if (picked.length) fs.mkdirSync(outDir, { recursive: true });@@ -152,7 +153,7 @@ export function makeCovers(dir, opts = {}) {const files = encode(path.join(dir, out.file), out.kind, path.join(outDir, safeName(p.key)));const web = (f) => `/${path.relative(publicDir, f).split(path.sep).join("/")}`;manifest[p.key] = { poster: web(files.poster), ...(files.video && { video: web(files.video) }), run: L.run.runId, engine: L.run.engine, model: p.row.model?.id ?? "", variant };- result.covers.push({ key: p.key, caseId: p.caseId, job: p.row.id, metric: p.metric, score: p.score, ...manifest[p.key] });+ result.covers.push({ key: p.key, caseId: p.caseId, job: p.row.id, metric: p.metric, score: p.score, ...(p.licence && { licence: p.licence }), ...manifest[p.key] });}if (picked.length) writeManifest(manifest, opts.manifest);return result;diff --git a/scripts/eval/lib/metrics.mjs b/scripts/eval/lib/metrics.mjsindex a8dfa713..b1ec965b 100644--- a/scripts/eval/lib/metrics.mjs+++ b/scripts/eval/lib/metrics.mjs@@ -19,7 +19,7 @@ export function pythonCommand(env = process.env) {}/** Score a run folder; resolves with {ok, file, doc, skipped} and streams the scorer's progress to `log`. */-export function scoreRun(dir, { metrics, device, clipModel, styleModel, identityModel, faceDetector, acceptNoncommercial, force, log = () => {}, env = process.env } = {}) {+export function scoreRun(dir, { metrics, device, clipModel, styleModel, identityModel, faceDetector, commercialOnly, force, log = () => {}, env = process.env } = {}) {const py = pythonCommand(env);if (!py) return Promise.resolve({ ok: false, reason: "No Python for the metrics: run pnpm eval:setup (needs uv), or set FUOBE_EVAL_PYTHON" });const args = [@@ -33,7 +33,7 @@ export function scoreRun(dir, { metrics, device, clipModel, styleModel, identity...(styleModel ? ["--style-model", styleModel] : []),...(identityModel ? ["--identity-model", identityModel] : []),...(faceDetector ? ["--face-detector", faceDetector] : []),- ...(acceptNoncommercial ? ["--accept-noncommercial"] : []),+ ...(commercialOnly ? ["--commercial-only"] : []),...(force ? ["--force"] : []),];return new Promise((resolve) => {diff --git a/scripts/eval/metrics/fuobe_metrics/score.py b/scripts/eval/metrics/fuobe_metrics/score.pyindex 161f06f2..e335930e 100644--- a/scripts/eval/metrics/fuobe_metrics/score.py+++ b/scripts/eval/metrics/fuobe_metrics/score.py@@ -117,8 +117,9 @@ class Scorer:def faces(self):if self._faces is None:name = self.args.identity_model- if name == "buffalo_l" and not self.args.accept_noncommercial:- raise Missing("buffalo_l is licensed for non-commercial research only: add --accept-noncommercial to use it, or keep the default AuraFace (Apache-2.0)")+ # Licences are information (recorded with every result); --commercial-only refuses a non-commercial metric model.+ if name == "buffalo_l" and getattr(self.args, "commercial_only", False):+ raise Missing("buffalo_l is licensed for non-commercial research only, and --commercial-only is set: keep the default AuraFace (Apache-2.0)")detector = getattr(self.args, "face_detector", "yunet")self._faces = Faces(name, self.device, detector)# The detector is recorded on its own: its licence isn't the recognition model's.@@ -301,7 +302,8 @@ def main(argv=None) -> int:ap.add_argument("--clip-model", default="clip-b32", choices=["clip-b32", "clip-l14"])ap.add_argument("--style-model", default="clip", choices=["clip", "dinov2"], help="image embeddings for style similarity")ap.add_argument("--identity-model", default="auraface", choices=["auraface", "buffalo_l"])- ap.add_argument("--accept-noncommercial", action="store_true", help="allow buffalo_l (non-commercial research licence)")+ ap.add_argument("--accept-noncommercial", action="store_true", help="kept for older scripts: non-commercial metric models run unless --commercial-only")+ ap.add_argument("--commercial-only", action="store_true", help="refuse metric models whose licence is non-commercial (buffalo_l)")ap.add_argument("--face-detector", default="yunet", choices=["yunet", "scrfd"], help="finds faces for AuraFace: YuNet (MIT, default) or the SCRFD AuraFace ships (licence unclear)")ap.add_argument("--frames", type=int, default=24, help="frames sampled per clip for temporal metrics")ap.add_argument("--fps", type=float, default=8.0, help="sampling rate for temporal metrics")diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.tsindex 0c7e6532..efd7896f 100644--- a/src/lib/catalog/models.ts+++ b/src/lib/catalog/models.ts@@ -1104,7 +1104,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, installed only with NC_PACKS=1",+ 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)",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) },}),diff --git a/src/lib/preset-cards.ts b/src/lib/preset-cards.tsindex 6aa9459d..5aac597c 100644--- a/src/lib/preset-cards.ts+++ b/src/lib/preset-cards.ts@@ -479,9 +479,10 @@ export function presetRouteLines(return (["cloud", "open"] as const).map((engine) => {const route = p[engine];const name = route ? (nameOf(route.modelId) ?? route.modelId) : null;- // A LoRA whose licence keeps it on the user's GPU (civitai "RentCivit"): the cloud route runs the preset's words.+ // A LoRA licensed for the user's GPU only (civitai "RentCivit"): the cloud route keeps the preset's words until Fuobe+ // DoP with the LoRA is evaluated there; the licence is said, not enforced.const gpuOnly = engine === "cloud" && !route?.loras?.length && !!p.open?.loras?.length && p.open.loras.every((l) => l.licence?.hostedOk === false);- return { engine, label: engine === "cloud" ? "Cloud" : "Open source", model: name && gpuOnly ? `${name} · words only, its LoRA is open engine only` : name };+ return { engine, label: engine === "cloud" ? "Cloud" : "Open source", model: name && gpuOnly ? `${name} · words only (its LoRA is licensed for your GPU only)` : name };});}diff --git a/tests/eval-harness.test.ts b/tests/eval-harness.test.tsindex 31396b71..90c763c1 100644--- a/tests/eval-harness.test.ts+++ b/tests/eval-harness.test.ts@@ -521,7 +521,7 @@ describe("report, blind review, compare and promote", () => {expect(compare.promote(demo).results[0].reasons[0]).toBe("demo media, not model output");});- it("judges a clip on its words and guards its flicker; a licence problem holds whatever else won", () => {+ it("judges a clip on its words and guards its flicker; a licence is a note, and a hold only with --licence-hold", () => {// A DoP motion: no style or aesthetic scores, so prompt adherence decides; the suite names its candidate.const clipScores = (warp: number) => ({...Object.fromEntries(["s1001", "s2002", "s3003"].map((s) => [`motion-a--bridge--${s}--research`, { clip: 32, warp, drift: 0.02 }])),@@ -538,13 +538,18 @@ describe("report, blind review, compare and promote", () => {review3(flicker);rateFor(flicker, "research");expect((compare.promote(flicker) as Verdicts).results[0].reasons).toEqual(["it gives up warp error (flicker) against catalog (0.0400 vs 0.0300, the rule allows 0.0020)"]);- // The recipe is the candidate even when it isn't the run's first variant; a non-commercial LoRA holds it even though half strength won.+ // The recipe is the candidate even when it isn't the run's first variant. Its non-commercial LoRA is a note on the+ // verdict (half strength won, so: lower strengths); with --licence-hold it holds the recipe.const nc = { recipe: { kind: "soul-look", commercialOk: false, loras: [{ file: "nc.safetensors", commercial: false, hostedOk: true }], applied: [{ file: "nc.safetensors", strength: 0.7 }], complete: true, sent: { complete: true, loras: [] } } };const lic = fakeRun("fake-open-nc", "open", { ...scored("half-strength", 0.9, 30), ...scored("recipe", 0.8, 30) }, nc);const d3 = compare.promote(lic) as Verdicts;expect(d3.candidate).toBe("recipe");- expect(d3.results[0].verdict).toBe("hold");- expect(d3.results[0].reasons[0]).toBe("non-commercial LoRA: nc.safetensors");+ expect(d3.results[0].verdict).not.toBe("promote");+ expect(d3.results[0].reasons).not.toContain("non-commercial LoRA: nc.safetensors");+ expect(d3.results[0].notes).toContain("licence: non-commercial LoRA: nc.safetensors");+ const held = compare.promote(lic, { rule: { licenceHold: true } }) as Verdicts;+ expect(held.results[0].verdict).toBe("hold");+ expect(held.results[0].reasons[0]).toBe("non-commercial LoRA: nc.safetensors");});it("promote --record writes each verdict into the research entry it measured, and nothing else", async () => {diff --git a/tests/preset-cards.test.ts b/tests/preset-cards.test.tsindex d067622b..bd574bd2 100644--- a/tests/preset-cards.test.ts+++ b/tests/preset-cards.test.ts@@ -264,11 +264,11 @@ describe("preset route lines (details popover)", () => {expect(presetRouteLines({ cloud: null, open: { modelId: "oss-x", op: "edit" } })[1].model).toBe("oss-x");});- it("says when a motion's LoRA is open engine only (its licence doesn't allow hosting)", () => {+ it("says when a motion's cloud route runs words because its LoRA is licensed for the GPU only", () => {const wiggle = getPreset("motion-wiggle")!;const [cloud, open] = presetRouteLines(wiggle, (id) => ({ "fuobe-dop": "Fuobe DoP", "kling-2-5-turbo": "Kling 2.5 Turbo" })[id]);// The cloud route carries no LoRA it can't host: the move's words, on its partner model until Fuobe DoP's are measured.- expect(cloud.model).toBe("Kling 2.5 Turbo · words only, its LoRA is open engine only");+ expect(cloud.model).toBe("Kling 2.5 Turbo · words only (its LoRA is licensed for your GPU only)");expect(open.model).toBe("Fuobe DoP");expect(presetRouteLines(getPreset("motion-overhead")!, () => "Fuobe DoP")[0].model).toBe("Fuobe DoP");});diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex 7f3e07e5..0a440bb1 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -10561,7 +10561,7 @@"vramGb": 6,"license": "Whisper weights MIT (OpenAI); ComfyUI-Whisper code CC-BY-NC-SA-4.0 (NON-COMMERCIAL: the author asks to be contacted for commercial use)","validated": true,- "notes": "All-ComfyUI alternative that transcribes and burns in one job (word-by-word captions from words_alignment). One style per run (font, size, colour, border, centred). Because of the NC code licence the default open route is captions-qwen3-asr + captions-burnin, and install-comfyui.sh only installs ComfyUI-Whisper with NC_PACKS=1. Save SRT (not an output node) is dropped; the transcript text is kept. VHS_LoadVideo decodes the whole clip and Add Subtitles To Frames copies it (about 2.5 copies of the frames in RAM): the provider refuses clips that would need more than half of the ComfyUI server's RAM and points to the chunked route. sourceLanguage takes Whisper's own names (the provider maps ISO codes: tl/fil -> Tagalog, he -> Hebrew).",+ "notes": "All-ComfyUI alternative that transcribes and burns in one job (word-by-word captions from words_alignment). One style per run (font, size, colour, border, centred). The default open route is captions-qwen3-asr + captions-burnin (chosen because of this NC code licence, which is now information: Settings → Models & licences); install-comfyui.sh installs ComfyUI-Whisper unless NC_PACKS=0. Save SRT (not an output node) is dropped; the transcript text is kept. VHS_LoadVideo decodes the whole clip and Add Subtitles To Frames copies it (about 2.5 copies of the frames in RAM): the provider refuses clips that would need more than half of the ComfyUI server's RAM and points to the chunked route. sourceLanguage takes Whisper's own names (the provider maps ISO codes: tl/fil -> Tagalog, he -> Hebrew).","autoDownloads": ["Apply Whisper downloads large-v3-turbo.pt (1.62 GB) into models/stt/whisper on first run"]