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.

Tests: Image to 3D's From an image list holds Idol 3D Mesh and Idol 3D quick mesh

Claude654522bb41cb
diff --git a/tests/idol-mesh.test.ts b/tests/idol-mesh.test.ts
index fa8035fc..306fb7ba 100644
--- a/tests/idol-mesh.test.ts
+++ b/tests/idol-mesh.test.ts
@@ -126,6 +126,8 @@ describe("Idol 3D quick mesh: the model and From an image", () => {
expect(m3d.MODELS_3D.image.open).toEqual([
expect.objectContaining({ id: "oss-pixal3d" }),
expect.objectContaining({ id: "oss-trellis2" }),
+ // Photo to 3D's Idol 3D Mesh (its own graph, with an orbit clip) sits before Hunyuan3D 2.1.
+ expect.objectContaining({ id: "oss-idol-3d" }),
expect.objectContaining({ id: "oss-hunyuan3d-21" }),
{ id: "oss-idol-mesh", note: "Rough mesh, vertex colours, no textures · 8 GB GPU" },
]);
diff --git a/tests/photo-to-3d.test.ts b/tests/photo-to-3d.test.ts
index 35a32bb3..146bc2d5 100644
--- a/tests/photo-to-3d.test.ts
+++ b/tests/photo-to-3d.test.ts
@@ -140,7 +140,8 @@ describe("the model and the app", () => {
const m = getModel("oss-idol-3d")!;
expect(m).toMatchObject({ engine: "open", kind: "model3d" });
expect(m.routes).toEqual([expect.objectContaining({ op: "image-to-3d", provider: "comfyui", endpoint: "image-to-3d-idol" })]);
- expect(m3d.MODELS_3D.image.open.map((c) => c.id)).toEqual(["oss-pixal3d", "oss-trellis2", "oss-idol-3d", "oss-hunyuan3d-21"]);
+ // Idol 3D quick mesh (Idol's splat as a vertex-coloured mesh, no orbit clip) comes last.
+ expect(m3d.MODELS_3D.image.open.map((c) => c.id)).toEqual(["oss-pixal3d", "oss-trellis2", "oss-idol-3d", "oss-hunyuan3d-21", "oss-idol-mesh"]);
expect(m3d.model3dFor("image", "open")).toBe("oss-pixal3d");
expect(m3d.modeOf("oss-idol-3d")).toEqual({ mode: "image", engine: "open" });
});