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
Evaluation: the splat suite's demo run keeps the demo's splat as it is, so Image to 3D's demo cards don't change
Claude335acf199072
diff --git a/src/server/providers/mock.ts b/src/server/providers/mock.tsindex a0fb106c..6ac145ad 100644--- a/src/server/providers/mock.ts+++ b/src/server/providers/mock.ts@@ -321,11 +321,8 @@ function demoOutputs(op: Operation | undefined, kind: MediaKind, prompt: string,if (kind === "image") return [depth];return [{ url: "sample:demo-model.glb", kind: "model3d", contentType: "model/gltf-binary", meta: { demo: true, format: "glb", scene: true, role: "scene" } }, depth];}- // An open splat graph also renders its orbit video (role turntable), as the real ones do; fal's splat is the file alone.- case "splat": {- const splat: DemoOutput = { url: "sample:demo-model.glb", kind: "model3d", contentType: "model/gltf-binary", meta: { demo: true, format: "glb", splat: true } };- return meta.orbit ? [splat, { url: "sample:demo-turntable.mp4", kind: "video", contentType: "video/mp4", meta: { demo: true, role: "turntable" } }] : [splat];- }+ case "splat":+ return [{ url: "sample:demo-model.glb", kind: "model3d", contentType: "model/gltf-binary", meta: { demo: true, format: "glb", splat: true } }];case "rig-3d":return [{ url: "sample:demo-model.glb", kind: "model3d", contentType: "model/gltf-binary", meta: { demo: true, format: "glb", rigged: true } }];// Hi3D's refine: the demo mesh, geometry only as the real one is.@@ -460,8 +457,6 @@ export const mockProvider: ProviderAdapter = {threeStems: route.op === "separate-audio" && route.endpoint === "separate-soundtrack-dbs",// DBS graph C (soundtrack-remix-dbs): one remixed track.remix: route.op === "separate-audio" && route.endpoint === "soundtrack-remix-dbs",- // An open splat (image-to-splat-*): the splat and its orbit video.- orbit: route.op === "splat" && route.provider === "comfyui",},payload: { demo: true, ...input },};diff --git a/tests/eval-harness.test.ts b/tests/eval-harness.test.tsindex 220c0fb8..d7bcaf4e 100644--- a/tests/eval-harness.test.ts+++ b/tests/eval-harness.test.ts@@ -484,8 +484,8 @@ describe("the runner on the demo provider", () => {expect(done.map((x) => `${x.caseId} ${x.variant}`).sort()).toEqual(["idol-best", "idol-quick", "idol-photo-crop", "triposplat-today"].map((v) => `splat/photo-mug ${v}`).concat(["idol-best", "idol-quick", "triposplat-today"].map((v) => `splat/bottle ${v}`)).sort(),);- // The splat file is kept and the orbit video comes with it: that is what the scorer and the blind review read.- for (const row of done) expect((row.outputs as { kind: string; role?: string }[]).map((o) => [o.kind, o.role ?? null])).toEqual([["model3d", null], ["video", "turntable"]]);+ // The demo's splat is its mesh alone (a real open run adds the orbit video, which the scorer and the blind review read).+ for (const row of done) expect((row.outputs as { kind: string }[]).map((o) => o.kind)).toEqual(["model3d"]);expect(rows.filter((x) => x.status === "skipped").map((x) => [x.caseId, x.variant, x.skip])).toEqual(expect.arrayContaining([["splat/bottle", "idol-photo-crop", "the idol-photo-crop variant runs on cases tagged photo only"],