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.

Handoff: Idol 3D quick mesh's build report

Claudea5398f248440
diff --git a/docs/handoff/reports/idol-7.json b/docs/handoff/reports/idol-7.json
new file mode 100644
index 00000000..37357e3e
--- /dev/null
+++ b/docs/handoff/reports/idol-7.json
@@ -0,0 +1,112 @@
+{
+ "key": "idol-7",
+ "impl": {
+ "branch": "o/idol-7",
+ "summary": "Idol 3D quick mesh is built. The new graph image-to-mesh-idol is idol-1's Idol graph with the splat file (SplatToFile3D 92) replaced by core SplatToMesh 93 (resolution 384, min_opacity 0.02, kernel 5, level 0.4, min_component 500, colour sharpen 2), then SaveGLB 51 'fuobe/idol-mesh'. The orbit video (42) is kept. It is on core nodes only and passed /prompt validation on the shared CPU ComfyUI 0.41.0 (fc04da91). The catalog has oss-idol-mesh ('Idol 3D quick mesh', open engine only), last in From an image's open list with the brief's note. Its .glb opens in model-viewer and offers Rig & animate, Refine this mesh (with the source picture) and Refine detail · Hi3D, all through the existing paths. It has a licence row and a row on the GPU pre-flight board, and accounts get 403 own-gpu-tool. A 'mesh' eval suite was added and runs end to end in demo mode. No GPU run.",
+ "built": [
+ {
+ "feature": "Graph scripts/comfy/hand-built/image-to-mesh-idol.json plus its library.spec.mjs entry: capability image-to-3d, vramGb 8, the same licence string as image-to-splat-idol. Bindings are idol-1's minus splatFormat, plus meshResolution -> 93.resolution. Outputs: 51 model3d and 42 video role turntable. Defaults cutout true, photoCrop false; the rest are Best from the graph. Built, /prompt-validated (validation-state.json), and node scripts/comfy/build-requirements.mjs run: requirements.json gets the workflow with Idol's same 5 files and no packs. No new model pins or packs were needed. object_info.subset.json only gains SplatToMesh: I reverted the validator's other rewrites, which came from this server's own custom nodes.",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ },
+ {
+ "feature": "oss-idol-mesh in src/lib/catalog/models.ts after oss-idol: vendor Speridlabs, family idol, the brief's tagline, route comfy('image-to-3d','image-to-mesh-idol'), seed, maxImages 1, a 'Mesh detail' slider (meshResolution 128-768, default 384, for Canvas), HI3D_REFINE_CONTROL like the other open image-to-3D models, and engineNote 'Runs on your GPU only: no cloud service makes this mesh.'",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ },
+ {
+ "feature": "MODELS_3D.image.open in src/lib/av/model3d.ts: oss-idol-mesh comes after oss-hunyuan3d-21 with the note 'Rough mesh, vertex colours, no textures · 8 GB GPU'. ⌘K and ?model= links pick it up through ALL_MODELS_3D and modeOf.",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ },
+ {
+ "feature": "src/server/providers/comfyui.ts: Hi3D's 512/1024/1536 check on meshResolution now applies only to graphs that also bind model3d (Hi3D's), so Idol's grid isn't refused. On other graphs meshResolution is kept to SplatToMesh's range (64-768, steps of 16), and a non-number is dropped.",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ },
+ {
+ "feature": "src/server/gpu/tools.ts STUDIO_ROWS: a new row 'Image to 3D, quick mesh' (/image-to-3d?model=oss-idol-mesh) with the step oss-idol-mesh#image-to-3d.",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ },
+ {
+ "feature": "Eval first: scripts/eval/cases/mesh.json. It is kind video, open and demo targets, with variants idol-mesh (the candidate), fine-grid (512) and trellis2 (reference). There are 4 cases: product render, product photo and figurine (photo crop on), and a generated character, with inputs in local/mesh/ and the input picture as the style reference. It has a 'decides' rule and a row in scripts/eval/README.md. It passes pnpm eval:validate, and a demo run against a dev server did 8/8 jobs.",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ },
+ {
+ "feature": "Docs: a row in scripts/comfy/README.md's workflow table, and a dated 'idol-7 as built' note in docs/research/idol-9.md §9 (a research correction).",
+ "status": "built",
+ "verifiedHow": "tests/idol-mesh.test.ts and targeted runs; graph /prompt-validated on CPU ComfyUI 0.41.0; browser check in demo mode"
+ }
+ ],
+ "tests": "New tests/idol-mesh.test.ts (16 tests). It covers the manifest entry, bindings, outputs, files and requirements index; that the licence matches Idol's and carries the DINOv3 notice; the graph (SplatToMesh defaults and wiring, no SplatToFile3D, every other node identical to image-to-splat-idol); prepareWorkflow binding of seed, crop and grid, the grid clamp, and Hi3D still refusing 384; the route and the open-only engine; MODELS_3D order (Pixal3D's default unchanged, splat list unchanged); model3dRequest and plan; the Canvas 3D node; collectOutputs (the GLB comes back as model3d / model/gltf-binary with no splat format, model3dView gives glb and no splat, and the server finish picks it up); canRefine, refineRequest and withRefine on its results; the licence row and notice list; and the pre-flight row. Extended tests/account-idol.test.ts: oss-idol-mesh from From an image answers 403 own-gpu-tool and nothing reaches the account's GPU. Extended tests/hi3d-refine.test.ts: the Hi3D switch is on oss-idol-mesh too. Targeted runs, all passing: idol-mesh, idol, model3d, model3d-finish, hi3d-refine, licences, account-idol, comfy-provider, comfy-library-4, comfy-library-notes, open-engine, public-signup, public-signup-tools, account-tenant, hosted-runs, hosted-catchup, request-body-limits, eval-harness, gpu-api/readiness/requirements, assist*, catalog*, cloud-catalog*, canvas, command-palette, demo-ops, glb-finish-safety, outputs, pipeline and others (~1,700 tests). No full suite, per the stage. tsc --noEmit passes (with NODE_OPTIONS=--max-old-space-size=8192; the default heap ran out of memory here). pnpm lint: 0 errors (5 warnings already on the base). Live: build plus node validate-workflows.mjs image-to-mesh-idol --shared against http://127.0.0.1:8188 (CPU, ComfyUI 0.41.0) passed. It printed 'no sample for: sampler, meshResolution', as idol-1's graph does for sampler. finish-glb.mjs on a synthetic vertex-coloured, unlit, self-contained GLB (built with gltf-transform to match SaveGLB's COLOR_0 + KHR_materials_unlit output) exits 0, with and without --limits account. It keeps COLOR_0 and the unlit extension and moves the pivot to the bottom. Browser (pnpm dev on port 3471, FUOBE_DEMO_MODE=on, Playwright): /image-to-3d?model=oss-idol-mesh at 1440 and 390 px, light and dark. The model picker shows Idol 3D quick mesh with its note and 'Built with DINOv3'. An upload plus 'Make it 3D' gives a demo result card with Rig & animate and Refine this mesh. No horizontal overflow and no console errors. The server was stopped and .next and the data dir deleted.",
+ "left": [
+ "A GPU run (8 GB+): run pnpm eval:run --suite mesh --engine open with pictures in local/mesh/, on a Fuobe server with Chromium and ffmpeg so the scored turntable shows the mesh and not the splat orbit. Then look at the GLBs (holes, inner double wall, floaters, smeared colour, thin parts) before the model is kept. Mesh quality, SplatToMesh's memory peak at 384/512 and run time are all unmeasured.",
+ "Hi3D on these results: 'Refine this mesh' and 'Refine detail · Hi3D 1.0' show and use the source picture (model3dView.photo), through the existing hi3d-refine path. Whether Hi3D's refine works well on an Idol mesh is unverified (CUDA/Ampere only), and its result drops the vertex colours, as it does for every model.",
+ "From an image doesn't offer Idol's Best/Quick look or 'It's a photo' switch for the mesh model: it runs the graph's Best defaults with the synthetic crop. The bindings exist (photoCrop, steps, sampler, numGaussians, meshResolution), so a later change can expose them.",
+ "The output has no 'mesh' role, which differs from the brief; docsNotes says why.",
+ "No GPU here: mesh quality and memory are unmeasured."
+ ],
+ "docsNotes": "Brief out of date: From an image's open list is now Pixal3D, TRELLIS.2, Hunyuan3D 2.1 (Pixal3D is the default since main's 10-30 work), so 'oss-trellis2 and oss-hunyuan3d-21 stay first' now reads as 'Pixal3D, TRELLIS.2 and Hunyuan3D 2.1 stay first'. They do, and oss-idol-mesh is fourth. Output role: the brief asked for 'output role mesh'. ManifestOutput's role type has no 'mesh', and tests/comfy-library-4.test.ts (a hot file whose only allowed edit is adding unvalidated ids) checks every role against its list. Also, modelToFinish skips any GLB with a role, so a role would have cost the server's web GLB and mesh turntable. The GLB is therefore the plain model output, as every image-to-3D graph's is. The SaveGLB filename_prefix in the hand-built graph is 'fuobe/idol-mesh'. The build rewrites the library copy to 'fuobe/image-to-mesh-idol', as it does for every graph, and each job sets its own prefix through filenamePrefix. There is no idol-3 'splat' suite on this base, so the eval cases are a new 'mesh' suite (scripts/eval/cases/mesh.json). idol-3 can merge it or keep it beside its own. The binding key meshResolution is shared with Hi3D's graph. The provider now tells them apart (Hi3D's graph also binds model3d). Assist's mesh_resolution on a non-Hi3D model still means a Hi3D refine step after the build (unchanged). For docs/STATUS.md and docs/FEATURES.md (the docs pass): Image to 3D → From an image gains 'Idol 3D quick mesh' (open engine only, 8 GB GPU, Apache-2.0, Built with DINOv3). It makes a rough vertex-coloured GLB, no textures, from Idol's splat through core Extract Mesh from Splat, with the same finish and turntable as the other open models, and it can be rigged or refined. No cloud route, because fal's speridlabs/idol gives a splat only. The GPU pre-flight board has an 'Image to 3D, quick mesh' row."
+ },
+ "review": {
+ "findings": [
+ {
+ "file": "src/components/model3d/model3d-studio.tsx",
+ "line": 415,
+ "severity": "minor",
+ "summary": "From an image runs oss-idol-mesh without Idol's photo crop or Best/Quick look. isIdol() only matches oss-idol and idol-3d, so IdolSettings is hidden and model3dRequest sends no params.extra. Every upload runs with photoCrop false (the synthetic crop), even though the graph binds photoCrop and the splat page turns it on for uploads (idolPhotoFor).",
+ "failureScenario": "A person uploads a phone photo of a product in From an image with Idol 3D quick mesh. The request carries no photoCrop, so 88:104 stays on the synthetic crop, which the splat page would not use for that same photo. The capability is in the graph but the page never uses it. The implementer lists this under 'left'.",
+ "verified": true
+ },
+ {
+ "file": "scripts/comfy/hand-built/image-to-mesh-idol.json",
+ "line": 1,
+ "severity": "minor",
+ "summary": "The only turntable the graph makes (42, role turntable) is Idol's splat orbit, not the mesh. The mesh only shows up in the video when the server's finish renders its own turntable (Chromium and ffmpeg). Without them, the result card shows the smooth splat while the downloaded GLB is the rough mesh.",
+ "failureScenario": "The owner's server has no Chromium or ffmpeg, so the finish reports turntable 'skipped'. model3dView.turntable then falls back to the role-turntable video, which is the RenderSplat orbit of the Gaussians, and the card shows a quality the .glb doesn't have. This is documented in the notes and in the eval suite, but nothing in the UI says so.",
+ "verified": true
+ },
+ {
+ "file": "src/components/model3d/model3d-studio.tsx",
+ "line": 65,
+ "severity": "nit",
+ "summary": "From an image's hint still promises 'a textured 3D model (.glb)', but the new model's note says 'vertex colours, no textures'. The two lines contradict each other when oss-idol-mesh is picked. Hunyuan3D's shape-only choice already has the same mismatch.",
+ "failureScenario": "Pick Idol 3D quick mesh: the hint says 'textured' and the picker note says 'no textures'.",
+ "verified": true
+ },
+ {
+ "file": "src/server/assist/tools.ts",
+ "line": 373,
+ "severity": "nit",
+ "summary": "meshResolution now means two things. On oss-idol-mesh it is the SplatToMesh grid (64-768), but Assist's mesh_resolution on that model still becomes a Hi3D refine chain (512/1024/1536, geometry only, colours lost), so Assist can't set the Idol grid. This is unchanged and the implementer documented it, but it is easy to misread.",
+ "failureScenario": "Assist is asked for 'a finer Idol mesh at 512'. It sends mesh_resolution 512, which queues a Hi3D refine that drops the vertex colours instead of a 512 SplatToMesh grid.",
+ "verified": true
+ }
+ ],
+ "checks": "Read the stage prompt, the main rules and the implementer report. Reviewed git diff claude/fuobe-parity-4...o/idol-7 (4 commits, 18 files) with the code around it: comfyui.ts prepareWorkflow (the Hi3D strict check now needs b.model3d; I confirmed in the manifest that mesh-refine-hi3d is the only other graph binding meshResolution and that it binds model3d, so Hi3D behaves as before), chains.ts createRefinedModel and hi3d.ts (the refine step gets its own meshResolution and drops hi3dRefine, so the Idol grid doesn't leak into it), assist tools, model3d.ts (model3dRequest, modeOf, model3dView, isIdol), the model3d-studio page, model3d-finish.ts (modelToFinish picks the GLB with no role, and the turntable replaces the role-turntable video), gpu/tools.ts STUDIO_ROWS. Graph: diffed the hand-built image-to-mesh-idol against image-to-splat-idol. The only differences are 92 SplatToFile3D replaced by 93 SplatToMesh and the SaveGLB/SaveVideo prefixes. Every library graph node and required input was checked against the live object_info at 127.0.0.1:8188. All 24 classes are present, no input is missing, SplatToMesh's values are within range and match its defaults (384, 5, 0, 0.4, 500, 0.02, 2.0), and SaveGLB takes MESH. The only combo mismatches are model file names, which aren't on the CPU box. In the ComfyUI source, SplatToMesh returns pack_variable_mesh_batch(colors, unlit=True). The manifest bindings match the graph node ids, and the validation-state sha256 matches the library file. requirements.json has the workflow with Idol's 5 files and no packs. object_info.subset only gains SplatToMesh. The licence string matches image-to-splat-idol's, with the DINOv3 notice. I didn't re-run /prompt validation (validate-workflows writes manifest and state files, and I don't edit as a reviewer). Tests: 263 passed across 10 files (idol-mesh, account-idol, hi3d-refine, idol, model3d, comfy-library-4, licences, gpu-requirements, comfy-provider, model3d-finish), and 637 passed across 22 files (canvas*, catalog, cloud-catalog*, comfy-library-7/notes, command-palette, demo-ops, eval-harness, gpu-api, gpu-readiness, open-engine, outputs, public-signup*, hosted-runs, assist-tools, account-tenant). pnpm eval:validate passes (mesh.json, 4 cases), and the demo fixtures exist. eslint on the changed source and test files is clean. No hot or off-limits files were touched, and the commit messages are neutral. Public sign-up: accounts get 403 own-gpu-tool for oss-idol-mesh (test), and there is no new route or server file path, so tenant, account-inputs and ESTIMATES don't apply. No Higgsfield code or media, and no new model pins or packs. I didn't run tsc or a browser check myself.",
+ "verdict": "Approve. Nothing blocks it. The graph is core-only and its bindings match the manifest and the live server's node schemas. The model is open-engine only and comes after Pixal3D, TRELLIS.2 and Hunyuan3D 2.1, with its licence and pre-flight row. Hi3D's resolution check is unchanged for Hi3D, accounts stay closed, and the targeted tests pass. The remaining items are minor: From an image doesn't expose Idol's photo crop for the mesh model, and the splat orbit stands in as the turntable when the server can't render one. There are two copy and semantics nits. Mesh quality on a GPU is unmeasured, which the eval suite is there to settle."
+ },
+ "fix": {
+ "applied": [
+ "Minor (model3d-studio.tsx:415, confirmed): From an image now shows Idol's Best / Quick look and 'It's a photo (looser crop)' settings for oss-idol-mesh on the open engine, next to Refine detail · Hi3D (still offered). model3dRequest sends idolExtra('open', quality, photoCrop) as params.extra for oss-idol-mesh, so uploads get Idol's photo crop through the existing idolPhotoFor logic. New IDOL_MESH_MODEL / isIdolMesh in src/lib/av/model3d.ts. The Hi3D refine step still drops these extras (createRefinedModel only passes its own meshResolution). Tests: the request carries the presets and crop, prepareWorkflow binds them to 88:6, 88:55 and 88:104, other models get no extras, and withRefine keeps them with hi3dRefine.",
+ "Minor (graph turntable is the splat orbit, confirmed): model3dView no longer uses the graph's role-turntable video as the turntable for oss-idol-mesh unless the mesh's finish.turntable is 'done', meaning the server rendered the mesh's own turntable and replaced the orbit. Without that, the card shows the poster or photo and the browser can record a turntable, as accounts already do. The demo's meta.turntable clip is unaffected. Other models' turntables are unchanged (tested with oss-trellis2). Tests cover no finish, a 'skipped' finish and a 'done' finish.",
+ "Nit (From an image hint, confirmed): the hero subtitle now reads 'a 3D model (.glb)' instead of 'a textured 3D model (.glb)', so it no longer contradicts Idol quick mesh's 'no textures' or Hunyuan3D 2.1's shape-only result.",
+ "Nit (Assist mesh_resolution, confirmed): the tool field's description now says it is Hi3D's refine step on oss-idol-mesh too, that colours are lost, and to leave it out to keep the vertex colours. Behaviour is unchanged. It still can't set the SplatToMesh grid (see rejected)."
+ ],
+ "rejected": [
+ "Letting Assist set Idol's SplatToMesh grid through mesh_resolution: the field only takes Hi3D's 512/1024/1536 and means the refine chain on every image-to-3D model, so giving it a second meaning on one model would make it harder to read. Canvas already has the 'Mesh detail' slider (meshResolution 128-768). The description now makes this clear instead."
+ ],
+ "checks": "Confirmed each finding in the code first: isIdol only matches oss-idol and idol-3d; model3dView fell back to the role-turntable video; the HINTS string; the asRequest mapping. Targeted Vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1): idol-mesh, hi3d-refine, model3d, account-idol, idol, model3d-finish: 117 passed. Then av-tools, assist-runtime, assist-skill-tools, assist-model-pick, comfy-provider, licences, canvas, public-signup, public-signup-tools: 273 passed. npx next typegen, then NODE_OPTIONS=--max-old-space-size=8192 pnpm typecheck: exit 0. pnpm lint: exit 0, 0 errors, the base's 5 warnings. The full suite and the merge of claude/fuobe-parity-4 were left to the coordinator, as instructed. No browser check this stage. No ComfyUI run needed (no graph change). Committed 857891db on o/idol-7, not pushed. The tests/node_modules Vite cache and .next were removed and git status is clean. Coordinator after the fix: origin/claude/fuobe-parity-4 already contained in o/idol-7 (no merge needed); npx next typegen, typecheck, lint exit 0; full Vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1, --maxWorkers=2): 5491 passed, 6 failed, 4 skipped; the 6 failures are only the known pre-existing ones (comfy-reuse, dop-originals, preset-featured, soul-runs x2, split-soundtrack).",
+ "finalSummary": "Idol 3D quick mesh (oss-idol-mesh) is built, open engine only. Graph image-to-mesh-idol is idol-1's Idol graph with core SplatToMesh (384 grid, min_opacity 0.02) and SaveGLB, keeping the orbit video. It is /prompt-validated on the shared CPU ComfyUI 0.41.0 (verified). It needs no GPU run here and has none. In From an image it comes after Pixal3D, TRELLIS.2 and Hunyuan3D 2.1. After this fix it also takes Idol's Best / Quick look and photo crop (built and unit-tested; mesh quality is unmeasured and needs an 8 GB+ GPU run of the 'mesh' eval suite). Its result is a vertex-coloured GLB that opens in model-viewer, goes to Rig & animate (Meshy rigging on the cloud, as for any GLB) and offers Refine this mesh / Refine detail · Hi3D with the source picture (Hi3D needs an Ampere+ CUDA GPU and drops the colours). The card's turntable is the server's render of the mesh when Chromium and ffmpeg are present. Otherwise it shows the poster and offers in-browser recording, never the splat orbit. Cloud engine: there is no route, because fal's speridlabs/idol returns only a splat. The picker lists it under the open engine only, and its engine note says it runs on your GPU. Guests browse the page read-only. Accounts get 403 own-gpu-tool for it (tested), like every 3D model for now. It has a licence row (Apache-2.0, Built with DINOv3) and a row on the GPU pre-flight board.",
+ "left": [
+ "A GPU run (8 GB+): pnpm eval:run --suite mesh --engine open with pictures in local/mesh/, on a server with Chromium and ffmpeg. Then inspect the GLBs (holes, double walls, floaters, smeared colour) before the model ships. Mesh quality, SplatToMesh's memory peak at 384/512 and run time are unmeasured.",
+ "Whether Hi3D's refine works well on an Idol mesh is unverified (CUDA/Ampere only). Its result drops the vertex colours, as it does for every model.",
+ "The output has no 'mesh' role, unlike the brief: ManifestOutput has no such role, and modelToFinish only finishes a GLB with no role.",
+ "Assist can't set Idol's mesh grid (mesh_resolution stays Hi3D's refine). Canvas's Mesh detail slider can.",
+ "Full Vitest suite and the merge of claude/fuobe-parity-4: left to the coordinator.",
+ "No browser check of the new Idol settings in From an image this stage. Worth one in demo mode at 1440/390 px, light and dark."
+ ]
+ }
+}