Skip to content

armgit / fuobe

Public Imported from GitHub
0

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.

Originals O6: eval cases for Fuobe Cinema (Director scenes, camera moves, shot lists)

Claude6cfba19a6c29
diff --git a/scripts/eval/README.md b/scripts/eval/README.md
index b4f0b729..b96b7019 100644
--- a/scripts/eval/README.md
+++ b/scripts/eval/README.md
@@ -124,7 +124,7 @@ One JSON file per Original in `cases/`. Later Original packages add their own fi
| `mixed-media` | Mixed Media | 5 looks on one clip (through `/api/mixed-media`) | `studio` | temporal, style |
| `shorts` | Shorts restyle | 1 | `restyle` | temporal, style, clip |
| `speak` | talking portraits | 1 portrait + voice | `infinitetalk`, `s2v` | lipsync, temporal, identity |
-| `cinema` | Cinema shot lists | 2 films of 3 shots | `original`, `partner` | clip, temporal, continuity |
+| `cinema` | Fuobe Cinema (O6) | 3 Director scenes (the prompt Cinema compiles), 4 camera moves as LTX-2.3's `camera_lora` (cloud), 2 films of 3 shots | `original`, `words` (no camera LoRA), `expansion` (fal's prompt expansion on), `wan` (Wan 2.2 A14B hosted), `partner` (Seedance 2.5); all but `original` cloud only | clip, temporal, continuity |
`soul.json`, `soul-cinema.json`, `soul-hex.json`, `dop.json` and `dop-mix.json` are **generated** from the research. They come from
`docs/research/higgsfield-image-studios.json` (the look ids) and
diff --git a/scripts/eval/cases/cinema.json b/scripts/eval/cases/cinema.json
index 4fc210a2..47d90e4b 100644
--- a/scripts/eval/cases/cinema.json
+++ b/scripts/eval/cases/cinema.json
@@ -1,37 +1,271 @@
{
"$schema": "./case.schema.json",
"suite": "cinema",
- "title": "Fuobe Cinema · shot lists",
- "description": "Short films as shot lists: each shot is its own clip with the same seed, so a recipe's adherence (CLIP per shot), flicker (temporal) and continuity across shots (CLIP image similarity between the shots) can be compared. Cloud runs on LTX 2.5 (open weights, hosted) until O6's fuobe-cinema exists; the partner variant runs Seedance 2.5 for reference.",
+ "title": "Fuobe Cinema · Director, camera moves and shot lists",
+ "description": "Fuobe Cinema (O6), Cinema Studio 4.0's Original: on the GPU Wan 2.2 14B Lightning, in the cloud LTX-2.3 22B on fal with prompt expansion off. Director cases carry the prompt Cinema compiles from the Director's Panel; camera-move cases also carry the move as LTX-2.3's camera_lora (cloud only); shot lists render each shot as its own clip with the same seed, so continuity across shots can be compared. Variants: the Original as it ships, the camera move in words only (camera_lora none), fal's prompt expansion on, Wan 2.2 A14B hosted instead of LTX-2.3, and Seedance 2.5 as the partner reference. Nothing here comes from Higgsfield: the scenes are Fuobe's own.",
"original": "fuobe-cinema",
"kind": "video",
"targets": {
- "open": { "models": ["fuobe-cinema", "oss-wan22-14b-fast"], "op": "t2v", "params": { "aspectRatio": "16:9", "duration": 5 } },
- "cloud": { "models": ["fuobe-cinema", "ltx-2-5"], "op": "t2v", "params": { "aspectRatio": "16:9", "duration": 6 } },
- "demo": { "models": ["oss-wan22-14b-fast"], "op": "t2v", "params": { "aspectRatio": "16:9", "duration": 5 } }
+ "open": {
+ "models": [
+ "fuobe-cinema",
+ "oss-wan22-14b-fast"
+ ],
+ "op": "t2v",
+ "params": {
+ "aspectRatio": "16:9",
+ "duration": 5,
+ "resolution": "480p"
+ }
+ },
+ "cloud": {
+ "models": [
+ "fuobe-cinema",
+ "ltx-2-3-22b-cloud"
+ ],
+ "op": "t2v",
+ "params": {
+ "aspectRatio": "16:9",
+ "duration": 5,
+ "resolution": "720p"
+ }
+ },
+ "demo": {
+ "models": [
+ "fuobe-cinema",
+ "oss-wan22-14b-fast"
+ ],
+ "op": "t2v",
+ "params": {
+ "aspectRatio": "16:9",
+ "duration": 5
+ }
+ }
+ },
+ "defaults": {
+ "seeds": [
+ 1001
+ ],
+ "metrics": [
+ "clip",
+ "temporal",
+ "continuity"
+ ],
+ "candidate": "original",
+ "timeoutSeconds": 3600
},
- "defaults": { "seeds": [1001], "metrics": ["clip", "temporal", "continuity"], "timeoutSeconds": 3600 },
"variants": {
- "original": { "description": "The Cinema Original (or today's open / hosted-open model)" },
- "partner": { "description": "Seedance 2.5 for reference", "models": { "cloud": ["seedance-2-5"] }, "engines": ["cloud"] }
+ "original": {
+ "description": "Fuobe Cinema as Cinema runs it: the compiled Director prompt, the move as camera_lora in the cloud, prompt expansion off"
+ },
+ "words": {
+ "description": "The same without LTX-2.3's camera LoRA (camera_lora none): does the camera LoRA beat the move's words?",
+ "extra": {
+ "camera_lora": "none"
+ },
+ "engines": [
+ "cloud"
+ ]
+ },
+ "expansion": {
+ "description": "The same with fal's prompt expansion on: does rewriting the compiled prompt help or hurt?",
+ "extra": {
+ "enable_prompt_expansion": true
+ },
+ "engines": [
+ "cloud"
+ ]
+ },
+ "wan": {
+ "description": "Wan 2.2 A14B hosted on fal instead of LTX-2.3 (the cloud base Fuobe DoP uses)",
+ "models": {
+ "cloud": [
+ "wan-2-2-a14b-cloud"
+ ]
+ },
+ "engines": [
+ "cloud"
+ ]
+ },
+ "partner": {
+ "description": "Seedance 2.5 (Cinema Studio 4.0's engine) for reference",
+ "models": {
+ "cloud": [
+ "seedance-2-5"
+ ]
+ },
+ "engines": [
+ "cloud"
+ ]
+ }
},
"cases": [
+ {
+ "id": "cinema/director-noir",
+ "title": "Director: noir, 80s, 35mm anamorphic, window light, a palette",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "A detective lights a match in the rain under a flickering streetlight. Noir film: hard shadow and high contrast. Set in the 1980s: saturation and lens character of 1980s production. Shot on 35mm Film (grain, tonal response, analog warmth), with an anamorphic lens (oval bokeh, horizontal flares, slight barrel distortion), 50mm focal length (normal: close to the human eye, honest proportions). Lighting: window, single directional daylight source through a window; architecture decides light and shadow. Colour grade following the \"Neon Rain at Midnight\" palette #0c0c0e, #334d4e, #7b3612, #655254, #676650, #497197, #708986, #b3978e, #95b0c2, #bebc9d, #f3e04e, #446bc7 (shadows to highlights, accent #446bc7)."
+ }
+ ],
+ "tags": [
+ "director"
+ ],
+ "note": "The prompt is what Cinema compiles from the Director's Panel for this scene (tests/cinema-eval.test.ts checks it against planCinema)."
+ },
+ {
+ "id": "cinema/director-epic",
+ "title": "Director: epic, 2020s, modern clean lens at 24mm, deep focus, contre-jour",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "A lone rider crosses a vast salt flat at sunrise, dust trailing behind the horse. Epic film: wide compositions, environment as part of the subject, light across the frame. Set in the 2020s: contemporary, unmodified digital look. Shot on a modern digital cinema camera (clean, high-resolution contemporary digital), with a clean sharp lens (maximum resolution, minimum aberration), 24mm focal length (wide: the place is part of the shot), f/11 aperture (whole scene sharp front to back). Lighting: contre jour, shooting into the light, like Silhouette but with more spill and flare."
+ }
+ ],
+ "tags": [
+ "director"
+ ],
+ "note": "The prompt is what Cinema compiles from the Director's Panel for this scene (tests/cinema-eval.test.ts checks it against planCinema)."
+ },
+ {
+ "id": "cinema/director-comedy",
+ "title": "Director: comedy, 60s, 8mm warm vintage, calm, practicals, a palette",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "Two old friends argue over the last slice of cake at a crowded birthday party. Comedy film: open framing, comic timing at shot level, room to react. Set in the 1960s: grain, colour response and lens character of 1960s film stock. Montage pacing: calm, long takes, cut only once a moment has played out. Shot on 8mm Film (soft, low-resolution home-movie texture), with a warm vintage lens (diffusion, warmth, blooming highlights, gentle skin). Lighting: practicals, lights the scene only from visible in-frame sources (lamps, candles, signage). Colour grade following the \"Bubblegum Boulevard\" palette #181415, #2f3973, #62382f, #6b524e, #957a70, #878894, #b48f60, #65b0cb, #c3b0a9, #81d7f9, #e5e0df, #aa637e (shadows to highlights, accent #aa637e)."
+ }
+ ],
+ "tags": [
+ "director"
+ ],
+ "note": "The prompt is what Cinema compiles from the Director's Panel for this scene (tests/cinema-eval.test.ts checks it against planCinema)."
+ },
+ {
+ "id": "cinema/move-dolly-in",
+ "title": "Camera move: Dolly In",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "A violinist plays alone on an empty theatre stage, a single spotlight above her. Camera: the camera performs a smooth, steady dolly in toward the subject, gradually tightening the framing."
+ }
+ ],
+ "extra": {
+ "camera_lora": "dolly_in"
+ },
+ "engines": [
+ "cloud",
+ "demo"
+ ],
+ "tags": [
+ "move"
+ ],
+ "note": "Cloud only: the move as LTX-2.3's camera_lora, as Cinema sends it (on the GPU the move is a Wan LoRA or a Fun Camera pose, measured by the dop suite)."
+ },
+ {
+ "id": "cinema/move-truck-left",
+ "title": "Camera move: Truck Left",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "A night market street lined with food stalls, steam rising, people browsing. Camera: the camera trucks sideways to the left, parallel to the subject, with strong parallax."
+ }
+ ],
+ "extra": {
+ "camera_lora": "dolly_left"
+ },
+ "engines": [
+ "cloud",
+ "demo"
+ ],
+ "tags": [
+ "move"
+ ],
+ "note": "Cloud only: the move as LTX-2.3's camera_lora, as Cinema sends it (on the GPU the move is a Wan LoRA or a Fun Camera pose, measured by the dop suite)."
+ },
+ {
+ "id": "cinema/move-crane-up",
+ "title": "Camera move: Crane Up",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "A small fishing village on a rocky coast at dawn, boats tied in the harbour. Camera: the camera cranes up smoothly, rising above the subject to reveal the scene from above."
+ }
+ ],
+ "extra": {
+ "camera_lora": "jib_up"
+ },
+ "engines": [
+ "cloud",
+ "demo"
+ ],
+ "tags": [
+ "move"
+ ],
+ "note": "Cloud only: the move as LTX-2.3's camera_lora, as Cinema sends it (on the GPU the move is a Wan LoRA or a Fun Camera pose, measured by the dop suite)."
+ },
+ {
+ "id": "cinema/move-static",
+ "title": "Camera move: Static",
+ "prompts": [
+ {
+ "id": "p1",
+ "text": "A cat sleeps on a sunlit windowsill while rain streaks the glass. Camera: locked-off static tripod shot; only the subject moves."
+ }
+ ],
+ "extra": {
+ "camera_lora": "static"
+ },
+ "engines": [
+ "cloud",
+ "demo"
+ ],
+ "tags": [
+ "move"
+ ],
+ "note": "Cloud only: the move as LTX-2.3's camera_lora, as Cinema sends it (on the GPU the move is a Wan LoRA or a Fun Camera pose, measured by the dop suite)."
+ },
{
"id": "cinema/lighthouse",
"title": "The lighthouse keeper (3 shots)",
"shots": [
- { "id": "establish", "prompt": "Wide establishing shot of a lighthouse on a rocky cliff at dusk, waves breaking below, the camera slowly pushes in" },
- { "id": "keeper", "prompt": "Medium shot inside the lighthouse: an old keeper in a wool sweater climbs the spiral stairs holding a lantern, warm light" },
- { "id": "lamp", "prompt": "Close-up of the keeper's face lit by the turning lamp, he looks out to sea, the beam sweeps across the dark water" }
+ {
+ "id": "establish",
+ "prompt": "Wide establishing shot of a lighthouse on a rocky cliff at dusk, waves breaking below, the camera slowly pushes in"
+ },
+ {
+ "id": "keeper",
+ "prompt": "Medium shot inside the lighthouse: an old keeper in a wool sweater climbs the spiral stairs holding a lantern, warm light"
+ },
+ {
+ "id": "lamp",
+ "prompt": "Close-up of the keeper's face lit by the turning lamp, he looks out to sea, the beam sweeps across the dark water"
+ }
+ ],
+ "tags": [
+ "shots"
]
},
{
"id": "cinema/chase",
"title": "Rooftop chase (3 shots)",
"shots": [
- { "id": "run", "prompt": "Handheld tracking shot of a courier in a yellow jacket running across wet rooftops at night, neon below" },
- { "id": "jump", "prompt": "Low angle: the courier leaps the gap between two buildings, slow motion, rain in the air" },
- { "id": "land", "prompt": "Wide shot from above as the courier lands and rolls on the next roof, the city glowing behind" }
+ {
+ "id": "run",
+ "prompt": "Handheld tracking shot of a courier in a yellow jacket running across wet rooftops at night, neon below"
+ },
+ {
+ "id": "jump",
+ "prompt": "Low angle: the courier leaps the gap between two buildings, slow motion, rain in the air"
+ },
+ {
+ "id": "land",
+ "prompt": "Wide shot from above as the courier lands and rolls on the next roof, the city glowing behind"
+ }
+ ],
+ "tags": [
+ "shots"
]
}
]
diff --git a/src/components/cinema/director-panel.tsx b/src/components/cinema/director-panel.tsx
index 04a38a27..2ee6d1f1 100644
--- a/src/components/cinema/director-panel.tsx
+++ b/src/components/cinema/director-panel.tsx
@@ -359,6 +359,9 @@ export function PaletteChip({
<Switch checked={settings.paletteLock !== false} onCheckedChange={(v) => onChange({ paletteLock: v })} aria-label="Lock the grade to the palette" />
</label>
)}
+ {engine === "cloud" && (
+ <p className="mt-3 rounded-lg bg-muted px-3 py-2 text-[11.5px] text-muted-foreground">The palette&apos;s colours are written into the prompt. Locking the grade to them runs on your GPU (Open source).</p>
+ )}
</PopoverContent>
</Popover>
<PaletteEditor
diff --git a/tests/cinema-original.test.ts b/tests/cinema-original.test.ts
index 6088a7bd..d3d6cede 100644
--- a/tests/cinema-original.test.ts
+++ b/tests/cinema-original.test.ts
@@ -4,6 +4,7 @@ import path from "node:path";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import type { ComfyWorkflow } from "@/lib/comfy";
import type { GenInput, LoraRef, ModelDef, ModelRoute } from "@/lib/catalog/types";
+import type { DirectorSettings } from "@/lib/catalog/cinema";
// Fuobe Cinema as a run (build plan O6): one model on both engines. In the cloud the payload fal receives (LTX-2.3 22B,
// prompt expansion off, camera_lora, exact sizes, frames at 24 fps, the plain endpoint unless a LoRA rides along) and its
@@ -170,3 +171,50 @@ describe("Fuobe Cinema on the GPU", () => {
for (const f of l.loras!.map((x) => x.file)) expect(injected).toContain(f);
});
});
+
+describe("the cinema evaluation suite measures what Cinema sends", () => {
+ // The Director behind each case (scripts/eval/cases/cinema.json carries only the compiled words and camera_lora).
+ const DIRECTOR: Record<string, { prompt: string; settings: DirectorSettings; moves: string[] }> = {
+ "cinema/director-noir": {
+ prompt: "A detective lights a match in the rain under a flickering streetlight",
+ settings: { genre: "noir", era: "1980s", camera: "35mm-film", lens: "anamorphic", focal: "50mm", lighting: { kind: "preset", slug: "window" }, palette: { kind: "preset", slug: "neon-rain-at-midnight" } },
+ moves: [],
+ },
+ "cinema/director-epic": {
+ prompt: "A lone rider crosses a vast salt flat at sunrise, dust trailing behind the horse",
+ settings: { genre: "epic", era: "2020s", camera: "modern", lens: "clean-sharp", focal: "24mm", aperture: "f11-deep-focus", lighting: { kind: "preset", slug: "contre-jour" } },
+ moves: [],
+ },
+ "cinema/director-comedy": {
+ prompt: "Two old friends argue over the last slice of cake at a crowded birthday party",
+ settings: { genre: "comedy", era: "1960s", camera: "8mm-film", lens: "warm-vintage", tempo: "calm", lighting: { kind: "preset", slug: "practicals" }, palette: { kind: "preset", slug: "bubblegum-boulevard" } },
+ moves: [],
+ },
+ "cinema/move-dolly-in": { prompt: "A violinist plays alone on an empty theatre stage, a single spotlight above her", settings: {}, moves: ["dolly-in"] },
+ "cinema/move-truck-left": { prompt: "A night market street lined with food stalls, steam rising, people browsing", settings: {}, moves: ["truck-left"] },
+ "cinema/move-crane-up": { prompt: "A small fishing village on a rocky coast at dawn, boats tied in the harbour", settings: {}, moves: ["crane-up"] },
+ "cinema/move-static": { prompt: "A cat sleeps on a sunlit windowsill while rain streaks the glass", settings: {}, moves: ["static-shot"] },
+ };
+
+ it("each Director case is the prompt (and camera LoRA) Cinema compiles on both engines", () => {
+ const suite = JSON.parse(fs.readFileSync(path.join(__dirname, "../scripts/eval/cases/cinema.json"), "utf8")) as {
+ original: string;
+ targets: Record<string, { models: string[] }>;
+ cases: { id: string; prompts?: { text: string }[]; extra?: Record<string, unknown>; engines?: string[] }[];
+ };
+ expect(suite.original).toBe(CINEMA_MODEL);
+ expect(suite.targets.cloud.models[0]).toBe(CINEMA_MODEL);
+ expect(suite.targets.open.models[0]).toBe(CINEMA_MODEL);
+ for (const [id, d] of Object.entries(DIRECTOR)) {
+ const kase = suite.cases.find((c) => c.id === id)!;
+ expect(kase, id).toBeDefined();
+ for (const engine of (kase.engines ?? ["open", "cloud"]).filter((e) => e !== "demo") as ("open" | "cloud")[]) {
+ const plan = planCinema({ engine, mode: "video", action: "generate", prompt: d.prompt, settings: d.settings, moves: d.moves, duration: 5, aspectRatio: "16:9" }, { cloudAllowed: true });
+ const req = plan.steps[0].request;
+ expect(kase.prompts![0].text, `${id} on ${engine}`).toBe(req.prompt);
+ expect(kase.extra ?? {}, `${id} on ${engine}`).toEqual(req.params?.extra ?? {});
+ }
+ }
+ });
+});
+
diff --git a/tests/eval-harness.test.ts b/tests/eval-harness.test.ts
index 202165ac..31396b71 100644
--- a/tests/eval-harness.test.ts
+++ b/tests/eval-harness.test.ts
@@ -283,6 +283,31 @@ describe("the runner on the demo provider", () => {
}
});
+ it("runs Fuobe Cinema's Director and camera-move cases, and plans its cloud variants", async () => {
+ const r = await cli(["run", "--suite", "cinema", "--engine", "demo", "--cases", "cinema/director-noir,cinema/move-dolly-in", "--no-metrics"]);
+ expect(r.code, r.stderr).toBe(0);
+ const rows = store.latestJobs(path.join(results, runIdFrom(r.stderr)));
+ expect(rows.map((x) => [x.caseId, x.status]).sort()).toEqual([
+ ["cinema/director-noir", "succeeded"],
+ ["cinema/move-dolly-in", "succeeded"],
+ ]);
+ expect(rows.every((x) => (x.request as { modelId: string }).modelId === "fuobe-cinema")).toBe(true);
+ type Plan = { jobs: { case: string; variant: string; model: string; skip?: string }[] };
+ setSetting("falKey", "fal-test-key");
+ try {
+ const plan = JSON.parse((await cli(["run", "--suite", "cinema", "--engine", "cloud", "--cases", "cinema/move-dolly-in", "--variants", "original,words,expansion,wan", "--dry-run", "--json"])).stdout) as Plan;
+ const by = Object.fromEntries(plan.jobs.map((j) => [j.variant, j]));
+ expect(by.original).toMatchObject({ model: "fuobe-cinema" });
+ expect([by.original.skip, by.words.skip, by.expansion.skip, by.wan.skip]).toEqual([undefined, undefined, undefined, undefined]);
+ expect(by.wan).toMatchObject({ model: "wan-2-2-a14b-cloud" });
+ // The camera-move cases run in the cloud only: on the GPU the move is a Wan LoRA or a pose (the dop suite measures those).
+ const open = JSON.parse((await cli(["run", "--suite", "cinema", "--engine", "open", "--cases", "cinema/move-dolly-in", "--dry-run", "--json"])).stdout) as Plan;
+ expect(open.jobs.every((j) => !!j.skip)).toBe(true);
+ } finally {
+ setSetting("falKey", "");
+ }
+ });
+
it("refuses an engine the server can't run, and skips jobs that would run as a demo on a real engine", async () => {
const dry = await cli(["run", "--suite", "soul", "--engine", "cloud", "--looks", "v1-general", "--dry-run"]);
expect(dry.code, dry.stderr).toBe(0);