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
Originals O4: eval cases for Fuobe DoP's camera moves and Mix, and "open engine only" in a preset's details
Claude051b126051c8
diff --git a/scripts/eval/README.md b/scripts/eval/README.mdindex 79e0016d..b4f0b729 100644--- a/scripts/eval/README.md+++ b/scripts/eval/README.md@@ -118,14 +118,15 @@ One JSON file per Original in `cases/`. Later Original packages add their own fi| `soul-cinema` | Soul Cinema's one film look | 6 scenes, pinned seeds | `recipe`, `prompt-only`, `plain`, `original` | clip, aesthetic, style || `soul-hex` | Soul HEX palettes | 3 Fuobe palettes × 2 subjects | `words`, `lock` (open), `base`, `palette-model` (open), `plain` | palette, clip, aesthetic || `soul-id` | character training | your photos → train → 8 scenes | `trained`, `original` | identity, clip, aesthetic |-| `dop` | DoP motions and effects | the 70 the research gives a LoRA | `catalog`, `prompt-only`, `research` (the candidate), `partner` (cloud) | temporal, clip |+| `dop` | Fuobe DoP motions and effects | the 69 the research gives a LoRA, and the 20 camera moves it gives a Fun Camera pose or an LTX camera LoRA | `catalog`, `prompt-only`, `research` (the candidate), `partner` (cloud) | temporal, clip |+| `dop-mix` | Fuobe DoP's Mix | 5 move + effect pairs | `mix` (the candidate), `first` (the move alone) | temporal, clip || `genjutsu` | Genjutsu move / swap / restyle | 3 (through `/api/genjutsu`) | `original`, `partner` (cloud: each mode's own partner on fal) | temporal, clip || `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 |-`soul.json`, `soul-cinema.json`, `soul-hex.json` and `dop.json` are **generated** from the research. They come from+`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`docs/research/fuobe-originals-recipes-5.json` (recipes, LoRAs, Soul Cinema's recipe, the motion map).`soul-hex`'s palettes are Fuobe's own. Rundiff --git a/scripts/eval/cases/case.schema.json b/scripts/eval/cases/case.schema.jsonindex f3727568..ef5df066 100644--- a/scripts/eval/cases/case.schema.json+++ b/scripts/eval/cases/case.schema.json@@ -662,6 +662,9 @@"minimum": 0,"maximum": 1},+ "mix": {+ "type": "boolean"+ },"lookParam": {"type": "string","const": "presetId"@@ -863,6 +866,25 @@"presetId": {"type": "string"},+ "mix": {+ "type": "object",+ "properties": {+ "presetId": {+ "type": "string",+ "minLength": 1+ },+ "strength": {+ "type": "number",+ "minimum": 0,+ "maximum": 1+ }+ },+ "required": [+ "presetId",+ "strength"+ ],+ "additionalProperties": false+ },"words": {"type": "string","maxLength": 2000diff --git a/scripts/eval/cases/dop-mix.json b/scripts/eval/cases/dop-mix.jsonnew file mode 100644index 00000000..0544322a--- /dev/null+++ b/scripts/eval/cases/dop-mix.json@@ -0,0 +1,188 @@+{+ "$schema": "./case.schema.json",+ "suite": "dop-mix",+ "title": "Fuobe DoP · Mix (a move and an effect on one run)",+ "description": "Generated by scripts/eval/gen-cases.mjs from the research files; edit the generator, not this file. Fuobe DoP's Mix on both engines: the second preset's LoRAs stack on the first's model, each scaled by its strength (0.6 here), and its words join the prompt. A LoRA for another base (a Wan effect on an LTX-2.3 camera move) joins as words only. Variants: the Mix, and the first preset alone.",+ "original": [+ "fuobe-dop",+ "fuobe-dop-ltx"+ ],+ "kind": "video",+ "targets": {+ "open": {+ "models": [+ "fuobe-dop"+ ],+ "params": {+ "duration": 5+ }+ },+ "cloud": {+ "models": [+ "fuobe-dop"+ ],+ "params": {+ "duration": 5+ }+ },+ "demo": {+ "models": [+ "fuobe-dop"+ ],+ "params": {+ "duration": 5+ }+ }+ },+ "defaults": {+ "seeds": [+ 1001,+ 2002+ ],+ "prompts": [+ {+ "id": "bridge",+ "text": "a woman in a red coat on a city bridge at golden hour"+ }+ ],+ "metrics": [+ "temporal",+ "clip"+ ],+ "variant": "first",+ "candidate": "mix",+ "timeoutSeconds": 2700+ },+ "variants": {+ "mix": {+ "description": "Both presets: the first at full strength, the second's LoRAs at 0.6"+ },+ "first": {+ "description": "The first preset alone (no Mix)",+ "mix": false+ }+ },+ "cases": [+ {+ "id": "dop-mix/overhead--building-explosion",+ "title": "Mix · Overhead + Building Explosion",+ "presetId": "motion-overhead",+ "mix": {+ "presetId": "effect-building-explosion",+ "strength": 0.6+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "mix"+ ]+ },+ {+ "id": "dop-mix/handheld--glitch",+ "title": "Mix · Handheld + Glitch",+ "presetId": "motion-handheld",+ "mix": {+ "presetId": "effect-glitch",+ "strength": 0.6+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "mix"+ ]+ },+ {+ "id": "dop-mix/robo-arm--money-rain",+ "title": "Mix · Robo Arm + Money Rain",+ "presetId": "motion-robo-arm",+ "mix": {+ "presetId": "effect-money-rain",+ "strength": 0.6+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "mix"+ ]+ },+ {+ "id": "dop-mix/dolly-in--hero-flight",+ "title": "Mix · Dolly In + Hero Flight",+ "presetId": "motion-dolly-in",+ "mix": {+ "presetId": "effect-hero-flight",+ "strength": 0.6+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "mix"+ ]+ },+ {+ "id": "dop-mix/jib-up--freezing",+ "title": "Mix · Jib Up + Freezing",+ "presetId": "motion-jib-up",+ "mix": {+ "presetId": "effect-freezing",+ "strength": 0.6+ },+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "mix"+ ]+ }+ ]+}diff --git a/scripts/eval/cases/dop.json b/scripts/eval/cases/dop.jsonindex f7077d61..081d3d73 100644--- a/scripts/eval/cases/dop.json+++ b/scripts/eval/cases/dop.json@@ -1724,6 +1724,680 @@"effect","relight-route"]+ },+ {+ "id": "dop/motion-jib-up",+ "title": "DoP motion · Jib Up (camera)",+ "motion": "Jib Up",+ "presetId": "motion-jib-up",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "alias",+ "camera",+ "camera-lora"+ ],+ "note": "cloud: LTX-2.3 camera_lora jib_up"+ },+ {+ "id": "dop/motion-jib-down",+ "title": "DoP motion · Jib Down (camera)",+ "motion": "Jib Down",+ "presetId": "motion-jib-down",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "alias",+ "camera",+ "camera-lora"+ ],+ "note": "cloud: LTX-2.3 camera_lora jib_down"+ },+ {+ "id": "dop/motion-epic-scale",+ "title": "DoP motion · Epic Scale (camera)",+ "motion": "Epic Scale",+ "presetId": "motion-epic-scale",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "alias",+ "camera",+ "camera-lora"+ ],+ "note": "cloud: LTX-2.3 camera_lora jib_up"+ },+ {+ "id": "dop/motion-dolly-left",+ "title": "DoP motion · Dolly Left (camera)",+ "motion": "Dolly Left",+ "presetId": "motion-dolly-left",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Pan Left\" · cloud: LTX-2.3 camera_lora dolly_left"+ },+ {+ "id": "dop/motion-dolly-right",+ "title": "DoP motion · Dolly Right (camera)",+ "motion": "Dolly Right",+ "presetId": "motion-dolly-right",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Pan Right\" · cloud: LTX-2.3 camera_lora dolly_right"+ },+ {+ "id": "dop/motion-truck-left",+ "title": "DoP motion · Truck Left (camera)",+ "motion": "Truck Left",+ "presetId": "motion-truck-left",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Pan Left\" · cloud: LTX-2.3 camera_lora dolly_left"+ },+ {+ "id": "dop/motion-truck-right",+ "title": "DoP motion · Truck Right (camera)",+ "motion": "Truck Right",+ "presetId": "motion-truck-right",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Pan Right\" · cloud: LTX-2.3 camera_lora dolly_right"+ },+ {+ "id": "dop/motion-super-dolly-out",+ "title": "DoP motion · Super Dolly Out (camera)",+ "motion": "Super Dolly Out",+ "presetId": "motion-super-dolly-out",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Zoom Out\" · cloud: LTX-2.3 camera_lora dolly_out"+ },+ {+ "id": "dop/motion-zoom",+ "title": "DoP motion · Zoom (camera)",+ "motion": "Zoom",+ "presetId": "motion-zoom",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Zoom In\" · cloud: LTX-2.3 camera_lora dolly_in"+ },+ {+ "id": "dop/motion-pan",+ "title": "DoP motion · Pan (camera)",+ "motion": "Pan",+ "presetId": "motion-pan",+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Pan Right\""+ },+ {+ "id": "dop/motion-pedestal-down",+ "title": "DoP motion · Pedestal Down (camera)",+ "motion": "Pedestal Down",+ "presetId": "motion-pedestal-down",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Pan Down\" · cloud: LTX-2.3 camera_lora jib_down"+ },+ {+ "id": "dop/motion-classic-static",+ "title": "DoP motion · Classic Static (camera)",+ "motion": "Classic Static",+ "presetId": "motion-classic-static",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Static\" · cloud: LTX-2.3 camera_lora static"+ },+ {+ "id": "dop/motion-roll-transition",+ "title": "DoP motion · Roll Transition (camera)",+ "motion": "Roll Transition",+ "presetId": "motion-roll-transition",+ "op": "flf2v",+ "inputs": {+ "images": [+ "local/dop/start.png"+ ],+ "endImage": "local/dop/end.png"+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ],+ "endImage": "fixtures/end-frame.png"+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "transition"+ ],+ "note": ""+ },+ {+ "id": "dop/motion-aerial-pullback",+ "title": "DoP motion · Aerial Pullback (camera)",+ "motion": "Aerial Pullback",+ "presetId": "motion-aerial-pullback",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Zoom Out\" · cloud: LTX-2.3 camera_lora dolly_out"+ },+ {+ "id": "dop/motion-dolly-out",+ "title": "DoP motion · Dolly Out (camera)",+ "motion": "Dolly Out",+ "presetId": "motion-dolly-out",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Zoom Out\" · cloud: LTX-2.3 camera_lora dolly_out"+ },+ {+ "id": "dop/motion-static",+ "title": "DoP motion · Static (camera)",+ "motion": "Static",+ "presetId": "motion-static",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "fun-camera",+ "camera",+ "fun-camera",+ "camera-lora"+ ],+ "note": "GPU: Wan 2.2 Fun Camera \"Static\" · cloud: LTX-2.3 camera_lora static"+ },+ {+ "id": "dop/motion-focus-change",+ "title": "DoP motion · Focus Change (camera)",+ "motion": "Focus Change",+ "presetId": "motion-focus-change",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "ltx-2-5"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "params": {+ "duration": 6+ },+ "tags": [+ "motion",+ "hosted-native",+ "camera"+ ],+ "note": "cloud: LTX-2.5 camera_motion focus_shift"+ },+ {+ "id": "dop/motion-eyes-in",+ "title": "DoP motion · Eyes In (camera)",+ "motion": "Eyes In",+ "presetId": "motion-eyes-in",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "train-own",+ "camera",+ "camera-lora"+ ],+ "note": "cloud: LTX-2.3 camera_lora dolly_in"+ },+ {+ "id": "dop/motion-mouth-in",+ "title": "DoP motion · Mouth In (camera)",+ "motion": "Mouth In",+ "presetId": "motion-mouth-in",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "train-own",+ "camera",+ "camera-lora"+ ],+ "note": "cloud: LTX-2.3 camera_lora dolly_in"+ },+ {+ "id": "dop/motion-eating-zoom",+ "title": "DoP motion · Eating Zoom (camera)",+ "motion": "Eating Zoom",+ "presetId": "motion-eating-zoom",+ "models": {+ "open": [+ "fuobe-dop"+ ],+ "demo": [+ "fuobe-dop"+ ],+ "cloud": [+ "fuobe-dop-ltx"+ ]+ },+ "inputs": {+ "images": [+ "local/dop/start.png"+ ]+ },+ "demoInputs": {+ "images": [+ "fixtures/start-frame.png"+ ]+ },+ "tags": [+ "motion",+ "train-own",+ "camera",+ "camera-lora"+ ],+ "note": "cloud: LTX-2.3 camera_lora dolly_in"}]}diff --git a/scripts/eval/eval.mjs b/scripts/eval/eval.mjsindex eae512d9..428ffb49 100644--- a/scripts/eval/eval.mjs+++ b/scripts/eval/eval.mjs@@ -34,7 +34,7 @@ const SCORE = { "no-metrics": { type: "boolean" }, metrics: { type: "string" },const HELP = {run: `pnpm eval:run --suite <name> --engine demo|open|cloud [options]- --suite <name|file> soul, soul-cinema, soul-hex, soul-id, dop, genjutsu, mixed-media, shorts, speak, cinema, selftest (or a path)+ --suite <name|file> soul, soul-cinema, soul-hex, soul-id, dop, dop-mix, genjutsu, mixed-media, shorts, speak, cinema, selftest (or a path)--engine <e> demo (free self-test), open (your ComfyUI) or cloud (hosted open models)--looks <a,b> Soul looks by slug, name or id (v1-general, "Flash editorial")--cases <ids> case ids or prefixes with * (dop/motion-*)@@ -356,7 +356,7 @@ async function validate(args, ctx) {let bad = results.filter((r) => !r.ok).length;const { generated } = await import("./gen-cases.mjs");const gen = generated();- const stale = ["soul.json", "dop.json", "case.schema.json"].filter((name) => {+ const stale = ["soul.json", "dop.json", "dop-mix.json", "case.schema.json"].filter((name) => {const file = path.join(path.dirname(new URL(import.meta.url).pathname), "cases", name);const want = `${JSON.stringify(gen[name], null, 2)}\n`;return !fs.existsSync(file) || fs.readFileSync(file, "utf8") !== want;diff --git a/scripts/eval/gen-cases.mjs b/scripts/eval/gen-cases.mjsindex 8ebc365b..92960f97 100644--- a/scripts/eval/gen-cases.mjs+++ b/scripts/eval/gen-cases.mjs@@ -3,7 +3,8 @@// cases/soul.json one case per Soul look (139, ids from docs/research/higgsfield-image-studios.json)// cases/soul-cinema.json Soul Cinema's one look (research soul.soulCinema) on cinematic scenes// cases/soul-hex.json Soul HEX: Fuobe's own palettes in the prompt, and the open engine's palette lock-// cases/dop.json one case per DoP motion / effect that the research gives a LoRA and the catalog has+// cases/dop.json one case per DoP motion / effect that the research gives a LoRA, a camera pose or a camera LoRA+// cases/dop-mix.json Fuobe DoP's Mix: a move and an effect on one run, against the move alone// cases/case.schema.json the suite format as JSON Schema (for editors)// The prompts are Fuobe's own (never Higgsfield's). Run: node scripts/eval/gen-cases.mjs [--check]import fs from "node:fs";@@ -274,6 +275,34 @@ function dopSuite() {});}}+ // The camera moves the map v2 gives a pose or a camera LoRA (§7.3): Wan 2.2 Fun Camera on the GPU, LTX-2.3's camera+ // LoRA (or LTX-2.5's move) in the cloud. Prompt-only (preset strength 0) turns the camera LoRA off.+ const ids = new Set(cases.map((c) => c.id));+ for (const m of research().recipes.motionsEffects) {+ for (const name of m.presets) {+ const lora = m.cameraLora?.[name];+ const move = m.cameraMotion?.[name];+ const pose = m.funCamera?.[name];+ const id = `dop/${m.kind}-${slug(name)}`;+ if ((!lora && !move && !pose) || ids.has(id) || !catalog[m.kind].has(name)) continue;+ ids.add(id);+ const transition = catalog.endFrames.has(name);+ const cloud = move ? "ltx-2-5" : lora ? "fuobe-dop-ltx" : "fuobe-dop";+ cases.push({+ id,+ title: `DoP ${m.kind} · ${name} (camera)`,+ motion: name,+ presetId: `${m.kind}-${slug(name)}`,+ ...(transition && { op: "flf2v" }),+ ...(cloud !== "fuobe-dop" && { models: { open: ["fuobe-dop"], demo: ["fuobe-dop"], cloud: [cloud] } }),+ inputs: { images: ["local/dop/start.png"], ...(transition && { endImage: "local/dop/end.png" }) },+ demoInputs: { images: ["fixtures/start-frame.png"], ...(transition && { endImage: "fixtures/end-frame.png" }) },+ ...(move && { params: { duration: 6 } }),+ tags: [m.kind, m.status, "camera", ...(pose && !transition ? ["fun-camera"] : []), ...(lora ? ["camera-lora"] : []), ...(transition ? ["transition"] : [])],+ note: [pose && !transition ? `GPU: Wan 2.2 Fun Camera "${pose}"` : "", lora ? `cloud: LTX-2.3 camera_lora ${lora}` : "", move ? `cloud: LTX-2.5 camera_motion ${move}` : ""].filter(Boolean).join(" · "),+ });+ }+ }return {suite: {$schema: "./case.schema.json",@@ -308,6 +337,61 @@ function dopSuite() {};}+/** Fuobe's own Mix pairs (a move and an effect, research §7.5): the second preset's LoRAs stack on the first's model. */+const MIX_PAIRS = [+ ["motion-overhead", "effect-building-explosion"],+ ["motion-handheld", "effect-glitch"],+ ["motion-robo-arm", "effect-money-rain"],+ ["motion-dolly-in", "effect-hero-flight"],+ // A camera LoRA in the cloud (LTX-2.3) with a Wan effect: the effect joins as words there.+ ["motion-jib-up", "effect-freezing"],+];++function dopMixSuite() {+ const catalog = catalogPresetNames();+ const name = (id) => [...catalog.motion, ...catalog.effect].find((n) => id.endsWith(`-${slug(n)}`) && (id.startsWith("motion-") ? catalog.motion.has(n) : catalog.effect.has(n)));+ const cases = MIX_PAIRS.map(([first, second]) => {+ const [a, b] = [name(first), name(second)];+ if (!a || !b) throw new Error(`Mix pair ${first} + ${second}: not in the catalog`);+ return {+ id: `dop-mix/${slug(a)}--${slug(b)}`,+ title: `Mix · ${a} + ${b}`,+ presetId: first,+ mix: { presetId: second, strength: 0.6 },+ ...(first === "motion-jib-up" && { models: { open: ["fuobe-dop"], demo: ["fuobe-dop"], cloud: ["fuobe-dop-ltx"] } }),+ inputs: { images: ["local/dop/start.png"] },+ demoInputs: { images: ["fixtures/start-frame.png"] },+ tags: ["mix"],+ };+ });+ return {+ $schema: "./case.schema.json",+ suite: "dop-mix",+ title: "Fuobe DoP · Mix (a move and an effect on one run)",+ description: `${HEADER} Fuobe DoP's Mix on both engines: the second preset's LoRAs stack on the first's model, each scaled by its strength (0.6 here), and its words join the prompt. A LoRA for another base (a Wan effect on an LTX-2.3 camera move) joins as words only. Variants: the Mix, and the first preset alone.`,+ original: ["fuobe-dop", "fuobe-dop-ltx"],+ kind: "video",+ targets: {+ open: { models: ["fuobe-dop"], params: { duration: 5 } },+ cloud: { models: ["fuobe-dop"], params: { duration: 5 } },+ demo: { models: ["fuobe-dop"], params: { duration: 5 } },+ },+ defaults: {+ seeds: [1001, 2002],+ prompts: [{ id: "bridge", text: "a woman in a red coat on a city bridge at golden hour" }],+ metrics: ["temporal", "clip"],+ variant: "first",+ candidate: "mix",+ timeoutSeconds: 2700,+ },+ variants: {+ mix: { description: "Both presets: the first at full strength, the second's LoRAs at 0.6" },+ first: { description: "The first preset alone (no Mix)", mix: false },+ },+ cases,+ };+}+const write = (name, data, check) => {const file = path.join(CASES_DIR, name);const text = `${JSON.stringify(data, null, 2)}\n`;@@ -322,12 +406,12 @@ const write = (name, data, check) => {export function generated() {const dop = dopSuite();- return { "soul.json": soulSuite(), "soul-cinema.json": soulCinemaSuite(), "soul-hex.json": soulHexSuite(), "dop.json": dop.suite, "case.schema.json": schemaJson(), later: dop.later };+ return { "soul.json": soulSuite(), "soul-cinema.json": soulCinemaSuite(), "soul-hex.json": soulHexSuite(), "dop.json": dop.suite, "dop-mix.json": dopMixSuite(), "case.schema.json": schemaJson(), later: dop.later };}if (import.meta.url === `file://${process.argv[1]}`) {const check = process.argv.includes("--check");const out = generated();- for (const name of ["soul.json", "soul-cinema.json", "soul-hex.json", "dop.json", "case.schema.json"]) write(name, out[name], check);- console.log(`soul: ${out["soul.json"].cases.length} looks · dop: ${out["dop.json"].cases.length} presets${out.later.length ? ` (${out.later.length} research names not in the catalog yet)` : ""}`);+ for (const name of ["soul.json", "soul-cinema.json", "soul-hex.json", "dop.json", "dop-mix.json", "case.schema.json"]) write(name, out[name], check);+ console.log(`soul: ${out["soul.json"].cases.length} looks · dop: ${out["dop.json"].cases.length} presets · dop-mix: ${out["dop-mix.json"].cases.length} pairs${out.later.length ? ` (${out.later.length} research names not in the catalog yet)` : ""}`);}diff --git a/scripts/eval/lib/plan.mjs b/scripts/eval/lib/plan.mjsindex 7d22eb87..8bda5705 100644--- a/scripts/eval/lib/plan.mjs+++ b/scripts/eval/lib/plan.mjs@@ -169,6 +169,7 @@ export function expandJobs(suite, opts) {// The Original applies the look on the server, named by its Fuobe id ("v1-general"): a Higgsfield look id never leaves the harness....(lookOnServer ? { presetId: recipe.look.slug } : presetId ? { presetId } : {}),...(variant.presetStrength !== undefined && presetId && { presetStrength: variant.presetStrength }),+ ...(kase.mix && variant.mix !== false && presetId && { mix: kase.mix }),...(loras.length && { loras }),params,title: `Eval · ${kase.title}${p.shot ? ` · shot ${p.shot.index + 1}` : ""}`,diff --git a/scripts/eval/lib/run.mjs b/scripts/eval/lib/run.mjsindex 72099f3f..4e13bb12 100644--- a/scripts/eval/lib/run.mjs+++ b/scripts/eval/lib/run.mjs@@ -593,7 +593,10 @@ async function runJob(client, job, ctx) {row.status = bad ? (bad.status === "canceled" ? "canceled" : "failed") : "succeeded";if (bad) row.error = bad.error ?? `the generation ${bad.status}`;await finish(row, final, t0, ctx);- if (row.status === "succeeded") row.outputs = await download(client, final, path.join(ctx.dir, "outputs", safeName(job.id)), ctx.dir);+ // A chain /api/generations starts itself (Fuobe DoP's relight effects: the relit still, then the clip): the+ // result is the generations of the suite's kind.+ const own = final.filter((g) => !job.kind || g.kind === job.kind);+ if (row.status === "succeeded") row.outputs = await download(client, own.length ? own : final, path.join(ctx.dir, "outputs", safeName(job.id)), ctx.dir);return row;} catch (e) {row.error = row.status === "succeeded" ? `the results didn't download: ${e.message}` : e.message;diff --git a/scripts/eval/lib/schema.mjs b/scripts/eval/lib/schema.mjsindex 56d59638..f97f918a 100644--- a/scripts/eval/lib/schema.mjs+++ b/scripts/eval/lib/schema.mjs@@ -134,6 +134,8 @@ const Variant = zpreset: z.boolean().optional(),/** Motions / effects: 0 runs the preset's prompt without its catalog LoRAs. */presetStrength: z.number().min(0).max(1).optional(),+ /** Send the case's Mix (default true when the case has one); false runs its first preset alone. */+ mix: z.boolean().optional(),/** The server's own Original applies the look: send the look's Fuobe id ("v1-general") as presetId and no client recipe. */lookParam: z.literal("presetId").optional(),/** Other models for this variant (A/B a model against the recipe). A case can name its own (variantModels). */@@ -172,6 +174,8 @@ export const CaseSchema = z/** A motion or effect name in the research's motionsEffects map (fuobe-originals-recipes-5.json). */motion: z.string().optional(),presetId: z.string().optional(),+ /** Fuobe DoP's Mix: a second motion or effect on the same run, at its strength (0–1). */+ mix: z.object({ presetId: z.string().min(1), strength: z.number().min(0).max(1) }).strict().optional(),/** The case's fixed words after the prompt and the variant's words (a HEX palette's sentence); a variant with template: false leaves them out. */words: z.string().max(2000).optional(),/** Models for this case instead of the suite's targets (a look on another base, a mode with its own model). */diff --git a/src/lib/preset-cards.ts b/src/lib/preset-cards.tsindex 55a2977a..3f4d7e52 100644--- a/src/lib/preset-cards.ts+++ b/src/lib/preset-cards.ts@@ -478,7 +478,10 @@ export function presetRouteLines(): { engine: "cloud" | "open"; label: string; model: string | null }[] {return (["cloud", "open"] as const).map((engine) => {const route = p[engine];- return { engine, label: engine === "cloud" ? "Cloud" : "Open source", model: route ? (nameOf(route.modelId) ?? route.modelId) : null };+ const name = route ? (nameOf(route.modelId) ?? route.modelId) : null;+ // A LoRA whose licence keeps it on the user's GPU (civitai "RentCivit"): the cloud runs the preset's words.+ const gpuOnly = engine === "cloud" && !!route?.loras?.length && route.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 };});}diff --git a/tests/eval-harness.test.ts b/tests/eval-harness.test.tsindex 887aad5d..202165ac 100644--- a/tests/eval-harness.test.ts+++ b/tests/eval-harness.test.ts@@ -764,6 +764,24 @@ describe("runEval as a library", () => {expect(job("dop/effect-thunder-god", "prompt-only").loras?.applied).toEqual([]);expect(plan.runnable).toBe(12);});++ it("dry-runs Fuobe DoP's Mix: both presets' LoRAs against the first alone, and a camera move's pose", async () => {+ const mixes = (await runner.runEval({ suite: cases.loadSuite("dop-mix"), engine: "demo", dryRun: true, cases: ["dop-mix/overhead--building-explosion"], variants: ["mix", "first"], root: results }, { client: createClient({ url: base }) })) as {+ jobs: { variant: string; loras?: { applied: string[] } }[];+ };+ const mix = mixes.jobs.find((j) => j.variant === "mix")!;+ const first = mixes.jobs.find((j) => j.variant === "first")!;+ // The server's preview of the request the harness sends: the Mix's two pairs, the second at 0.6.+ expect(mix.loras?.applied).toHaveLength(4);+ expect(mix.loras?.applied.filter((f) => f.endsWith("@0.6"))).toHaveLength(2);+ expect(first.loras?.applied).toHaveLength(2);+ // A pose-only move (Zoom): its prompt-only run would repeat the catalog run on the GPU, so it is skipped there.+ const zoom = (await runner.runEval({ suite: cases.loadSuite("dop"), engine: "demo", dryRun: true, cases: ["dop/motion-zoom"], variants: ["catalog", "prompt-only"], root: results }, { client: createClient({ url: base }) })) as {+ jobs: { variant: string; skip?: string }[];+ };+ expect(zoom.jobs.find((j) => j.variant === "catalog")).toBeDefined();+ expect(zoom.jobs.find((j) => j.variant === "prompt-only")!.skip).toMatch(/same request as the catalog variant/);+ });});/**diff --git a/tests/preset-cards.test.ts b/tests/preset-cards.test.tsindex a6f29413..8be27e7d 100644--- a/tests/preset-cards.test.ts+++ b/tests/preset-cards.test.ts@@ -1,5 +1,5 @@import { describe, expect, it, vi } from "vitest";-import { APPS, EFFECTS, MOTIONS } from "@/lib/catalog";+import { APPS, EFFECTS, getPreset, MOTIONS } from "@/lib/catalog";// One measured cover (pnpm eval:covers writes this file), for a preset id the catalog doesn't have.vi.mock("@/lib/preset-previews.generated", () => ({@@ -263,6 +263,14 @@ describe("preset route lines (details popover)", () => {// Unknown names fall back to the model id.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)", () => {+ const wiggle = getPreset("motion-wiggle")!;+ const [cloud, open] = presetRouteLines(wiggle, (id) => (id === "fuobe-dop" ? "Fuobe DoP" : undefined));+ expect(cloud.model).toBe("Fuobe DoP · words only, its LoRA is open engine only");+ expect(open.model).toBe("Fuobe DoP");+ expect(presetRouteLines(getPreset("motion-overhead")!, () => "Fuobe DoP")[0].model).toBe("Fuobe DoP");+ });});describe("preset how-to line", () => {