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: Idol 3D runs its clean graph where ComfyUI-Idol is installed, with Trim spikes and a cleaned count on the card
Claude43a7ce44098a
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex 318096a7..cc049338 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -4915,10 +4915,9 @@ export const SPEC = ['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 goes to a PreviewAny (94, role report: meta.kept on the splat; the first item of a batch). ' ++ '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). ' +- 'Not on the validation server: its classes are expected through PACK_CLASSES, so a /prompt check with the pack installed is still to be done. ' +'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 f881b322..d1ef78f5 100644--- a/src/components/model3d/model-card.tsx+++ b/src/components/model3d/model-card.tsx@@ -5,7 +5,7 @@ import Link from "next/link";import { createElement, useCallback, useEffect, useEffectEvent, useRef, useState, useSyncExternalStore } from "react";import { toast } from "sonner";import { Button } from "@/components/ui/button";-import { uploadFile, useEngine, useHydrated } from "@/lib/api";+import { uploadFile, useEngine, useHydrated, useIsOwner } from "@/lib/api";import { animateSpinHref, animationName, model3dView, photorealAngle, photorealBody, stillOf, type Model3dView } from "@/lib/av/model3d";import { PATH_FPS, PATH_FRAMES } from "@/lib/camera-path";import { useFlyAround } from "@/components/fly-around-run";@@ -57,6 +57,7 @@ export function ModelCard({ g, info, cloudAllowed }: { g: Generation; info: Reco// "View in 3D" unmounts itself: focus moves to the viewer once it's there.const focusViewer = useRef(false);const hydrated = useHydrated();+ const owner = useIsOwner();const canRecord = hydrated && !!recordableType();const clips = rigClips(g, view);const [clipKey, setClipKey] = useState("main");@@ -316,6 +317,11 @@ export function ModelCard({ g, info, cloudAllowed }: { g: Generation; info: RecoFuobe doesn't draw splats yet: {clip ? "the turntable shows it turning" : "the picture is what the model saw"}. Open the .{view.splat.format} in a Gaussian-splat viewer (SuperSplat, for one) to look around it.</p>)}+ {/* Idol 3D on your GPU: how clean the file is. Only the owner reads how to make it cleaner (it's their ComfyUI). */}+ {view.clean?.cleaned && <p className="text-[12px] font-medium">{view.clean.text}</p>}+ {view.clean && !view.clean.cleaned && owner && (+ <p className="text-[12px] text-muted-foreground">Not cleaned: install ComfyUI-Idol on your ComfyUI for cleaner splat files.</p>+ )}<div className="flex flex-wrap gap-1.5">{view.splat ? (<Button asChild variant="outline" size="sm" className="rounded-full">diff --git a/src/components/model3d/model3d-studio.tsx b/src/components/model3d/model3d-studio.tsxindex 92169f94..2b70251b 100644--- a/src/components/model3d/model3d-studio.tsx+++ b/src/components/model3d/model3d-studio.tsx@@ -86,9 +86,22 @@ function UrlModel({ onModel, onMode, onRig }: { onModel: (mode: Model3dMode, eng/*** Idol 3D's settings: Best or Quick look (labelled by steps and Gaussians), and "It's a photo", which gives the object- * Idol's looser crop.+ * Idol's looser crop. On your GPU, Advanced → "Trim spikes" also drops the thin spikes at the edges (fal has no such+ * setting, so the cloud doesn't offer it).*/-function IdolSettings({ quality, onQuality, photo, onPhoto }: { quality: IdolQuality; onQuality: (q: IdolQuality) => void; photo: boolean; onPhoto: (v: boolean) => void }) {+function IdolSettings({+ quality,+ onQuality,+ photo,+ onPhoto,+ trim,+}: {+ quality: IdolQuality;+ onQuality: (q: IdolQuality) => void;+ photo: boolean;+ onPhoto: (v: boolean) => void;+ trim?: { on: boolean; onChange: (v: boolean) => void };+}) {const refs = useRef<(HTMLButtonElement | null)[]>([]);const move = (from: number, by: number) => {const i = (from + by + IDOL_QUALITIES.length) % IDOL_QUALITIES.length;@@ -133,6 +146,24 @@ function IdolSettings({ quality, onQuality, photo, onPhoto }: { quality: IdolQua</Label><Switch id="m3d-idol-photo" checked={photo} onCheckedChange={onPhoto} /></div>+ {trim && (+ <details className="group rounded-xl border px-3 py-2 [&_summary::-webkit-details-marker]:hidden">+ <summary className="cursor-pointer list-none text-[13px] font-medium outline-none select-none focus-visible:ring-2 focus-visible:ring-ring">+ Advanced <span className="text-[12px] font-normal text-muted-foreground">· {trim.on ? "trimming spikes" : "edges"}</span>+ </summary>+ <div className="flex items-center justify-between gap-3 pt-3">+ <div className="min-w-0">+ <Label htmlFor="m3d-idol-trim" className="text-[13px] font-normal">+ Trim spikes+ </Label>+ <p id="m3d-idol-trim-hint" className="mt-0.5 text-[12px] text-muted-foreground">+ Drops the thin, needle-like bits around the edges of the 3D file.+ </p>+ </div>+ <Switch id="m3d-idol-trim" aria-describedby="m3d-idol-trim-hint" checked={trim.on} onCheckedChange={trim.onChange} />+ </div>+ </details>+ )}</div>);}@@ -206,6 +237,8 @@ export function Model3dStudio({ info }: { info: Record<string, Model3dInfo> }) {// picked from the library, is taken for a photo; a result made here for a render or a generated image.const [idolQualities, setIdolQualities] = useState<Record<string, IdolQuality>>({});const [idolPhoto, setIdolPhoto] = useState(true);+ // Idol 3D on your GPU: Advanced → Trim spikes (the open graph's max_scale; the cloud has no such setting).+ const [idolTrim, setIdolTrim] = useState(false);// The last value the drop gave (an upload reports twice: uploading, then done, from one closure).const lastPhoto = useRef<SlotValue | null>(null);const takePhoto = (v: SlotValue | null) => {@@ -244,7 +277,7 @@ export function Model3dStudio({ info }: { info: Record<string, Model3dInfo> }) {photo: photo?.ref,views: sides,prompt: mode === "text" ? text : mode === "objects" ? object : undefined,- ...(idol && { quality: idolQuality, photoCrop: idolPhoto }),+ ...(idol && { quality: idolQuality, photoCrop: idolPhoto, ...(engine === "open" && { trimSpikes: idolTrim }) }),};const uploading = !!photo?.uploading || VIEW_SIDES.some((s) => views[s]?.uploading);// A guest or an account reads why the button is off, not a step on an upload that is off too.@@ -402,7 +435,15 @@ export function Model3dStudio({ info }: { info: Record<string, Model3dInfo> }) {{!licence && info[modelId]?.notices.length > 0 && <p className="text-[12px] font-medium">{info[modelId].notices.join(" · ")}</p>}{licence && licence.notices.length > 0 && <p className="text-[12px] text-muted-foreground">{licence.notices.join(" · ")}</p>}</div>- {idol && <IdolSettings quality={idolQuality} onQuality={setIdolQuality} photo={idolPhoto} onPhoto={setIdolPhoto} />}+ {idol && (+ <IdolSettings+ quality={idolQuality}+ onQuality={setIdolQuality}+ photo={idolPhoto}+ onPhoto={setIdolPhoto}+ trim={engine === "open" ? { on: idolTrim, onChange: setIdolTrim } : undefined}+ />+ )}<Button size="lg" className={cn("mt-4 w-full rounded-full", blocker && "bg-muted text-muted-foreground hover:bg-muted")} onClick={go} disabled={create.isPending || visitor}>{create.isPending ? <Loader2 className="size-4 animate-spin" /> : <Box className="size-4" />} {mode === "splat" ? "Make the splat" : "Make it 3D"}</Button>diff --git a/src/lib/av/model3d.ts b/src/lib/av/model3d.tsindex 6b26793e..b6e4c5ed 100644--- a/src/lib/av/model3d.ts+++ b/src/lib/av/model3d.ts@@ -104,16 +104,68 @@ export const IDOL_QUALITIES: { id: IdolQuality; label: string; hint: string }[]];/**- * Idol 3D's settings for a request: on the open engine the graph's (photoCrop picks the looser crop), on fal the- * endpoint's own fields. fal takes the steps, the Gaussians and the kind of picture ("real" is Idol's photo crop),- * but no sampler and no CFG in ComfyUI's form, so its guidance stays fal's default (Idol's reference weight 3).+ * Idol 3D's two open graphs: the core one (idol-1: TripoSplat's nodes, a core-node photo crop, the saved file not+ * pruned) and the clean one (idol-2: the ComfyUI-Idol pack's crop, pruning and input-view still), which the server+ * runs when its ComfyUI has the pack (GET /object_info/IdolPruneSplat).*/-export function idolExtra(engine: Engine, quality: IdolQuality = "best", photoCrop = false): Record<string, unknown> {+export const IDOL_WORKFLOWS = { core: "image-to-splat-idol", clean: "image-to-splat-idol-clean" } as const;+/** The node pack the clean graph needs (src/lib/licences.ts NODE_PACKS), and the class whose presence says a ComfyUI has it. */+export const IDOL_PACK = "ComfyUI-Idol";+export const IDOL_PACK_CLASS = "IdolPruneSplat";++/**+ * "Trim spikes": IdolPruneSplat's max_scale, the longest axis a Gaussian may have (object units, the object spans+ * about 1), which drops the needle-shaped ones at the silhouette. 0.05 is the pack's "reasonable start".+ */+export const IDOL_TRIM_SPIKES = 0.05;++/**+ * Idol 3D's settings for a request: on the open engine the graph's (photoCrop picks the looser crop; trimSpikes the+ * pack's max_scale, used where the pack is installed), on fal the endpoint's own fields. fal takes the steps, the+ * Gaussians and the kind of picture ("real" is Idol's photo crop), but no sampler, no CFG in ComfyUI's form and no+ * pruning, so its guidance stays fal's default (Idol's reference weight 3).+ */+export function idolExtra(engine: Engine, quality: IdolQuality = "best", photoCrop = false, trimSpikes = false): Record<string, unknown> {const p = IDOL_PRESETS[quality] ?? IDOL_PRESETS.best;- if (engine === "open") return { ...p, photoCrop };+ if (engine === "open") return { ...p, photoCrop, ...(trimSpikes && { maxScale: IDOL_TRIM_SPIKES }) };return { num_inference_steps: p.steps, num_gaussians: p.numGaussians, image_type: photoCrop ? "real" : "synthetic" };}+const unit = (v: unknown) => (typeof v === "number" && Number.isFinite(v) ? Math.min(1, Math.max(0, v)) : undefined);++/**+ * An Idol run's crop and pruning in the words of the graph it runs on (`has`: the graph binds that key). The clean graph+ * takes cropMode ("It's a photo" is Idol's "real" crop, else "synthetic"), minOpacity and maxScale (0-1); the core+ * graph takes its photoCrop switch (a cropMode of "real" turns it on) and has no pruning. Keys a graph doesn't bind are+ * left out.+ */+export function idolGraphValues(extra: Record<string, unknown>, has: (key: string) => boolean): Record<string, unknown> {+ const mode = extra.cropMode === "real" || extra.cropMode === "synthetic" ? extra.cropMode : undefined;+ const photo = typeof extra.photoCrop === "boolean" ? extra.photoCrop : mode ? mode === "real" : undefined;+ const out: Record<string, unknown> = {};+ if (has("cropMode")) out.cropMode = mode ?? (photo ? "real" : "synthetic");+ else if (has("photoCrop") && photo !== undefined) out.photoCrop = photo;+ for (const k of ["minOpacity", "maxScale"] as const) {+ const v = unit(extra[k]);+ if (has(k) && v !== undefined) out[k] = v;+ }+ return out;+}++/** What a clean splat's count said (PreviewAny's text): the number of Gaussians the prune kept, else undefined. */+export function idolKept(text: string | undefined): number | undefined {+ const t = text?.trim();+ const n = Number(t);+ return t && Number.isInteger(n) && n >= 0 ? n : undefined;+}++/** 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` };+ if (meta?.pruned === false) return { cleaned: false, text: "Not cleaned" };+ return undefined;+}+/*** Whether a new picture reads as a photo for Idol's crop: an upload (dropped here, or an earlier one picked from the* library) is; a result made here (a render or a generated image) isn't. undefined: the picture is the same one, or the@@ -165,6 +217,8 @@ export interface Model3dInput {quality?: IdolQuality;/** Splat with Idol 3D: the picture is a photo, so the object gets Idol's looser crop. */photoCrop?: boolean;+ /** Splat with Idol 3D on your GPU: also drop the needle-shaped Gaussians (with the ComfyUI-Idol pack). */+ trimSpikes?: boolean;}/** The model for a mode and engine: the one picked when the mode offers it, else its default (null: none on that engine). */@@ -218,7 +272,7 @@ export function model3dRequest(i: Model3dInput): GenerationRequest {return { ...base, op: "image-to-3d", prompt, inputs: { images } };case "splat":// Idol 3D gets its Best / Quick look settings and the photo crop; TripoSplat's request is unchanged.- return { ...base, op: "splat", inputs: { images }, ...(isIdol(modelId) && { params: { extra: idolExtra(i.engine, i.quality, !!i.photoCrop) } }) };+ return { ...base, op: "splat", inputs: { images }, ...(isIdol(modelId) && { params: { extra: idolExtra(i.engine, i.quality, !!i.photoCrop, !!i.trimSpikes) } }) };default:return { ...base, op: "image-to-3d", inputs: { images } };}@@ -256,6 +310,8 @@ export interface Model3dView {web?: string;/** A Gaussian splat (.ply / .spz / .ksplat), which the page doesn't draw: downloaded, with its turntable or preview shown. */splat?: { url: string; format: string };+ /** Idol 3D on your GPU: the splat file cleaned of its haze (how many Gaussians were kept), or not (no ComfyUI-Idol). */+ clean?: { cleaned: boolean; text: string };/** A rendered turntable that came with the model (the server's render for open 3D models, TripoSplat's orbit on the open engine, demo). */turntable?: string;/** The server is still rendering the turntable (after the job finished): waiting its turn, or how far (0-1). */@@ -305,10 +361,12 @@ export function model3dView(g: Pick<Generation, "outputs" | "request">): Model3dif (listed && typeof listed === "object") for (const [k, v] of Object.entries(listed as Record<string, unknown>)) if (typeof v === "string") formats[k.toLowerCase()] = v;const format = splatFormatOf(mesh);const splat = mesh && format ? { url: mesh.url, format } : undefined;+ const clean = splat ? idolCleanLine(meta) : undefined;return {glb: splat ? undefined : mesh?.url,web: mesh && !splat ? viewerGlb(mesh) : undefined,splat,+ ...(clean && { clean }),turntable: str(meta.turntable) ?? str(meta.video) ?? video?.url,rendering: pending ? { queued: finish.turntable === "queued", progress: typeof finish.turntableProgress === "number" ? finish.turntableProgress : 0 } : undefined,material: str(finish.material),diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.tsindex 0ee735f0..63e5567a 100644--- a/src/server/providers/comfyui.ts+++ b/src/server/providers/comfyui.ts@@ -42,6 +42,7 @@ import {} from "@/lib/comfy";import { fpsPlan } from "@/lib/av/fps";import { resolveWorkflowId } from "@/lib/comfy-variants";+import { IDOL_PACK, IDOL_PACK_CLASS, IDOL_WORKFLOWS, idolGraphValues, idolKept } from "@/lib/av/model3d";import { DECODER_PARAM, editCanvas, GPU_PARAM, LIGHTNING_GRAPHS, lightningSigmas, SPEED_PARAM, ZEN_ADAPTER, ZEN_ENCODER } from "@/lib/qwen21-speed";import { h3Canvas, h3Frames, isH3Graph } from "@/lib/h3-prompt";import { draftSizeFor, REGEN_COPY, REGEN_WINDOW_SECONDS, REGEN_WORKFLOW, regenFrames, regenOnePassRefusal, regenResolution } from "@/lib/catalog/regenerate";@@ -504,6 +505,11 @@ export function collectOutputs(entry: HistoryEntry, manifest: ManifestWorkflow |.filter((o) => o.role === "language").map((o) => textsOf(outputs[o.node])[0]?.trim()).find(Boolean);+ // Idol 3D: the clean graph's count of the Gaussians its prune kept (a PreviewAny "report") goes on the splat; the core+ // graph's splat says it wasn't pruned.+ const idolClean = manifest?.id === IDOL_WORKFLOWS.clean;+ const kept = idolClean ? declared.filter((o) => o.role === "report").map((o) => idolKept(textsOf(outputs[o.node])[0])).find((n) => n !== undefined) : undefined;+ const idolSplat = idolClean ? { pruned: true, ...(kept !== undefined && { kept }) } : manifest?.id === IDOL_WORKFLOWS.core ? { pruned: false } : undefined;// OCR: the size the model saw (a PreviewAny "frame") goes with the lines it read.const frame = declared.filter((o) => o.role === "frame")@@ -513,7 +519,7 @@ export function collectOutputs(entry: HistoryEntry, manifest: ManifestWorkflow |const pick = (type: string) => {for (const nodeId of order) {const spec: ManifestOutput | undefined = declared.find((o) => o.node === nodeId);- if (spec?.role === "language" || spec?.role === "frame") continue;+ if (spec?.role === "language" || spec?.role === "frame" || (idolClean && spec?.role === "report")) continue;const ui = outputs[nodeId] ?? {};const texts = textsOf(ui);const found: { key: string; f: HistoryFile }[] = [];@@ -546,6 +552,7 @@ export function collectOutputs(entry: HistoryEntry, manifest: ManifestWorkflow |if (spec?.role) meta.role = spec.role;// A splat says what it is (the viewer and the download name go by it): spz, ply or ksplat.if (spec?.role === "splat" && ext) meta.format = ext;+ if (spec?.role === "splat" && idolSplat) Object.assign(meta, idolSplat);// Qwen-Image-Layered saves its layers back to front.if (spec?.role === "layers") Object.assign(meta, { z: i, name: i === 0 ? "Background" : `Layer ${i}` });if (Object.keys(meta).length) o.meta = meta;@@ -814,6 +821,42 @@ export async function comfyDbsModels(worker: ComfyWorker = "main", maxAgeMs = 10});}+declare global {+ /** Whether each ComfyUI address had a node class (GET /object_info/<class>), by address and class, and when. */+ var __fuobeComfyClasses: Map<string, { has: boolean; at: number }> | undefined;+}++/**+ * Whether the connected ComfyUI has a node class (GET /object_info/<class> answers it; a ComfyUI without it answers+ * {}), kept for a minute; undefined when the server can't say (unreachable: asked again next time), and on someone's+ * computer, which the server never asks. forgetComfyClass drops the answer (a run refused for a missing node).+ */+export async function comfyHasClass(cls: string, worker: ComfyWorker = "main", maxAgeMs = 60_000): Promise<boolean | undefined> {+ if (computerScope()) return undefined;+ const url = baseUrl(worker);+ if (!url) return undefined;+ const cache = (globalThis.__fuobeComfyClasses ??= new Map());+ const key = `${url} ${cls}`;+ const hit = cache.get(key);+ if (hit && Date.now() - hit.at < maxAgeMs) return hit.has;+ return oneAsk(`/object_info/${cls} ${url}`, async () => {+ const info = await comfyJson<unknown>(`/object_info/${encodeURIComponent(cls)}`, worker).catch(() => undefined);+ if (!info || typeof info !== "object" || Array.isArray(info)) {+ cache.delete(key);+ return undefined;+ }+ const has = cls in info;+ cache.set(key, { has, at: Date.now() });+ return has;+ });+}++/** Forget what a ComfyUI said about a node class (comfyHasClass asks again). */+export function forgetComfyClass(cls: string, worker: ComfyWorker = "main"): void {+ const url = baseUrl(worker);+ if (url) globalThis.__fuobeComfyClasses?.delete(`${url} ${cls}`);+}+declare global {/** The RE-USE files each ComfyUI address listed last (GET /models/reuse; null: no reuse folder, so no ComfyUI-RE-USE), and when. */var __fuobeComfyReuse: Map<string, { models?: ReuseModel[] | null; at: number }> | undefined;@@ -1035,6 +1078,8 @@ export interface PrepareContext {dbsModels?: () => Promise<DbsModel[] | undefined>;/** The RE-USE files on the server's disk (GET /models/reuse): null without ComfyUI-RE-USE, undefined when it can't say. */reuseModels?: () => Promise<ReuseModel[] | null | undefined>;+ /** Whether the server has the ComfyUI-Idol pack (GET /object_info/IdolPruneSplat): Idol 3D then runs its clean graph. */+ idolPack?: () => Promise<boolean | undefined>;/*** The route puts the run's one LoRA in the graph's own LoRA slot (ModelRoute.loraSlot: Fuobe Speak's FusioniX on kijai's* InfiniteTalk graph, with the settings it goes with). Without it a graph with no model loader refuses a LoRA.@@ -1200,7 +1245,7 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,// The variant this request runs (one graph per clip count, the single-track soundtrack, EXR frames, a Fun Camera pose,// the product shot): src/lib/comfy-variants.ts, which the GPU pre-flight's gate reads too. A LoRA mixed into a pose is// injected on its experts as on the plain image-to-video graph.- const endpoint = resolveWorkflowId(endpointTemplate, {+ let endpoint = resolveWorkflowId(endpointTemplate, {op: ctx.op,clips: clips.length,images: input.images?.length ?? 0,@@ -1210,6 +1255,11 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,extra,has: (id) => loadManifest().workflows.some((w) => w.id === id),});+ // Idol 3D: the clean graph (ComfyUI-Idol's crop, the pruned splat, the input-view still) where the server has the pack,+ // else the core graph, whose saved file isn't pruned (its splat says so: meta.pruned false).+ if (endpoint === IDOL_WORKFLOWS.core && loadManifest().workflows.some((w) => w.id === IDOL_WORKFLOWS.clean) && (await ctx.idolPack?.().catch(() => undefined)) === true) {+ endpoint = IDOL_WORKFLOWS.clean;+ }delete extra.productShot;delete extra[SPEED_PARAM];delete extra[GPU_PARAM];@@ -1706,6 +1756,11 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,reviewInputs = { video: values.video, image: values.image, prefix: values.filenamePrefix };}}+ // Idol 3D: "It's a photo" is the clean graph's "real" crop (the core graph's photo switch), then the pack's pruning.+ if (manifest.id === IDOL_WORKFLOWS.core || manifest.id === IDOL_WORKFLOWS.clean) {+ Object.assign(values, idolGraphValues(extra, (k) => !!b[k as BindingKey]));+ for (const k of ["cropMode", "photoCrop", "minOpacity", "maxScale"]) delete extra[k];+ }for (const [k, v] of Object.entries(extra)) values[k as BindingKey] = v;// SeedVR2's `scale` multiplies the picture before one diffusion pass over all of it, and its graph is made for up to// limits.maxWidth × maxHeight: the multiplier comes down to fit the picture (a 3000 × 2000 photo at the template's 4x@@ -2287,6 +2342,8 @@ export const comfyProvider: ProviderAdapter = {// Fresh: a model installed a moment ago runs. (On someone's computer, nothing to ask: its ComfyUI has the last word.)dbsModels: () => comfyDbsModels(worker, 0),reuseModels: () => comfyReuseModels(worker, 0),+ // The pack switched off in Settings → Models & licences: Idol 3D runs its core graph, as without the pack.+ idolPack: async () => ((await import("@/server/model-access")).readAccess().packs.includes(IDOL_PACK) ? false : comfyHasClass(IDOL_PACK_CLASS, worker)),});// On someone's computer: the job waits for their Fuobe tab, which sends exactly this graph under the prompt id minted// here. A refusal comes back in its report, and the poll explains it as below.@@ -2320,6 +2377,8 @@ export const comfyProvider: ProviderAdapter = {);const body = (await res.json().catch(() => ({}))) as PromptRefusalBody & { prompt_id?: string };if (!res.ok || !body.prompt_id) {+ // The pack may have gone since the server said it had it: the next run asks again (and runs the core graph without it).+ if (manifest.id === IDOL_WORKFLOWS.clean) forgetComfyClass(IDOL_PACK_CLASS, worker);const refusal = promptRefusal(body, res.status, manifest, input.loras ?? [], worker);if (!refusal.message && !res.ok && worker === "isolated") throw isolatedAnswer("the prompt", res.status);throw Object.assign(new ProviderError(refusal.message ?? `ComfyUI /prompt failed (${res.status})`, res.status), refusal.fix ? { fix: refusal.fix } : {});diff --git a/tests/idol-clean.test.ts b/tests/idol-clean.test.tsnew file mode 100644index 00000000..18575c81--- /dev/null+++ b/tests/idol-clean.test.ts@@ -0,0 +1,280 @@+import fs from "node:fs";+import http from "node:http";+import type { AddressInfo } from "node:net";+import os from "node:os";+import path from "node:path";+import { afterAll, beforeAll, describe, expect, it } from "vitest";+import type { Manifest } from "@/lib/comfy";++/**+ * Idol 3D's clean splats (idol-2, docs/research/idol-9.md §5.6): the ComfyUI-Idol pack pinned and licensed, the+ * image-to-splat-idol-clean graph (IdolPreprocessImage's crop, IdolPruneSplat after the decoder, the input-view still),+ * the provider picking it when the server has the pack and the core graph otherwise, and what the card reads.+ * The pack is never installed here: the graph is checked against the inputs the pack's nodes declare (§5.1).+ */++const dir = fs.mkdtempSync(path.join(os.tmpdir(), "fuobe-idol-clean-"));+process.env.FUOBE_DATA_DIR = dir;+process.env.COMFYUI_URL = "http://127.0.0.1:9";++const root = process.cwd();+const { setSetting } = await import("@/server/settings");+const { collectOutputs, comfyHasClass, forgetComfyClass, getWorkflow, prepareWorkflow } = await import("@/server/providers/comfyui");+const m3d = await import("@/lib/av/model3d");+const { licenceTerms, NODE_PACKS, workflowLicence } = await import("@/lib/licences");++const PIN = "4d3a4f671028f0e062d9f004cda1a2dd73360d35";+const REPO = `https://github.com/Nynxz/ComfyUI-Idol/tree/${PIN}`;+const manifest = JSON.parse(fs.readFileSync(path.join(root, "workflows", "comfyui", "manifest.json"), "utf8")) as Manifest;+const entry = manifest.workflows.find((w) => w.id === "image-to-splat-idol-clean")!;+const core = manifest.workflows.find((w) => w.id === "image-to-splat-idol")!;+type Node = { class_type: string; inputs: Record<string, unknown> };+const read = (id: string) => JSON.parse(fs.readFileSync(path.join(root, "workflows", "comfyui", `${id}.json`), "utf8")) as Record<string, Node>;+const graph = read("image-to-splat-idol-clean");+const coreGraph = read("image-to-splat-idol");++// A stand-in ComfyUI that answers GET /object_info/<class> (the pack's classes when `pack` is on) and counts the asks.+let pack = true;+let asks = 0;+const server = http.createServer((req, res) => {+ const m = /^\/object_info\/(\w+)$/.exec(req.url ?? "");+ if (!m) {+ res.writeHead(404).end();+ return;+ }+ asks++;+ const has = pack && /^Idol(PreprocessImage|Camera|PruneSplat)$/.test(m[1]);+ res.writeHead(200, { "Content-Type": "application/json" }).end(JSON.stringify(has ? { [m[1]]: { input: {}, output: [] } } : {}));+});++beforeAll(async () => {+ setSetting("demoMode", "auto");+ await new Promise<void>((r) => server.listen(0, "127.0.0.1", r));+ setSetting("comfyUrl", `http://127.0.0.1:${(server.address() as AddressInfo).port}`);+});+afterAll(() => {+ server.close();+ fs.rmSync(dir, { recursive: true, force: true });+});++const prepare = (extra: Record<string, unknown>, idolPack?: () => Promise<boolean | undefined>) =>+ prepareWorkflow("image-to-splat-idol", { prompt: "", images: ["p.png"], seed: 7, extra }, { generationId: "gen-clean", op: "splat", upload: async () => "x", idolPack });++describe("ComfyUI-Idol: pinned, recorded and expected by the build", () => {+ it("the spec knows the pack's three classes and its repository at the pin, and the new binding keys", async () => {+ const spec = await import("../scripts/comfy/library.spec.mjs");+ const build = await import("../scripts/comfy/build-library.mjs");+ expect(spec.CUSTOM_NODE_REPOS["ComfyUI-Idol"]).toBe(REPO);+ for (const c of ["IdolPreprocessImage", "IdolCamera", "IdolPruneSplat"]) expect(spec.PACK_CLASSES["ComfyUI-Idol"].test(c), c).toBe(true);+ expect(spec.PACK_CLASSES["ComfyUI-Idol"].test("IdolPruneSplatX")).toBe(false);+ expect(spec.PACK_CLASSES["ComfyUI-Idol"].test("TripoSplatPreprocessImage")).toBe(false);+ const e = spec.SPEC.find((s: { id: string }) => s.id === "image-to-splat-idol-clean");+ expect(e).toMatchObject({ packs: ["ComfyUI-Idol"], capability: "splat", handBuilt: "hand-built/image-to-splat-idol-clean.json" });+ for (const k of ["cropMode", "minOpacity", "maxScale"]) expect(build.BINDING_KEYS.has(k), k).toBe(true);+ });++ it("the manifest entry names the pack, keeps idol-1's files and adds the crop and pruning bindings", () => {+ expect(entry).toMatchObject({ capability: "splat", vramGb: 8, limits: { maxGaussians: 1048576 }, validated: false });+ expect(entry.customNodes).toEqual([{ name: "ComfyUI-Idol", repo: REPO }]);+ expect(entry.models).toEqual(core.models);+ expect(entry.defaults).toMatchObject({ splatFormat: "spz", cutout: true, cropMode: "synthetic", minOpacity: 0.05, maxScale: 0, steps: 50, cfg: 4, numGaussians: 262144 });+ expect(entry.defaults).not.toHaveProperty("photoCrop");+ expect(Object.keys(entry.bindings).sort()).toEqual(+ ["cfg", "cropMode", "cutout", "filenamePrefix", "image", "maxScale", "minOpacity", "numGaussians", "orbitFrames", "sampler", "seed", "splatFormat", "steps"].sort(),+ );+ expect(entry.bindings.cropMode).toEqual([{ node: "88:110", input: "mode" }]);+ expect(entry.bindings.minOpacity).toEqual([{ node: "88:111", input: "min_opacity" }]);+ expect(entry.bindings.maxScale).toEqual([{ node: "88:111", input: "max_scale" }]);+ expect(entry.outputs).toEqual([+ { node: "51", kind: "model3d", role: "splat" },+ { node: "42", kind: "video", role: "turntable" },+ { node: "93", kind: "image", role: "preview" },+ { node: "94", kind: "text", role: "report" },+ ]);+ });++ it("the GPU check's index lists the pack's classes for the graph, and its pin", () => {+ const req = JSON.parse(fs.readFileSync(path.join(root, "workflows", "comfyui", "requirements.json"), "utf8")) as {+ workflows: Record<string, { packs: Record<string, string[]>; files: string[]; core: string[] }>;+ packs: Record<string, { commit: string; classes: string[]; isolated: boolean }>;+ };+ expect(req.workflows["image-to-splat-idol-clean"].packs).toEqual({ "ComfyUI-Idol": ["IdolCamera", "IdolPreprocessImage", "IdolPruneSplat"] });+ expect(req.workflows["image-to-splat-idol-clean"].files).toEqual(req.workflows["image-to-splat-idol"].files);+ expect(req.workflows["image-to-splat-idol-clean"].core).not.toContain("TripoSplatPreprocessImage");+ expect(req.packs["ComfyUI-Idol"]).toMatchObject({ commit: PIN, classes: ["IdolCamera", "IdolPreprocessImage", "IdolPruneSplat"], isolated: false });+ const pins = JSON.parse(fs.readFileSync(path.join(root, "workflows", "comfyui", "packs.json"), "utf8")) as Record<string, { repo: string; commit: string; registry: unknown }>;+ // Not in the Comfy Registry: the registry's "comfyui-idol" is another author's pack.+ expect(pins["ComfyUI-Idol"]).toMatchObject({ repo: "https://github.com/Nynxz/ComfyUI-Idol", commit: PIN, registry: null });+ });++ it("install-comfyui.sh pins it in the main ComfyUI, with what was read", () => {+ const sh = fs.readFileSync(path.join(root, "scripts", "comfy", "install-comfyui.sh"), "utf8");+ const nodes = sh.slice(sh.indexOf("declare -A NODES=("), sh.indexOf("\n)\n"));+ expect(nodes).toContain(`[ComfyUI-Idol]="https://github.com/Nynxz/ComfyUI-Idol ${PIN}"`);+ expect(nodes).toMatch(/Apache-2\.0, no Python dependencies, no model code/);+ expect(nodes).toMatch(/not in the Comfy Registry/);+ });++ it("Settings → Models & licences has its row, and the workflow's licence adds the pack's", () => {+ const row = NODE_PACKS.find((p) => p.name === "ComfyUI-Idol")!;+ expect(row.repo).toBe(REPO);+ expect(row.licence).toMatchObject({ name: "Apache-2.0", class: "commercial" });+ expect(row.licence.note).toMatch(/crop modes, predicted camera and splat pruning/);+ const text = workflowLicence(entry);+ expect(text).toBe(`${workflowLicence(core)}; ComfyUI-Idol nodes Apache-2.0`);+ expect(licenceTerms(text).notices).toEqual(["Built with DINOv3"]);+ expect(licenceTerms(text).flags).toEqual(licenceTerms(workflowLicence(core)).flags);+ });+});++describe("image-to-splat-idol-clean: the graph", () => {+ // The inputs the pack's nodes declare at the pin (idol/nodes.py; docs/research/idol-9.md §5.1).+ const PACK_INPUTS: Record<string, string[]> = {+ IdolPreprocessImage: ["image", "mode", "mask", "bg_removal_model", "erode_radius", "size"],+ IdolCamera: ["samples"],+ IdolPruneSplat: ["splat", "min_opacity", "max_scale"],+ };++ it("crops with IdolPreprocessImage on Fuobe's cut-out mask and feeds the conditioning from it", () => {+ expect(graph["88:110"]).toMatchObject({ class_type: "IdolPreprocessImage", inputs: { image: ["99", 0], mode: "synthetic", mask: ["88:35", 0], erode_radius: 1, size: 1024 } });+ expect(graph["88:110"].inputs).not.toHaveProperty("bg_removal_model");+ expect(graph["88:24"].inputs.image).toEqual(["88:110", 0]);+ // The core crop and its photo branch are gone.+ for (const id of ["88:2", "88:101", "88:102", "88:103", "88:104"]) expect(graph[id], id).toBeUndefined();+ expect(Object.values(graph).some((n) => n.class_type === "TripoSplatPreprocessImage")).toBe(false);+ });++ it("prunes after the decoder; the saved file, the orbit and the still all get the pruned splat; the count is reported", () => {+ expect(graph["88:111"]).toMatchObject({ class_type: "IdolPruneSplat", inputs: { splat: ["88:55", 0], min_opacity: 0.05, max_scale: 0 } });+ expect(graph["92"].inputs.splat).toEqual(["88:111", 0]);+ expect(graph["75"].inputs.splat).toEqual(["88:111", 0]);+ expect(graph["94"]).toMatchObject({ class_type: "PreviewAny", inputs: { source: ["88:111", 1] } });+ });++ it("renders the input view from Idol's predicted camera, one 1024 px frame on black, saved as an image", () => {+ expect(graph["88:112"]).toMatchObject({ class_type: "IdolCamera", inputs: { samples: ["88:6", 0] } });+ expect(graph["88:113"]).toMatchObject({+ class_type: "RenderSplat",+ inputs: { frames: 1, width: 1024, height: 1024, background: "#000000", splat: ["88:111", 0], camera_info: ["88:112", 0] },+ });+ expect(graph["93"]).toMatchObject({ class_type: "SaveImage", inputs: { images: ["88:113", 0] } });+ });++ it("gives the pack's nodes only inputs they declare, and everything else is idol-1's graph as it is", () => {+ for (const n of Object.values(graph)) if (PACK_INPUTS[n.class_type]) for (const k of Object.keys(n.inputs)) expect(PACK_INPUTS[n.class_type], `${n.class_type}.${k}`).toContain(k);+ const changed = new Set(["88:24", "92", "75", "42", "51"]);+ for (const [id, n] of Object.entries(coreGraph)) {+ if (changed.has(id) || ["88:2", "88:101", "88:102", "88:103", "88:104"].includes(id)) continue;+ expect(graph[id], id).toEqual(n);+ }+ // The core graph keeps its own crop branch (the fallback is unchanged).+ expect(coreGraph["88:104"].class_type).toBe("ComfySwitchNode");+ expect(coreGraph["75"].inputs.splat).toEqual(["88:55", 0]);+ });+});++describe("the provider: the clean graph where the server has the pack, idol-1's graph otherwise", () => {+ it("runs the clean graph when the server says it has the pack", async () => {+ const p = await prepare(m3d.idolExtra("open", "best", false), async () => true);+ expect(p.manifest.id).toBe("image-to-splat-idol-clean");+ expect(p.workflow["88:110"].inputs.mode).toBe("synthetic");+ expect(p.workflow["88:111"].inputs).toMatchObject({ min_opacity: 0.05, max_scale: 0 });+ expect(p.workflow["88:6"].inputs).toMatchObject({ steps: 50, cfg: 4, sampler_name: "euler", seed: 7 });+ });++ it("runs the core graph without the pack, when the server can't say, or when the question fails", async () => {+ for (const idolPack of [async () => false, async () => undefined, async () => Promise.reject(new Error("down")), undefined]) {+ const p = await prepare(m3d.idolExtra("open", "quick", true, true), idolPack as never);+ expect(p.manifest.id).toBe("image-to-splat-idol");+ // The photo switch still works there; the pack's pruning doesn't exist.+ expect(p.workflow["88:104"].inputs.switch).toBe(true);+ expect(Object.values(p.workflow).some((n) => n.class_type.startsWith("Idol"))).toBe(false);+ }+ });++ it("maps 'It's a photo' to Idol's real crop and Trim spikes to max_scale 0.05; values out of range are clamped", async () => {+ const photo = await prepare(m3d.idolExtra("open", "best", true, true), async () => true);+ expect(photo.workflow["88:110"].inputs.mode).toBe("real");+ expect(photo.workflow["88:111"].inputs).toMatchObject({ min_opacity: 0.05, max_scale: 0.05 });+ const asked = await prepare({ cropMode: "real", minOpacity: 3, maxScale: -1 }, async () => true);+ expect(asked.workflow["88:110"].inputs.mode).toBe("real");+ expect(asked.workflow["88:111"].inputs).toMatchObject({ min_opacity: 1, max_scale: 0 });+ // A cropMode on the core graph turns its photo switch on.+ const coreReal = await prepare({ cropMode: "real" }, async () => false);+ expect(coreReal.workflow["88:104"].inputs.switch).toBe(true);+ });++ it("idolGraphValues speaks each graph's words", () => {+ const clean = (k: string) => ["cropMode", "minOpacity", "maxScale"].includes(k);+ const coreHas = (k: string) => k === "photoCrop";+ expect(m3d.idolGraphValues({ photoCrop: true }, clean)).toEqual({ cropMode: "real" });+ expect(m3d.idolGraphValues({ photoCrop: false, maxScale: 0.05 }, clean)).toEqual({ cropMode: "synthetic", maxScale: 0.05 });+ expect(m3d.idolGraphValues({}, clean)).toEqual({ cropMode: "synthetic" });+ expect(m3d.idolGraphValues({ cropMode: "odd", minOpacity: "x" }, clean)).toEqual({ cropMode: "synthetic" });+ expect(m3d.idolGraphValues({ photoCrop: true, maxScale: 0.05 }, coreHas)).toEqual({ photoCrop: true });+ expect(m3d.idolGraphValues({}, coreHas)).toEqual({});+ });++ it("asks GET /object_info/IdolPruneSplat once a minute, and again after forgetting or when the pack goes", async () => {+ pack = true;+ asks = 0;+ expect(await comfyHasClass("IdolPruneSplat")).toBe(true);+ expect(await comfyHasClass("IdolPruneSplat")).toBe(true);+ expect(asks).toBe(1);+ pack = false;+ forgetComfyClass("IdolPruneSplat");+ expect(await comfyHasClass("IdolPruneSplat")).toBe(false);+ expect(asks).toBe(2);+ // An answer older than asked for is asked again.+ pack = true;+ expect(await comfyHasClass("IdolPruneSplat", "main", 0)).toBe(true);+ expect(asks).toBe(3);+ });+});++describe("the outputs and the card", () => {+ const file = (filename: string) => ({ filename, subfolder: "fuobe", type: "output" });+ const history = (count?: string) => ({+ status: { status_str: "success", completed: true },+ outputs: {+ "51": { "3d": [file("gen_00001_.spz")] },+ "42": { images: [file("gen_00001_.mp4")], animated: [true] },+ "93": { images: [file("gen_00001_.png")] },+ ...(count !== undefined && { "94": { text: [count] } }),+ },+ });++ it("the clean splat says how many Gaussians were kept; the still is the poster; 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 }],+ ["video", { role: "turntable" }],+ ["image", { role: "preview" }],+ ]);+ 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);+ 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);+ expect(noCount[0].meta).toEqual({ role: "splat", format: "spz", pruned: true });+ expect(m3d.model3dView({ outputs: noCount as never, request: { op: "splat", inputs: {} } as never }).clean).toBeUndefined();+ });++ it("the core graph's splat says it wasn't cleaned; TripoSplat's says nothing", () => {+ const h = { status: { status_str: "success", completed: true }, outputs: { "51": { "3d": [file("gen_00001_.spz")] }, "42": { images: [file("gen_00001_.mp4")], animated: [true] } } };+ const outs = collectOutputs(h, getWorkflow("image-to-splat-idol").manifest);+ expect(outs[0].meta).toEqual({ role: "splat", format: "spz", pruned: false });+ expect(m3d.model3dView({ outputs: outs as never, request: { op: "splat", inputs: {} } as never }).clean).toEqual({ cleaned: false, text: "Not cleaned" });+ const tripo = collectOutputs(h, getWorkflow("image-to-splat-triposplat").manifest);+ expect(tripo[0].meta).toEqual({ role: "splat", format: "spz" });+ });++ it("the studio sends Trim spikes on your GPU only (fal has no pruning)", () => {+ const photo = "/api/files/p.png";+ expect(m3d.model3dRequest({ engine: "open", mode: "splat", photo, modelId: "oss-idol", trimSpikes: true }).params?.extra).toMatchObject({ maxScale: m3d.IDOL_TRIM_SPIKES });+ expect(m3d.model3dRequest({ engine: "open", mode: "splat", photo, modelId: "oss-idol" }).params?.extra).not.toHaveProperty("maxScale");+ expect(m3d.model3dRequest({ engine: "cloud", mode: "splat", photo, modelId: "idol-3d", trimSpikes: true }).params?.extra).toEqual({ num_inference_steps: 50, num_gaussians: 262144, image_type: "synthetic" });+ expect(m3d.model3dRequest({ engine: "open", mode: "splat", photo, trimSpikes: true })).toEqual({ feature: "image-to-3d", modelId: "oss-triposplat", op: "splat", inputs: { images: [photo] } });+ });+});diff --git a/tests/model3d.test.ts b/tests/model3d.test.tsindex c4bc2ac6..dfe48f82 100644--- a/tests/model3d.test.ts+++ b/tests/model3d.test.ts@@ -402,7 +402,8 @@ describe("Idol 3D (image-to-splat-idol on the open engine, speridlabs/idol on fagetWorkflow("image-to-splat-idol").manifest,);expect(outs.map((o) => [o.kind, o.contentType, o.meta])).toEqual([- ["model3d", "model/x-spz", { role: "splat", format: "spz" }],+ // idol-2: the core graph's splat says it wasn't pruned (the clean graph needs the ComfyUI-Idol pack).+ ["model3d", "model/x-spz", { role: "splat", format: "spz", pruned: false }],["video", undefined, { role: "turntable" }],]);expect(gens.pickOutput(outs as never, { slot: "video" } as never)?.kind).toBe("video");diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex 0f218d49..4c2f4710 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -1,6 +1,6 @@{"version": 1,- "generatedAt": "2026-11-02T20:53:47.283Z",+ "generatedAt": "2026-11-02T21:04:30.952Z","comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597","comfyuiVersion": "0.41.0","workflowTemplatesVersion": "0.11.86",@@ -22920,8 +22920,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": false,- "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 goes to a PreviewAny (94, role report: meta.kept on the splat; the first item of a batch). 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). Not on the validation server: its classes are expected through PACK_CLASSES, so a /prompt check with the pack installed is still to be done. Same weights, sampler presets and VRAM listing as image-to-splat-idol.",- "validationError": "HTTP 400: missing_node_type: Node 'Idol Preprocess Image' not found. The custom node may not be installed. (Node ID '#88:110')"+ "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."},{"id": "wan21-i2v-uni3c-path",