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
Price notes: say how long clips are joined, without setup switches
Adarsh4434da2b22d2
diff --git a/src/lib/licences.ts b/src/lib/licences.tsindex 23805720..4b7fc766 100644--- a/src/lib/licences.ts+++ b/src/lib/licences.ts@@ -533,7 +533,7 @@ export const NODE_PACKS: NodePack[] = [}),pack("h3-relay", "https://github.com/akatz-ai/h3-relay/tree/e2a7665b6eb8ea37a88c0de2c9c6b69a8f7c9220", {...GPL,- note: "H3 Relay 2.0 (Sendy Software LLC and contributors); GPL-3.0 code, vendored Context Loop and Spectrum GPL-3.0. Opt-in (H3_RELAY=1): it registers HTTP routes when it loads",+ note: "H3 Relay 2.0 (Sendy Software LLC and contributors); GPL-3.0 code, vendored Context Loop and Spectrum GPL-3.0. Opt-in: it registers HTTP routes when it loads",}),// Genjutsu's Openjutsu modes (Group swap, Scene edit, From picture, Fix faces, Fix colours): pinned in packs.json and// install-comfyui.sh (OPENJUTSU_MODES=1). LICENSE files read at the pinned commits.diff --git a/src/server/genjutsu.ts b/src/server/genjutsu.tsindex 688cd629..d1bc407a 100644--- a/src/server/genjutsu.ts+++ b/src/server/genjutsu.ts@@ -480,12 +480,12 @@ function notesFor(body: GenjutsuBody, m: Maker, source: RemoveSource, range: Rem}if (n > 1 && body.mode !== "character") {if (m.engine === "open" && m.window) {- notes.push(`${name} works on ${m.window.cap} frames at a time (${(m.window.cap / fps).toFixed(1)} s of this clip): it runs as ${n} windows, joined with the clip's own sound. Seams between windows aren't tested on a GPU yet`);+ notes.push(`${name} works on ${m.window.cap} frames at a time (${(m.window.cap / fps).toFixed(1)} s of this clip): it runs as ${n} windows, joined with the clip's own sound`);} else if (fuobeLook) {notes.push(`${name} restyles ${m.engine === "open" ? "5 s" : m.window ? `${m.window.cap} frames (${(m.window.cap / fps).toFixed(1)} s of this clip)` : "up to 10 s"} at a time: the clip runs as ${n} segments, joined with its own sound`);} else {const limit = m.window ? `${m.window.cap} frames (${(m.window.cap / fps).toFixed(1)} s of this clip)` : `${m.maxSeconds} s`;- notes.push(`${name} takes up to ${limit} a call: the clip runs as ${n} pieces, joined with its own sound. Seams between pieces aren't tested yet`);+ notes.push(`${name} takes up to ${limit} a call: the clip runs as ${n} pieces, joined with its own sound`);}}if (body.mode !== "restyle" && refs > m.refs.max) notes.push(m.refs.max === 1 ? `${name} uses your first reference image` : `${name} takes ${m.refs.max} references — your first ${m.refs.max} go`);diff --git a/src/server/swap-studio.ts b/src/server/swap-studio.tsindex 74543fe0..e324200b 100644--- a/src/server/swap-studio.ts+++ b/src/server/swap-studio.ts@@ -1499,7 +1499,7 @@ 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",+ "Needs H3 Relay 2.0's nodes on your ComfyUI (add them with Fuobe's ComfyUI setup) 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)",];}diff --git a/tests/genjutsu-api.test.ts b/tests/genjutsu-api.test.tsindex a1f898de..f0bc3bcd 100644--- a/tests/genjutsu-api.test.ts+++ b/tests/genjutsu-api.test.ts@@ -141,6 +141,13 @@ describe("Genjutsu: estimates", () => {expect(e.notes.join(" ")).toMatch(/Qwen-Image 2.1 first puts your character into the part's first frame/);});+ it("a clip run as windows says how it is joined, with no test status in the notes", async () => {+ const e = await (await estimateRoute.POST(json(body({ engine: "open", mode: "swap", subject: "the skateboard", source: { url: clip, ...src } })))).json();+ const said = e.notes.join(" ");+ expect(said).toMatch(/runs as 3 windows, joined with the clip's own sound/);+ expect(said).not.toMatch(/tested|validat|install-comfyui|scripts\//i);+ });+describe("key mixes: a run is all real or all a demo, so a missing key is said before anything is paid for", () => {const say = async (b: Record<string, unknown>, route: { POST: (r: Request) => Promise<Response> } = estimateRoute) => {const res = await route.POST(json(b));diff --git a/tests/licences.test.ts b/tests/licences.test.tsindex 72db2998..0a4f9fce 100644--- a/tests/licences.test.ts+++ b/tests/licences.test.ts@@ -3,7 +3,7 @@ import path from "node:path";import { describe, expect, it } from "vitest";import { MODELS } from "@/lib/catalog";import type { Manifest } from "@/lib/comfy";-import { buildLicenceList, kindLabel, licenceTerms, UNKNOWN_LICENCE, workflowLicence } from "@/lib/licences";+import { buildLicenceList, kindLabel, licenceTerms, NODE_PACKS, UNKNOWN_LICENCE, workflowLicence } from "@/lib/licences";/** The About & licences page (R4-53): every open model's licence, its catches and notices. */@@ -102,4 +102,9 @@ describe("licences", () => {const bare = buildLicenceList(MODELS, manifest.workflows.map((w) => ({ ...w, models: undefined })));expect(bare.rows.flatMap((r) => r.links).filter(Boolean).length).toBeLessThanOrEqual(linked);});++ it("node pack notes, which everyone can read, name no install switches or scripts", () => {+ const said = NODE_PACKS.map((p) => `${p.name}: ${p.licence.note ?? ""}`).filter((n) => /\b[A-Z][A-Z0-9]*_[A-Z0-9_]+=|scripts\/|install-[a-z-]+\.sh/.test(n));+ expect(said).toEqual([]);+ });});