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
Cinema Studio: the Blockout link is open to everyone
Adarsh2a38c2a0c955
diff --git a/src/components/cinema/projects-view.tsx b/src/components/cinema/projects-view.tsxindex e6159644..1919ca5f 100644--- a/src/components/cinema/projects-view.tsx+++ b/src/components/cinema/projects-view.tsx@@ -189,9 +189,11 @@ export function CinemaProjects({ examples, starters: given = [] }: { examples?:<Suspense fallback={null}><OpenerQuery onOpener={markOpener} /></Suspense>- {blockout && !!data?.length && (+ {/* With no projects yet (a guest, a new account), New project opens the new one on Blockout. */}+ {blockout && !isLoading && (<p className="mb-5 flex items-center gap-2 rounded-xl bg-brand-faint px-3 py-2.5 text-[13px] text-brand-text">- <Box className="size-4 shrink-0" /> Blockout to film: pick the project to film it in, or start a new one.+ <Box className="size-4 shrink-0" />{" "}+ {data?.length ? "Blockout to film: pick the project to film it in, or start a new one." : "Blockout to film: start a new project to film it in."}</p>)}{opener === "world" && !!data?.length && (diff --git a/src/lib/nav-model.ts b/src/lib/nav-model.tsindex 325fc1aa..25189743 100644--- a/src/lib/nav-model.ts+++ b/src/lib/nav-model.ts@@ -370,7 +370,7 @@ const STUDIO_FEATURES: NavEntry[] = [] as const).map(([id, label, what, kw]) => feature("image-to-3d", "Box", id, `/image-to-3d?mode=${id}`, label, what, kw)),feature("photodump", "Camera", "instadump", "/photodump?tab=instadump", "From a selfie", "A photo pack from one selfie", "instadump selfie one photo pack instagram"),- feature("cinema", "Clapperboard", "blockout", "/cinema?blockout=1", "Blockout", "Block a scene out in 3D", "blockout block out 3d layout previs scene", OWNER),+ feature("cinema", "Clapperboard", "blockout", "/cinema?blockout=1", "Blockout", "Block a scene out in 3D", "blockout block out 3d layout previs scene"),feature("canvas", "Network", "skills", "/canvas?tab=skills", "Skills as canvases", "Assist's skills, drawn as boards", "skills recipes boards assist canvas", OWNER),feature("assist", "MessageCircle", "memory", "/assist/memory", "Memory", "What Assist remembers", "memory remember facts notes", OWNER),feature("assist", "MessageCircle", "scheduled", "/assist/scheduled", "Scheduled", "Tasks that run on a schedule", "scheduled schedule recurring tasks", OWNER),diff --git a/tests/nav-areas.test.ts b/tests/nav-areas.test.tsindex dc2196bb..62f6c7d4 100644--- a/tests/nav-areas.test.ts+++ b/tests/nav-areas.test.ts@@ -137,11 +137,11 @@ describe("/studios", () => {for (const c of s.chips) expect(s.cards.map((x) => entry(x)!.href), `${s.id}: ${c}`).not.toContain(entry(c)!.href);for (const x of s.subs ?? []) for (const c of x.ids) expect(hrefs.has(entry(c)!.href), `${s.id}: ${c}`).toBe(false);}- // The owner's own (Genjutsu's From picture, Cinema Studio's Blockout) are theirs alone.+ // The owner's own (Genjutsu's From picture) are theirs alone; Cinema Studio's Blockout is everyone's.const owner = areaSections("studios", "owner");expect(owner.find((s) => s.id === "people")!.subs!.find((x) => x.parent === "genjutsu")!.ids).toContain("genjutsu-picture");expect(owner.find((s) => s.id === "film")!.subs!.find((x) => x.parent === "cinema")!.ids).toEqual(["cinema-blockout"]);- expect(subsOf("film", "cinema")).toEqual([]);+ expect(subsOf("film", "cinema")).toEqual(["cinema-blockout"]);});});diff --git a/tests/nav-subfeatures.test.ts b/tests/nav-subfeatures.test.tsindex f7b59585..0f53547b 100644--- a/tests/nav-subfeatures.test.ts+++ b/tests/nav-subfeatures.test.ts@@ -116,7 +116,7 @@ describe("the catalogue of studio features", () => {describe("who sees a studio's features", () => {it("keeps the owner's own modes the owner's, in every place", () => {- for (const id of ["genjutsu-picture", "cinema-blockout", "canvas-skills", "assist-memory", "assist-scheduled", "video-tools-restore"]) {+ for (const id of ["genjutsu-picture", "canvas-skills", "assist-memory", "assist-scheduled", "video-tools-restore"]) {expect(entry(id)!.visibility, id).toEqual(["owner"]);for (const kind of VISITORS) expect(entriesFor(kind).some((e) => e.id === id), `${kind}: ${id}`).toBe(false);}@@ -131,6 +131,22 @@ describe("who sees a studio's features", () => {}});+ it("links Cinema Studio's Blockout for everyone: a guest sees it (and is offered a free account on a run), an account uses it", () => {+ expect(entry("cinema-blockout")!.visibility).toBeUndefined();+ expect(OWNER_RUNS.has("cinema-blockout")).toBe(false);+ for (const kind of [...VISITORS, "owner" as const]) {+ expect(studioSubs("cinema", kind, "list").map((e) => e.id), String(kind)).toEqual(["cinema-blockout"]);+ expect(studioSubs("cinema", kind, "sheet").map((e) => e.id), String(kind)).toEqual(["cinema-blockout"]);+ // The Studios menu's Cinema column has no room for it, for anyone, as before: the sheet, /studios and search carry it.+ expect(studioSubs("cinema", kind, "menu"), String(kind)).toEqual([]);+ }+ // It opens the project list on Blockout: with no project yet (a guest, a new account) the list says to start one, and+ // a guest's New project is the free sign-up card.+ const list = read("src/components/cinema/projects-view.tsx");+ expect(list).toContain("Blockout to film: start a new project to film it in.");+ expect(list).toContain('askToSignUp("run")');+ });+it("links Genjutsu's Finish for everyone exactly when its page shows it to everyone", () => {const live = genjutsuLive();const open = modeOpen("finish", (f) => live[f]);@@ -221,11 +237,11 @@ describe("finding a studio's features", () => {const r = find(kind, q);return [...r.best, ...r.groups.flatMap((g) => g.hits)].map((h) => h.id);};- expect(hits("owner", "blockout")).toContain("cinema-blockout");expect(hits("owner", "skills as canvases")).toContain("canvas-skills");expect(hits("owner", "scheduled")).toContain("assist-scheduled");+ // Cinema Studio's Blockout is everyone's ("Cinema Studio › Blockout").+ for (const kind of [...VISITORS, "owner" as const]) expect(hits(kind, "blockout"), String(kind)).toContain("cinema-blockout");for (const kind of VISITORS) {- expect(hits(kind, "blockout"), String(kind)).not.toContain("cinema-blockout");expect(hits(kind, "skills as canvases"), String(kind)).not.toContain("canvas-skills");expect(hits(kind, "assist memory"), String(kind)).not.toContain("assist-memory");}diff --git a/tests/phone-nav.test.ts b/tests/phone-nav.test.tsindex 4fc88ffc..c019844e 100644--- a/tests/phone-nav.test.ts+++ b/tests/phone-nav.test.ts@@ -252,9 +252,13 @@ describe("the Studios sheet", () => {const people = at("/", () => sheet({ group: "people" }));expect(pills(people)).toEqual(["Motion transfer", "Character swap", "Object swap", "Restyle", "Insert", "Finish"]);// Pages that say "isn't available here" to a visitor, and the owner's own modes, aren't linked for them.- for (const w of ["From a selfie", "From Reference", "From picture", "Split soundtrack", "Remove dialogue", "Blockout"]) {+ for (const w of ["From a selfie", "From Reference", "From picture", "Split soundtrack", "Remove dialogue"]) {for (const g of LAUNCHER_GROUPS) expect(pills(at("/", () => sheet({ group: g.id }))), `${g.id}: ${w}`).not.toContain(w);}+ // Cinema Studio's Blockout is linked for everyone (a guest is offered a free account on a run).+ const film = at("/", () => sheet({ group: "film" }));+ expect(pills(film)).toContain("Blockout");+ expect(hrefs(film)).toContain("/cinema?blockout=1");// Image to 3D runs for visitors with an account (on their own GPU or key): its modes are linked too.const finish = at("/", () => sheet({ group: "finish" }));expect(pills(finish)).toEqual(["Image", "Video", "FPS Boost", "SDR to HDR", "Export", "From an image", "From several images", "From text", "Pick an object", "Splat"]);