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
Image to 3D: clean Idol splats show their orbit, not the predicted-camera still
Adarshaa354808c374
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex 9d4cb407..21e893ff 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -5663,8 +5663,9 @@ export const SPEC = [sampler: [b('88:6', 'sampler_name')], cropMode: [b('88:110', 'mode')], minOpacity: [b('88:111', 'min_opacity')], maxScale: [b('88:111', 'max_scale')],seed: [b('88:6', 'seed'), b('88:55', 'seed')], splatFormat: [b('92', 'format')], orbitFrames: [b('75', 'frames')],},- // The input-view still is the card's poster ("preview": the picture shown for the result); the count of Gaussians the- // prune kept is the pack's own report of the run (meta.kept on the splat).+ // The input-view still ("preview": what the model saw) stays one of the results, but the card's still is the orbit's+ // (the predicted camera can miss a product seen side on); the count of Gaussians the prune kept is the pack's own+ // report of the run (meta.kept on the splat).outputs: [{ node: '51', kind: 'model3d', role: 'splat' },{ node: '42', kind: 'video', role: 'turntable' },@@ -5685,7 +5686,7 @@ export const SPEC = ['IdolPruneSplat 88:111 after the decoder drops the near-transparent Gaussians (minOpacity 0.05; maxScale 0 = off, 0.05 = "Trim spikes", the needle-shaped ones at the silhouette): ' +'the saved file and the orbit video both get the pruned splat. Its count of the Gaussians kept goes to a PreviewAny (94, role report; the first item of a batch), which the result card shows. ' +'IdolCamera 88:112 reads the camera Idol predicted from the KSampler\'s latent; RenderSplat 88:113 renders the pruned splat from it (1 frame, 1024 px, black) and SaveImage 93 keeps it ' +- '(role preview: the card\'s poster, what the model saw). The pack has no Python dependencies; ComfyUI v0.23.0 or later (Fuobe runs 0.41.0). ' ++ '(role preview: what the model saw; that camera can miss a product seen side on, so the result card shows the orbit video\'s first frame instead). The pack has no Python dependencies; ComfyUI v0.23.0 or later (Fuobe runs 0.41.0). ' +'Same weights, sampler presets and VRAM listing as image-to-splat-idol.',},{diff --git a/src/components/model3d/model-card.tsx b/src/components/model3d/model-card.tsxindex 0be6425e..d72a3a1d 100644--- a/src/components/model3d/model-card.tsx+++ b/src/components/model3d/model-card.tsx@@ -7,7 +7,7 @@ import { toast } from "sonner";import { Button } from "@/components/ui/button";import { uploadFile, useAskBeforeUpload, useEngine, useHydrated, useIsOwner, useModelAccess } from "@/lib/api";import { offered } from "@/lib/model-access";-import { FINAL_3D, RETEXTURE_MODELS, animateSpinHref, animationName, finalBuildHref, FRONT_YAW, model3dView, photorealAngle, photorealBody, stillOf, turnOrbit, type Model3dView } from "@/lib/av/model3d";+import { FINAL_3D, RETEXTURE_MODELS, animateSpinHref, animationName, finalBuildHref, firstFrameSrc, FRONT_YAW, model3dView, photorealAngle, photorealBody, stillOf, turnOrbit, type Model3dView } from "@/lib/av/model3d";import { anyAngleHref } from "@/lib/catalog/any-angle";import { PATH_FPS, PATH_FRAMES } from "@/lib/camera-path";import { useFlyAround } from "@/components/fly-around-run";@@ -137,8 +137,9 @@ export function ModelCard({useEffect(() => () => void (recordedUrl && URL.revokeObjectURL(recordedUrl)), [recordedUrl]);// The turntable the server rendered (open models), TripoSplat's orbit or the demo's, or the one recorded here.const clip = view.turntable ?? recordedUrl;- // What the card shows while the viewer is closed: the poster, else the photo it was made from.- const still = view.poster ?? view.photo;+ // What the card shows while the viewer is closed: the poster, else the photo it was made from. An Idol 3D clean splat+ // shows its orbit's first frame instead (view.stillClip), so the turntable shows its own.+ const still = view.stillClip ? undefined : (view.poster ?? view.photo);// From words on the open engine: the Z-Image still the model was built from (a helper step the page hides).const drawn = stillOf(g);const name = (g.modelName ?? "model").replace(/[^\w .-]+/g, "");@@ -288,7 +289,9 @@ export function ModelCard({switchTo("3d");};const placeholder = view.splat ? (- view.poster ? (+ view.stillClip ? (+ <ClipStill src={view.stillClip} label={`The ${label} splat, from its orbit`} />+ ) : view.poster ? (// eslint-disable-next-line @next/next/no-img-element<img src={view.poster} alt="The subject the splat was made from, cut out" loading="lazy" decoding="async" className="size-full object-contain p-4" />) : (@@ -547,9 +550,15 @@ export function ModelCard({);}+/** A clip's first frame as the card's still: it never plays, and loads only what that frame needs. */+function ClipStill({ src, label }: { src: string; label: string }) {+ return <video src={firstFrameSrc(src)} muted playsInline preload="metadata" aria-label={label} className="size-full bg-media object-contain" />;+}+/*** A card's turntable loop: it loads and plays only while the card is on screen, not at all when the user- * prefers reduced motion (the poster shows instead), and has a pause / play button (WCAG 2.2.2).+ * prefers reduced motion (the poster shows instead, or the clip's first frame without one), and has a pause / play+ * button (WCAG 2.2.2).*/function TurntableLoop({ src, poster, label }: { src: string; poster?: string; label: string }) {const ref = useRef<HTMLVideoElement>(null);@@ -574,7 +583,17 @@ function TurntableLoop({ src, poster, label }: { src: string; poster?: string; l}, [playing]);return (<>- <video ref={ref} src={src} poster={poster} loop muted playsInline preload="none" aria-label={label} className="size-full bg-media object-contain" />+ <video+ ref={ref}+ src={poster ? src : firstFrameSrc(src)}+ poster={poster}+ loop+ muted+ playsInline+ preload={poster ? "none" : "metadata"}+ aria-label={label}+ className="size-full bg-media object-contain"+ /><buttontype="button"onClick={() => setChoice(wanted ? "pause" : "play")}diff --git a/src/lib/av/model3d.ts b/src/lib/av/model3d.tsindex 97696149..7b6ece7e 100644--- a/src/lib/av/model3d.ts+++ b/src/lib/av/model3d.ts@@ -197,6 +197,15 @@ export function idolKept(text: string | undefined): number | undefined {return t && Number.isInteger(n) && n >= 0 ? n : undefined;}+/** Whether a splat came from the clean graph: its saved file says it was pruned (the core graph's says it wasn't). */+export const isIdolClean = (meta: Record<string, unknown> | undefined) => meta?.pruned === true;++/**+ * A clip's first frame, for a <video> that stands in for a still: the media fragment makes browsers that wait for a+ * play (iOS Safari) show the frame too. A link that already has a fragment is left as it is.+ */+export const firstFrameSrc = (url: string) => (url.includes("#") ? url : `${url}#t=0.001`);+/** The result card's line about a splat file: how many Gaussians the clean graph kept, or that it wasn't cleaned. */export function idolCleanLine(meta: Record<string, unknown> | undefined): { cleaned: boolean; text: string } | undefined {if (typeof meta?.kept === "number") return { cleaned: true, text: `Cleaned: ${meta.kept.toLocaleString("en-US")} Gaussians kept` };@@ -357,7 +366,16 @@ export interface Model3dView {rendering?: { queued: boolean; progress: number };/** The material class the server's finish read from the textures (matte, metal, mixed, unknown). */material?: string;+ /**+ * The still, as a picture: the card's poster, the next steps' picture. An Idol 3D clean splat with an orbit and no+ * still of it has the photo here, and `stillClip` for the card.+ */poster?: string;+ /**+ * The clip whose first frame is the card's still (an Idol 3D clean splat's orbit, when no still of it was made): the+ * graph's own still is rendered from the camera Idol predicts, which can miss a product seen side on.+ */+ stillClip?: string;/** The product photo it was made from. */photo?: string;/** Other files the provider returned (OBJ, FBX, USDZ, the splat, the walk and run clips…), by name. */@@ -411,16 +429,27 @@ export function model3dView(g: Pick<Generation, "outputs" | "request">): Model3dconst format = splatFormatOf(mesh);const splat = mesh && format ? { url: mesh.url, format } : undefined;const clean = splat ? idolCleanLine(meta) : undefined;+ const turntable = str(meta.turntable) ?? str(meta.video) ?? video?.url;+ const photo = g.request.inputs?.images?.[0];+ const images = g.outputs.filter((o) => o.kind === "image");+ // Idol 3D's clean graph: its own still (role "preview") is rendered from the camera Idol predicts, which can collapse+ // for a product seen side on (a heel in profile comes out as a few squares on black). Its card shows the orbit+ // instead: a still made of it (by the server, the graph, or on the clip), else the clip's first frame, with the photo+ // as the picture the next steps take.+ const fromOrbit = !!splat && !!turntable && isIdolClean(meta);+ const orbit = fromOrbit ? g.outputs.find((o) => o.kind === "video" && o.url === turntable) : undefined;+ const orbitStill = fromOrbit ? (str(meta.poster) ?? images.find((o) => o.meta?.role === "poster")?.url ?? str(orbit?.meta?.poster) ?? str(orbit?.meta?.thumbnail)) : undefined;return {glb: splat ? fromSplat?.url : mesh?.url,web: mesh && !splat ? viewerGlb(mesh) : fromSplat?.url,splat,...(clean && { clean }),- turntable: str(meta.turntable) ?? str(meta.video) ?? video?.url,+ turntable,rendering: pending ? { queued: finish.turntable === "queued", progress: typeof finish.turntableProgress === "number" ? finish.turntableProgress : 0 } : undefined,material: str(finish.material),- poster: str(meta.preview) ?? str(meta.poster) ?? g.outputs.find((o) => o.kind === "image")?.url,- photo: g.request.inputs?.images?.[0],+ poster: fromOrbit ? (orbitStill ?? photo) : (str(meta.preview) ?? str(meta.poster) ?? images[0]?.url),+ ...(fromOrbit && !orbitStill && { stillClip: turntable }),+ photo,formats,rigged: meta.rigged === true || undefined,animated: meta.animated === true || undefined,diff --git a/tests/fixtures/idol-clean/runs.json b/tests/fixtures/idol-clean/runs.jsonnew file mode 100644index 00000000..2d8e7221--- /dev/null+++ b/tests/fixtures/idol-clean/runs.json@@ -0,0 +1,126 @@+{+ "stiletto": {+ "id": "hzJTGNinhPE0",+ "feature": "image-to-3d",+ "modelId": "oss-idol",+ "engine": "open",+ "provider": "comfyui",+ "op": "splat",+ "kind": "model3d",+ "status": "succeeded",+ "request": {+ "feature": "image-to-3d",+ "modelId": "oss-idol",+ "op": "splat",+ "inputs": {+ "images": [+ "/api/files/uploads/2026-11-05/nzAx_9c4G8Kr.png"+ ]+ },+ "params": {+ "extra": {+ "steps": 50,+ "sampler": "euler",+ "cfg": 4,+ "numGaussians": 262144,+ "photoCrop": true+ }+ }+ },+ "outputs": [+ {+ "url": "/api/files/outputs/2026-11-05/W2hvric_edOe.spz",+ "kind": "model3d",+ "contentType": "model/x-spz",+ "assetId": "W2hvric_edOe",+ "meta": {+ "role": "splat",+ "format": "spz",+ "pruned": true,+ "kept": 221589+ }+ },+ {+ "url": "/api/files/outputs/2026-11-05/fo5mACABrV5i.mp4",+ "kind": "video",+ "contentType": "video/mp4",+ "assetId": "fo5mACABrV5i",+ "meta": {+ "role": "turntable"+ }+ },+ {+ "url": "/api/files/outputs/2026-11-05/iP603nS-DIwR.png",+ "kind": "image",+ "contentType": "image/png",+ "assetId": "iP603nS-DIwR",+ "meta": {+ "role": "preview",+ "seed": 32612220243737+ }+ }+ ]+ },+ "headphones": {+ "id": "EWH371cOxLSK",+ "feature": "image-to-3d",+ "modelId": "oss-idol",+ "engine": "open",+ "provider": "comfyui",+ "op": "splat",+ "kind": "model3d",+ "status": "succeeded",+ "request": {+ "feature": "image-to-3d",+ "modelId": "oss-idol",+ "op": "splat",+ "inputs": {+ "images": [+ "/api/files/uploads/2026-11-05/TY6KAuTdq2C1.png"+ ]+ },+ "params": {+ "extra": {+ "steps": 50,+ "sampler": "euler",+ "cfg": 4,+ "numGaussians": 262144,+ "photoCrop": true+ }+ }+ },+ "outputs": [+ {+ "url": "/api/files/outputs/2026-11-05/wD7xdgItvMEZ.spz",+ "kind": "model3d",+ "contentType": "model/x-spz",+ "assetId": "wD7xdgItvMEZ",+ "meta": {+ "role": "splat",+ "format": "spz",+ "pruned": true,+ "kept": 239798+ }+ },+ {+ "url": "/api/files/outputs/2026-11-05/_j_l8eHOmh_m.mp4",+ "kind": "video",+ "contentType": "video/mp4",+ "assetId": "_j_l8eHOmh_m",+ "meta": {+ "role": "turntable"+ }+ },+ {+ "url": "/api/files/outputs/2026-11-05/81aIcaK8E4Z9.png",+ "kind": "image",+ "contentType": "image/png",+ "assetId": "81aIcaK8E4Z9",+ "meta": {+ "role": "preview",+ "seed": 246725838011961+ }+ }+ ]+ }+}diff --git a/tests/fixtures/idol-clean/stiletto-input-view.png b/tests/fixtures/idol-clean/stiletto-input-view.pngnew file mode 100644index 00000000..de15178aBinary files /dev/null and b/tests/fixtures/idol-clean/stiletto-input-view.png differdiff --git a/tests/fixtures/idol-clean/stiletto-orbit-first-frame.jpg b/tests/fixtures/idol-clean/stiletto-orbit-first-frame.jpgnew file mode 100644index 00000000..6ced6c2cBinary files /dev/null and b/tests/fixtures/idol-clean/stiletto-orbit-first-frame.jpg differdiff --git a/tests/idol-clean-poster.test.ts b/tests/idol-clean-poster.test.tsnew file mode 100644index 00000000..308a3740--- /dev/null+++ b/tests/idol-clean-poster.test.ts@@ -0,0 +1,154 @@+import fs from "node:fs";+import path from "node:path";+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";+import { createElement } from "react";+import { renderToStaticMarkup } from "react-dom/server";+import sharp from "sharp";+import { describe, expect, it, vi } from "vitest";+import type { Generation, OutputFile } from "@/lib/catalog/types";++vi.mock("next/navigation", () => ({+ useRouter: () => ({ prefetch: () => {}, push: () => {}, replace: () => {}, back: () => {}, refresh: () => {} }),+ usePathname: () => "/image-to-3d",+ useSearchParams: () => new URLSearchParams(),+}));++const { firstFrameSrc, isIdolClean, model3dView } = await import("@/lib/av/model3d");+const { keepGoing } = await import("@/lib/next-steps");++/**+ * Idol 3D's clean graph saves a still rendered from the camera Idol predicts (role "preview"). For a product seen side+ * on that camera can collapse: the red stiletto's still is a few coloured squares on black, while the same run's orbit+ * is clean from every side. The result card's still is the orbit's (a still made of it, else the clip's first frame) on+ * clean results; every other graph keeps its order. The fixtures are two real runs on the clean graph, as stored: the+ * stiletto (side view, the still collapsed) and headphones (three-quarter view, the still fine).+ */++const dir = path.join(process.cwd(), "tests", "fixtures", "idol-clean");+type Run = Pick<Generation, "id" | "feature" | "modelId" | "engine" | "provider" | "op" | "kind" | "status" | "request" | "outputs">;+const runs = JSON.parse(fs.readFileSync(path.join(dir, "runs.json"), "utf8")) as Record<"stiletto" | "headphones", Run>;+const byRole = (r: Run, role: string) => r.outputs.find((o) => o.meta?.role === role)!;+const photoOf = (r: Run) => r.request.inputs!.images![0];++/** The share of a picture's pixels that differ from its plain background (the top-left pixel), from 0 to 1. */+async function subjectShare(file: string): Promise<number> {+ const { data, info } = await sharp(file).removeAlpha().raw().toBuffer({ resolveWithObject: true });+ const bg = [data[0], data[1], data[2]];+ let n = 0;+ for (let i = 0; i < data.length; i += info.channels) if (Math.abs(data[i] - bg[0]) + Math.abs(data[i + 1] - bg[1]) + Math.abs(data[i + 2] - bg[2]) > 40) n++;+ return n / (info.width * info.height);+}++describe("the fixtures: the stiletto run's own still collapsed, its orbit didn't", () => {+ it("the input-view still is a few squares on black; the orbit's first frame shows the shoe", async () => {+ const still = await subjectShare(path.join(dir, "stiletto-input-view.png"));+ const orbit = await subjectShare(path.join(dir, "stiletto-orbit-first-frame.jpg"));+ expect(still).toBeLessThan(0.02);+ expect(orbit).toBeGreaterThan(0.08);+ });++ it("both runs are clean-graph splats with an orbit and the input-view still", () => {+ for (const r of Object.values(runs)) {+ expect(r.outputs.map((o) => [o.kind, o.meta?.role])).toEqual([+ ["model3d", "splat"],+ ["video", "turntable"],+ ["image", "preview"],+ ]);+ expect(isIdolClean(r.outputs[0].meta)).toBe(true);+ }+ });+});++describe("the card's still on the clean graph: the orbit", () => {+ it("the stiletto run's still is not the collapsed preview: the card shows the orbit's first frame, the photo is the picture", () => {+ const r = runs.stiletto;+ const view = model3dView(r);+ const preview = byRole(r, "preview").url;+ expect(view.poster).not.toBe(preview);+ expect(view.stillClip).not.toBe(preview);+ expect(view.stillClip).toBe(byRole(r, "turntable").url);+ expect(view.turntable).toBe(byRole(r, "turntable").url);+ expect(view.poster).toBe(photoOf(r));+ expect(view.splat).toEqual({ url: r.outputs[0].url, format: "spz" });+ expect(view.clean).toEqual({ cleaned: true, text: "Cleaned: 221,589 Gaussians kept" });+ });++ it("so does every clean result, whatever its still looks like (the card can't tell a collapsed one)", () => {+ const r = runs.headphones;+ expect(model3dView(r)).toMatchObject({ stillClip: byRole(r, "turntable").url, poster: photoOf(r) });+ });++ it("a still made of the orbit is the poster, and then no clip stands in", () => {+ const r = runs.stiletto;+ const [splat, video, preview] = r.outputs;+ const still = "/api/files/outputs/orbit-still.webp";+ const on = (outputs: OutputFile[]) => {+ const v = model3dView({ ...r, outputs });+ return { poster: v.poster, stillClip: v.stillClip };+ };+ // The server's still of the orbit, on the splat.+ expect(on([{ ...splat, meta: { ...splat.meta, poster: still } }, video, preview])).toEqual({ poster: still, stillClip: undefined });+ // The graph's (an image with role "poster"), even after the input view.+ expect(on([splat, video, preview, { url: still, kind: "image", meta: { role: "poster" } }])).toEqual({ poster: still, stillClip: undefined });+ // The clip's own poster.+ expect(on([splat, { ...video, meta: { ...video.meta, poster: still } }, preview])).toEqual({ poster: still, stillClip: undefined });+ });++ it("the next steps take the photo, never the collapsed still", () => {+ const r = runs.stiletto;+ const steps = keepGoing(r as Generation, 0, {}, 6);+ const hrefs = steps.map((s) => s.href).join(" ");+ expect(hrefs).not.toContain(encodeURIComponent(byRole(r, "preview").url));+ expect(steps.find((s) => s.id === "product-360")?.href).toContain(encodeURIComponent(photoOf(r)));+ });++ it("a clean splat with no orbit keeps the old order", () => {+ const r = runs.stiletto;+ const view = model3dView({ ...r, outputs: r.outputs.filter((o) => o.kind !== "video") });+ expect(view).toMatchObject({ poster: byRole(r, "preview").url, turntable: undefined });+ expect(view.stillClip).toBeUndefined();+ });+});++describe("every other graph keeps its order", () => {+ const spz = (meta: Record<string, unknown>): OutputFile => ({ url: "/api/files/s.spz", kind: "model3d", meta: { role: "splat", format: "spz", ...meta } });+ const clip: OutputFile = { url: "/api/files/t.mp4", kind: "video", meta: { role: "turntable" } };+ const pic: OutputFile = { url: "/api/files/p.png", kind: "image" };+ const view = (outputs: OutputFile[]) => model3dView({ outputs, request: { feature: "image-to-3d", modelId: "oss-idol", op: "splat", inputs: { images: ["/api/files/photo.png"] } } });++ it("the core graph's splat (not pruned), TripoSplat's and fal's: the first picture", () => {+ for (const meta of [{ pruned: false }, {}]) {+ const v = view([spz(meta), clip, pic]);+ expect(v.poster).toBe(pic.url);+ expect(v.stillClip).toBeUndefined();+ }+ });++ it("a GLB: its preview, then the server's poster, then the first picture", () => {+ const glb = (meta: Record<string, unknown>): OutputFile => ({ url: "/api/files/m.glb", kind: "model3d", meta });+ expect(model3dView({ outputs: [glb({ preview: "/a.png", poster: "/b.webp" }), pic], request: { feature: "image-to-3d", modelId: "oss-trellis2", op: "image-to-3d", inputs: {} } }).poster).toBe("/a.png");+ expect(model3dView({ outputs: [glb({ poster: "/b.webp" }), pic], request: { feature: "image-to-3d", modelId: "oss-trellis2", op: "image-to-3d", inputs: {} } }).poster).toBe("/b.webp");+ expect(model3dView({ outputs: [glb({}), pic], request: { feature: "image-to-3d", modelId: "oss-trellis2", op: "image-to-3d", inputs: {} } }).poster).toBe(pic.url);+ });+});++describe("the card, rendered with the stiletto run", () => {+ it("plays the orbit from its own first frame and never shows the collapsed still", async () => {+ const { ModelCard } = await import("@/components/model3d/model-card");+ const r = runs.stiletto;+ const g = { ...r, batchId: null, presetId: null, progress: null, message: null, prompt: "", error: null, costUsd: 0, favorite: false, createdAt: 0, updatedAt: 0, completedAt: 0, modelName: "Idol 3D" } as Generation;+ const html = renderToStaticMarkup(createElement(QueryClientProvider, { client: new QueryClient() }, createElement(ModelCard, { g, cloudAllowed: false })));+ const clip = byRole(r, "turntable").url;+ expect(html).not.toContain(byRole(r, "preview").url);+ // The turntable loop: no poster picture, the clip's first frame (it loads only what that frame needs).+ const video = /<video[^>]*>/.exec(html)?.[0] ?? "";+ expect(video).toContain(`src="${firstFrameSrc(clip)}"`);+ expect(video).toContain('preload="metadata"');+ expect(video).not.toContain("poster=");+ });++ it("the first-frame link keeps the file's path and adds the time", () => {+ expect(firstFrameSrc("/api/files/t.mp4")).toBe("/api/files/t.mp4#t=0.001");+ expect(firstFrameSrc("/api/files/t.mp4#t=2")).toBe("/api/files/t.mp4#t=2");+ });+});diff --git a/tests/idol-clean.test.ts b/tests/idol-clean.test.tsindex 2029f165..6ae61ee6 100644--- a/tests/idol-clean.test.ts+++ b/tests/idol-clean.test.ts@@ -311,7 +311,7 @@ describe("the outputs and the card", () => {},});- it("the clean splat says how many Gaussians were kept; the still is the poster; the count isn't a file", () => {+ it("the clean splat says how many Gaussians were kept; the card's still is the orbit's first frame; the count isn't a file", () => {const outs = collectOutputs(history("131072"), getWorkflow("image-to-splat-idol-clean").manifest);expect(outs.map((o) => [o.kind, o.meta])).toEqual([["model3d", { role: "splat", format: "spz", pruned: true, kept: 131072 }],@@ -320,7 +320,10 @@ describe("the outputs and the card", () => {]);const view = m3d.model3dView({ outputs: outs as never, request: { op: "splat", inputs: { images: ["/api/files/p.png"] } } as never });expect(view.clean).toEqual({ cleaned: true, text: "Cleaned: 131,072 Gaussians kept" });- expect(view.poster).toBe(outs[2].url);+ // The input-view still (role preview) can collapse for a product seen side on: the card shows the orbit instead, and+ // the next steps take the photo (tests/idol-clean-poster.test.ts).+ expect(view.stillClip).toBe(outs[1].url);+ expect(view.poster).toBe("/api/files/p.png");expect(view.splat?.format).toBe("spz");// No count (an older pack, or an answer that isn't a number): pruned, with nothing to say about it.const noCount = collectOutputs(history("n/a"), getWorkflow("image-to-splat-idol-clean").manifest);diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex 0e832c42..9c92d3b9 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -25002,7 +25002,7 @@"vramGb": 8,"license": "Apache-2.0 (speridlabs/idol weights; the ComfyUI files are nynxz/Idol's conversion, Apache-2.0); Idol is VAST-AI-Research's TripoSplat architecture (MIT, code and weights); the dino_v3_vit_h image encoder is under the DINOv3 License (royalty-free, commercial use allowed, trade-control limits; the app must show a \"Built with DINOv3\" notice); FLUX.2 VAE Apache-2.0; BiRefNet MIT; ComfyUI-Idol nodes Apache-2.0","validated": true,- "notes": "Idol 3D with the ComfyUI-Idol pack (Nynxz, pinned at 4d3a4f67): image-to-splat-idol with the same node ids, except: IdolPreprocessImage 88:110 replaces TripoSplatPreprocessImage 88:2 and the core photo crop 88:101-104 (cropMode synthetic = Idol's 1.2 crop, real = its 1.7 photo crop; the mask is Fuobe's cut-out switch 88:35, BiRefNet or the picture's alpha; erode 1, 1024 px). IdolPruneSplat 88:111 after the decoder drops the near-transparent Gaussians (minOpacity 0.05; maxScale 0 = off, 0.05 = \"Trim spikes\", the needle-shaped ones at the silhouette): the saved file and the orbit video both get the pruned splat. Its count of the Gaussians kept goes to a PreviewAny (94, role report; the first item of a batch), which the result card shows. IdolCamera 88:112 reads the camera Idol predicted from the KSampler's latent; RenderSplat 88:113 renders the pruned splat from it (1 frame, 1024 px, black) and SaveImage 93 keeps it (role preview: the card's poster, what the model saw). The pack has no Python dependencies; ComfyUI v0.23.0 or later (Fuobe runs 0.41.0). Same weights, sampler presets and VRAM listing as image-to-splat-idol."+ "notes": "Idol 3D with the ComfyUI-Idol pack (Nynxz, pinned at 4d3a4f67): image-to-splat-idol with the same node ids, except: IdolPreprocessImage 88:110 replaces TripoSplatPreprocessImage 88:2 and the core photo crop 88:101-104 (cropMode synthetic = Idol's 1.2 crop, real = its 1.7 photo crop; the mask is Fuobe's cut-out switch 88:35, BiRefNet or the picture's alpha; erode 1, 1024 px). IdolPruneSplat 88:111 after the decoder drops the near-transparent Gaussians (minOpacity 0.05; maxScale 0 = off, 0.05 = \"Trim spikes\", the needle-shaped ones at the silhouette): the saved file and the orbit video both get the pruned splat. Its count of the Gaussians kept goes to a PreviewAny (94, role report; the first item of a batch), which the result card shows. IdolCamera 88:112 reads the camera Idol predicted from the KSampler's latent; RenderSplat 88:113 renders the pruned splat from it (1 frame, 1024 px, black) and SaveImage 93 keeps it (role preview: what the model saw; that camera can miss a product seen side on, so the result card shows the orbit video's first frame instead). The pack has no Python dependencies; ComfyUI v0.23.0 or later (Fuobe runs 0.41.0). Same weights, sampler presets and VRAM listing as image-to-splat-idol."},{"id": "image-to-mesh-idol",