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: the exact orbit says what it films with
Adarsh182aa6ee47c1
diff --git a/src/components/cinema/prompt-bar.tsx b/src/components/cinema/prompt-bar.tsxindex a19f62fa..3d18e341 100644--- a/src/components/cinema/prompt-bar.tsx+++ b/src/components/cinema/prompt-bar.tsx@@ -15,7 +15,7 @@ import { ShotsEditor } from "@/components/studio/shots-editor";import { ResponsivePanel } from "@/components/studio/responsive-panel";import { useEdgeFade } from "@/components/studio/use-edge-fade";import { uploadFile, useAssets, useIsOwner, useModelAccess, useStatus } from "@/lib/api";-import { OwnSetupMark } from "@/components/own-setup";+import { OwnSetupChip, OwnSetupMark } from "@/components/own-setup";import { ownSetupLabel, ownSetupOnly } from "@/lib/own-setup";import { offered } from "@/lib/model-access";import { getModel } from "@/lib/catalog";@@ -686,6 +686,8 @@ export function PromptBar(props: PromptBarProps) {{video && action === "generate" && takesExact(draft.moves[0]) && (<div className="px-2 pb-1.5"><ExactOrbitControls compact engine={engine} value={draft.exact ?? null} defaults={exactDefaults(draft.moves[0])} onChange={(exact) => setDraft({ exact })} />+ {/* The exact orbit films with a 48 GB GPU or a fal.ai key: said with its controls (own-setup.ts). */}+ {!owner && <OwnSetupChip setup="fly-around:exact-orbit" className="mt-1" />}</div>)}diff --git a/tests/own-setup-hw.test.ts b/tests/own-setup-hw.test.tsindex 716f728a..d689c0e0 100644--- a/tests/own-setup-hw.test.ts+++ b/tests/own-setup-hw.test.ts@@ -62,6 +62,18 @@ describe("hardware items: what a visitor sees", () => {expect(ownSetupStep(o, { kind: "account", gpu: { connected: true } })).toEqual({ kind: "run" });expect(ownSetupStep(o, null)).toEqual({ kind: "run" });});++ it("Cinema's exact orbit says it films with a 48 GB GPU or a fal.ai key, and a key runs it", async () => {+ const fs = await import("node:fs");+ const src = fs.readFileSync("src/components/cinema/prompt-bar.tsx", "utf8");+ expect(src).toMatch(/<OwnSetupChip setup="fly-around:exact-orbit"/);+ const o = ownSetupOnly("fly-around:exact-orbit")!;+ expect(ownSetupLabel(o)).toBe("Runs on your own GPU · 48 GB or fal.ai key");+ for (const words of [ownSetupLabel(o), ownSetupShort(o), ownSetupDetail(o)]) expect(words).not.toMatch(BANNED);+ expect(ownSetupStep(o, { kind: "guest" })).toEqual({ kind: "sign-up" });+ expect(ownSetupStep(o, { kind: "account", gpu: { connected: false }, keys: ["fal"] })).toEqual({ kind: "run" });+ expect(ownSetupStep(o, { kind: "account", gpu: { connected: false } })).toMatchObject({ kind: "connect-gpu" });+ });});describe("hardware items: where an account's run goes", () => {