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
Handoff: Idol 3D package reports
Claude509dcd49d2dd
diff --git a/docs/handoff/reports/idol-1.json b/docs/handoff/reports/idol-1.jsonnew file mode 100644index 00000000..f5930fea--- /dev/null+++ b/docs/handoff/reports/idol-1.json@@ -0,0 +1,115 @@+{+ "key": "idol-1",+ "impl": {+ "branch": "o/idol-1 (worktree /home/user/wt/o-idol-1; 8 signed commits on claude/fuobe-parity-4 @ fdad177c, not pushed)",+ "summary": "Idol 3D is in Image to 3D -> Splat on both engines. Open engine: oss-idol runs the new image-to-splat-idol graph, a copy of the TripoSplat graph on core nodes with Idol's weights, its reference sampler (50 euler, cfg 4), a photo-crop branch on core nodes behind a switch, and RenderSplat opacity_threshold 0.05. It was built and checked with /prompt on the shared CPU ComfyUI. Cloud engine: the brief's 'no cloud half' was out of date. fal hosts Idol as speridlabs/idol (active since 2026-10-30, $0.10 per generation; schema re-read today from fal's OpenAPI and catalog). Idol's cloud model is idol-3d, labelled 'Idol 3D', with its FieldMap generated from a research record. The studio has Best / Quick look and an 'It's a photo (looser crop)' switch, and its hint line changes with the model. Accounts get 403 own-gpu-tool on both engines, with a test. TripoSplat stays the default on both engines, and its requests are unchanged.",+ "built": [+ "scripts/comfy/hand-built/image-to-splat-idol.json: TripoSplat's node ids. 88:16 idol_fp16, 88:11 idol_decoder_fp16, 88:6 50/4.0/euler/simple. Photo crop 88:101 ImageScale 720 -> 88:102 EmptyImage 1024 black -> 88:103 ImageCompositeMasked at 152,152 -> 88:104 ComfySwitchNode (default false), feeding 88:24. 75 opacity_threshold 0.05.",+ "library.spec.mjs: two KNOWN_MODELS rows pinned to nynxz/Idol @ c718f2b1, with the conversion comment. Size and sha256 re-checked on the HF API. New spec entry image-to-splat-idol with the bindings, defaults {spz, cutout true, photoCrop false}, maxGaussians, vramGb 8, the licence string (DINOv3 wording identical to TripoSplat's) and notes. Header lists photoCrop. build-library.mjs BINDING_KEYS gets 'photoCrop'; 'sampler' was already there (MOSS-Image).",+ "Built the library and validated with /prompt (--shared): image-to-splat-idol validated. Committed manifest.json (only the new entry added), workflows/comfyui/image-to-splat-idol.json, validation-state.json and requirements.json. model-pins.json pins both Idol files with exact bytes and sha256, so requirements show 741107210 / 576148658 B. The validator's object_info.subset.json rewrite was dropped: it came from the shared server's state, and the classes the graph needs were already there. scripts/comfy/README.md row added.",+ "Catalog: oss-idol ModelDef after oss-triposplat (Idol 3D, Speridlabs, family idol, comfy splat route, Gaussians + Steps sliders).",+ "Cloud: scripts/fetch-hosted-schemas.py --new10 gains NEW10_SPLATS (speridlabs/idol). Its record is in docs/research/new-models-10.json endpointRecords. gen-cloud-models.py adds idol-3d (Idol 3D, splat via speridlabs/idol, sliders num_gaussians / num_inference_steps, an image_type control, Apache-2.0 licence record, $0.10/request from research). cloud-models.generated.ts was regenerated (only idol-3d added).",+ "payload.ts splatOutputs: Idol's model_glb (point-cloud preview) is kept as meta.formats.points. The model card labels it 'Points .glb'. TripoSplat output is unchanged.",+ "src/lib/av/model3d.ts: MODELS_3D.splat.open = [oss-triposplat, oss-idol] and cloud = [triposplat, idol-3d]. CLOUD_NOTICES idol-3d 'Built with DINOv3'. Exports IDOL_MODELS, isIdol, IdolQuality, IDOL_PRESETS (best 50/euler/4/262144, quick 20/dpmpp_2m/4/65536, with the brief's comment), IDOL_QUALITIES and idolExtra(). On open, idolExtra sends {...IDOL_PRESETS[q], photoCrop}. On fal it sends num_inference_steps, num_gaussians and image_type real|synthetic; guidance stays fal's default 3 (Idol's weight = cfg 4) and there is no sampler. Model3dInput gets quality and photoCrop.",+ "model3d-studio.tsx: IdolSettings (a radiogroup with arrow keys, Best / Quick look with the steps · Gaussians hint, and a labelled Switch 'It's a photo (looser crop)'). It shows for Idol on either engine. The switch turns on for an upload or drop and off for a pick from the library (a Fuobe result). The model-specific hint line has no seconds; TripoSplat keeps its lines. Small fix: the price preview used an empty ref while a photo uploaded (POST ?preview=1 answered 422 on every upload); it now uses the placeholder.",+ "Assist / MCP: 'splat' added to both operation lists in src/server/assist/tools.ts.",+ "docs/research/idol-9.md and .json: the 'not hosted' claims are corrected (§1, §6 with the fal schema and price, §8, §9, hosted/hostedSummary). The note on the photo crop now says the comparison with IdolPreprocessImage 'real' is still the owner's to do."+ ],+ "tests": [+ "New: tests/idol.test.ts (10 tests): manifest entry, pinned files and sizes, requirements and validation, graph changes and photo-crop wiring, everything else identical to TripoSplat, licence notice ['Built with DINOv3'], 'Idol 3D' unique (one per engine, no app), Canvas 3D node offers it with its sliders.",+ "New: tests/account-idol.test.ts: an account with its own GPU and its own fal key gets 403 own-gpu-tool for oss-idol and idol-3d, and nothing reaches its ComfyUI or fal.",+ "tests/model3d.test.ts: new Idol describe block (5 tests): routes, list order and modeOf, Best default / Quick / photoCrop extras on both engines, TripoSplat requests byte-identical, prepareWorkflow bindings (99, 88:55, 88:6 steps/cfg/sampler/seed, 88:104), collectOutputs splat + turntable, pickOutput into a video slot takes the orbit, fal payload / outputs / $0.10.",+ "Changed for the new model: tests/cloud-catalog-4.test.ts L150 (the cloud splat list is now [triposplat, idol-3d]). tests/licences.test.ts 'collects notices' (adds Idol 3D, and leaves idol out of the no-DINOv3 filter).",+ "pnpm typecheck: clean. pnpm lint: 0 errors (1 warning already on the base, WAN_NEG_EN in library.spec.mjs). Targeted runs pass: model3d, idol, account-idol, cloud-catalog-4, comfy-library-4, comfy-library-notes, licences, canvas, outputs, public-signup, model3d-runner.",+ "Full vitest: 4964 passed, 8 failed. 6 are the known failures from main (comfy-reuse, dop-originals, preset-featured, soul-runs x2, split-soundtrack). picker-covers and preset-covers failed only in the full run while a dev server compiled alongside; both pass when run alone. My changes touch neither.",+ "Browser (demo mode, pnpm dev -p 3452, Playwright, 1440 and 390 px, light and dark): /image-to-3d?model=oss-idol picks Idol 3D on the open engine. Best / Quick look switches, and the hint reads '20 steps · 65,536 Gaussians'. The photo switch toggles and an upload turns it on. The price line reads 'Placeholder · nothing is charged', the licence line 'Built with DINOv3'. No horizontal scroll and no console errors (after the preview fix). A run sent oss-idol with extra {steps 20, sampler dpmpp_2m, cfg 4, numGaussians 65536, photoCrop true} -> 201 and a demo card. ?model=idol-3d shows TripoSplat and Idol 3D on the cloud engine with the cloud hint. The server was stopped and .next deleted (npx next typegen re-run afterwards for typecheck).",+ "ComfyUI: image-to-splat-idol built and checked with /prompt against the shared CPU server at 127.0.0.1:8188 (core classes only; nothing installed or restarted). No real run: no GPU here and no Idol weights."+ ],+ "left": [+ "No real Idol run: timing, VRAM (vendor 7.2 GB peak in the SDK only) and quality are unmeasured and need a GPU. The fal route is untested against the live API (no key here; no paid call was made).",+ "The core photo crop (88:101-104) has not been compared with IdolPreprocessImage 'real'. That comparison is the owner's (the ComfyUI-Idol pack was not installed, by rule). idol-2 replaces the branch where the pack is installed.",+ "Not done (optional in the brief): moving flux2-vae.safetensors to Comfy-Org/Flux-2-Dev.",+ "Image to 3D has no row on the GPU pre-flight board (STUDIO_ROWS) on the base, for any 3D model. oss-idol gets chips through modelTool and requirements.json like the other open models. No new row was added.",+ "Seams for idol-2..9: IDOL_PRESETS, IDOL_QUALITIES, idolExtra, IDOL_MODELS/isIdol exported from src/lib/av/model3d.ts; photoCrop binding on 88:104.switch; node ids as specified. idol-5 should hand over ?image= with the photo switch off; the studio has no ?image= handling yet (the switch already turns off for a library pick).",+ "The studio keeps Idol's quality and photo switch in page state, shared across engines (they apply only in Splat mode), not keyed per mode:engine like the model pick.",+ "tests/comfy-library-4.test.ts needed no edit (the new graph is validated)."+ ],+ "docsNotes": [+ "STATUS / FEATURES: Image to 3D -> Splat now offers Idol 3D (Speridlabs, Apache-2.0, Built with DINOv3) on both engines. Open engine: image-to-splat-idol (.spz + orbit video, Best / Quick look, looser crop for photos, 8 GB listed, 1.32 GB of new weights). Cloud engine: fal speridlabs/idol ($0.10, .ply + a point-cloud GLB download). TripoSplat stays the default.",+ "Models & licences: the oss-idol row comes from the manifest licence string (Apache-2.0; TripoSplat architecture MIT attribution; DINOv3 License with the 'Built with DINOv3' notice; FLUX.2 VAE Apache-2.0; BiRefNet MIT). The cloud idol-3d carries a ModelLicence record (Apache-2.0).",+ "Brief out of date: line numbers predate main's 10-30 work. oss-triposplat is at models.ts ~L1870, the spec entry at ~L4409, KNOWN_MODELS TripoSplat rows at ~L360. The studio's hard-coded hint is now the line under the button (~L405). The assist op lists are at tools.ts L99 / L260. MODELS_3D notes were already rewritten as product copy. 'sampler' was already a BINDING_KEY. The TripoSplat spec has no explicit filenamePrefix binding (the builder adds it). The CLOUD RULE 'None' is superseded by fal's speridlabs/idol.",+ "Research corrections: idol-9.md / idol-9.json §1, §6, §8, §9 (Idol hosted on fal since 2026-10-30, schema and price), §5.5 (status of the photo crop)."+ ],+ "blocked": ""+ },+ "review": {+ "findings": [+ {+ "severity": "low",+ "file": "src/components/model3d/model3d-studio.tsx",+ "line": 202,+ "summary": "Idol's quality and photo switch live in page state shared across engines, not in per-mode state the way the model pick is, which the brief asked for.",+ "failure_scenario": "Someone picks Quick look for Idol on the open engine and then switches to the cloud engine: Quick look carries over to idol-3d. It is harmless, since both engines map it to their own fields, but it does not match the brief. The implementer reports this under 'left'."+ },+ {+ "severity": "low",+ "file": "src/components/model3d/model3d-studio.tsx",+ "line": 210,+ "summary": "takePhoto turns 'It's a photo' off for any library pick, including a person's own earlier upload, which is a real photo. The brief only asked for it to be off for a Fuobe result handed over by ?image= (idol-5).",+ "failure_scenario": "Someone uploads a product photo, later picks that same upload from the library in Image to 3D -> Splat with Idol, and gets the tight 'synthetic' crop (fal image_type synthetic / 88:104 false) unless they turn the switch back on. The switch stays visible and labelled, so this is a design nit, not a bug."+ },+ {+ "severity": "info",+ "file": "src/server/gpu/tools.ts",+ "summary": "Image to 3D still has no STUDIO_ROWS row on the GPU pre-flight board. This was already true on the base for every 3D model and is not a regression. oss-idol does reach workflows/comfyui/requirements.json (core classes, 5 files, vramGb 8, validated) and model-pins.json.",+ "failure_scenario": "/connect shows no Image to 3D row for either TripoSplat or Idol, so it is the same as on the base. This needs a separate package, not idol-1."+ }+ ],+ "checks": [+ "Read the stage prompt, main-rules.md and the implementer report. Reviewed git diff claude/fuobe-parity-4...o/idol-1: 8 commits, 26 files, all additive to Image to 3D -> Splat. The image-to-3d, multi, text and objects lists and the finish path are untouched, so Hi3D refine should merge cleanly.",+ "Cloud route checked at the primary source. fal OpenAPI for speridlabs/idol (fetched today): IdolInput = image_url (required), image_type synthetic|real (default synthetic), num_gaussians 32768-1048576 (default 262144), num_inference_steps 1-50 (default 50), guidance_scale 0-10 (default 3), seed, enable_safety_checker. IdolOutput = model_mesh (.ply), model_glb, preprocessed_image, camera, num_gaussians, seed, timings. The research record in new-models-10.json and the generated idol-3d model (map image_url/seed, sliders, image_type control) match it exactly. The studio sends only num_inference_steps, num_gaussians and image_type, all within the schema's ranges (Quick look is 20 / 65536). It sends no sampler or CFG, and buildPayload passes params.extra through as given (the test asserts the exact payload). fal catalog: speridlabs/idol public, category image-to-3d, dated 2026-10-30T20:19Z. llms.txt: '$0.1 per generations', which matches pricing {usd 0.1, unit request}.",+ "fal tripo3d/triposplat output has no model_glb (re-read today), so the new formats.points in splatOutputs does not change TripoSplat's cloud output. persistArtifacts keeps meta.formats links (LINK_MAPS), so the points GLB is stored locally, not left on fal's CDN. modelToFinish only finishes comfyui image-to-3d, so the .ply / points GLB never reach finish-glb.",+ "HF pins checked at the source: nynxz/Idol @ c718f2b1 idol_fp16 741107210 B sha256 cf452146...; idol_decoder_fp16 576148658 B sha256 c511d99e...; both apache-2.0; speridlabs/idol sha 2731c229 apache-2.0. These match KNOWN_MODELS, model-pins.json, requirements.json and the manifest (0.74 / 0.58 GB).",+ "Graph diffed against image-to-splat-triposplat.json. The only differences are 88:16 idol_fp16, 88:11 idol_decoder_fp16, 88:6 50 / 4.0 / euler / simple, 75 opacity_threshold 0.05, 88:24 image <- 88:104, and the new 88:101 ImageScale 720 lanczos, 88:102 EmptyImage 1024 black, 88:103 ImageCompositeMasked at 152,152 and 88:104 ComfySwitchNode (default false). Everything else is identical, as the brief specified. On the shared ComfyUI, TripoSplatPreprocessImage's description confirms a black background, so the black canvas matches. The manifest bindings (including sampler and photoCrop -> 88:104.switch), outputs, defaults {splatFormat spz, cutout true, photoCrop false}, limits, vramGb 8, customNodes [] and the licence string (with the DINOv3 wording) match the spec, and validation-state has image-to-splat-idol validated.",+ "Licences recorded as data: the oss-idol licence comes from the manifest licence string. The cloud idol-3d has a ModelLicence record (Apache-2.0, checked 2026-11-02). CLOUD_NOTICES idol-3d = Built with DINOv3. tests/licences covers Idol 3D in the DINOv3 notice.",+ "Public sign-up: there is no new route. Accounts are refused generically for any model3d output (POST /api/generations 403 own-gpu-tool before the GPU gate; hosted-run decidePlace refuses model3d in the pool). tests/account-idol.test.ts proves 403 own-gpu-tool for oss-idol (account with a linked ComfyUI: no /prompt or /upload/image reached) and for idol-3d (account with its own fal key: no fal fetch).",+ "No Higgsfield API, code or media. No LoRA files committed. No hot files edited, apart from a rebuilt validation-state entry, which is allowed. TripoSplat's request is byte-identical (tested on both engines). UI copy has no seconds, codes or file names, apart from the existing '.spz/.ply' style taglines that match TripoSplat's.",+ "Targeted vitest: model3d, idol, account-idol, cloud-catalog-4, comfy-library-4, licences, canvas, outputs, public-signup and model3d-runner all pass (10 files, 277 tests).",+ "npx next typegen + pnpm typecheck: clean. eslint on the changed files: 0 errors, plus 1 warning that was already on the base (WAN_NEG_EN).",+ "Full vitest: 6 failed | 4966 passed | 4 skipped. All 6 are the known failures from main (comfy-reuse, dop-originals, preset-featured, soul-runs x2, split-soundtrack). picker-covers and preset-covers pass here.",+ "Browser check: FUOBE_DEMO_MODE=on next dev on localhost:3461, Playwright at 1440 light and 390 dark. /image-to-3d?model=oss-idol shows the Idol 3D radiogroup 'Quality'. Arrow keys move the selection and the focus (Quick look aria-checked=true), and the hint reads '20 steps · 65,536 Gaussians'. The labelled switch 'It's a photo (looser crop)' is present and 'Built with DINOv3' is shown. ?model=idol-3d shows the same controls on the cloud engine. oss-triposplat shows no Idol controls. scrollWidth overflow is 0 at both widths, with no console or page errors. The server was stopped by port, .next deleted and typegen re-run, and the worktree is clean.",+ "Seams for idol-2..9: IDOL_PRESETS, IDOL_QUALITIES, idolExtra, IDOL_MODELS and isIdol are exported from src/lib/av/model3d.ts. The photoCrop binding name is stable, so idol-2 can swap 88:101-104 for IdolPreprocessImage. The research doc corrections in idol-9.md (§1, §6, §8, §9) are accurate against fal.",+ "Not verified here (no GPU or keys): a real Idol run on ComfyUI, and a live fal call. Build-library reproducibility was not re-run, to keep the worktree untouched; the manifest diff only adds the new entry and generatedAt."+ ],+ "verdict": "approve"+ },+ "fix": {+ "applied": [+ "Review low #1, confirmed and fixed (src/components/model3d/model3d-studio.tsx). Idol's Best / Quick look is now saved per mode and engine (idolQualities keyed `${mode}:${engine}`), the same way the model pick is saved, and it starts on Best. Quick look picked on the open engine no longer carries over to idol-3d on the cloud. The 'It's a photo' switch stays with the picture, because it describes the picture, and the picture is shared across modes and engines.",+ "Review low #2, confirmed and fixed. SlotValue (src/components/studio/media-slot.tsx) has a new optional field, source: 'upload' | 'generation', which LibraryGrid fills from Asset.source (additive; other users of SlotValue are unaffected). The rule for the switch is now a small exported helper, idolPhotoFor(next, prev), in src/lib/av/model3d.ts. An upload or a drop turns the switch on. An earlier upload picked from the library also turns it on, and a result made here turns it off. The same picture again, or an upload's second report, leaves the switch as the person set it. The studio calls this helper from takePhoto.",+ "Test: tests/model3d.test.ts, in the Idol describe block, covers idolPhotoFor for upload start, upload done, a library upload, a library result, a pick with no source, the same picture again and a cleared slot.",+ "Commit bca88d41 'Image to 3D: Idol 3D keeps Best or Quick look per engine, and an earlier upload from the library counts as a photo', with the trailer. Not pushed."+ ],+ "rejected": [+ "Review info (Image to 3D has no STUDIO_ROWS row on the GPU pre-flight board). This was already true on the base for every 3D model, so it is not a regression. oss-idol already reaches requirements.json and model-pins.json. Giving the Image to 3D page a row on the board is studio-wide work for a separate package, not idol-1."+ ],+ "checks": [+ "Branch check: git log claude/fuobe-parity-4..o/idol-1 lists only idol-1's own 8 commits, and the base is an ancestor, so no merge was needed.",+ "npx next typegen + pnpm typecheck: exit 0.",+ "pnpm lint: exit 0, with 0 errors and 1 warning that was already on the base (WAN_NEG_EN in library.spec.mjs).",+ "Targeted vitest (tests/model3d.test.ts, tests/idol.test.ts, tests/account-idol.test.ts): 3 files, 56 tests passed.",+ "Full vitest (FUOBE_ACCOUNT_DISK_FREE_GB=1 pnpm vitest run --maxWorkers=2): NOT COMPLETED. The first attempt ran in the background with a 10-minute limit and was stopped by that limit before it printed a summary. The second attempt stopped without an exit code: its output had 11 lines, with only tests/soul-runs.test.ts reported (2 failed, both known failures from RULES item 8), and no vitest process was still running. I did not start a third run because of the one-full-run budget. Before this fix stage, the reviewer's full run on this branch was 6 failed | 4966 passed, all 6 known failures. This fix changes only one studio component, one optional SlotValue field and one pure helper, and the tests that cover them pass.",+ "No browser check this stage: the UI change only moves state, and the reviewer had already checked the controls at 1440 and 390. .next removed, typegen re-run, and git status is clean."+ ],+ "finalSummary": "Idol 3D (idol-1) is complete on o/idol-1, 9 commits on claude/fuobe-parity-4, not pushed. Open engine: oss-idol runs image-to-splat-idol, which is the core TripoSplat graph with Idol's pinned weights (nynxz/Idol @ c718f2b1), its reference sampler (50 / euler / cfg 4) and RenderSplat opacity 0.05. A core-node photo crop sits behind the 'It's a photo' switch. Built so far: the graph builds and is validated with /prompt on the shared CPU ComfyUI. Not done: a real run, which needs a GPU, so timing, VRAM and quality are unmeasured. Cloud engine: idol-3d on fal speridlabs/idol ($0.10 per request; steps, Gaussians and image_type real|synthetic). Built: the schema was checked against fal's OpenAPI. Not done: a live call, which needs a fal key. TripoSplat stays the default on both engines, and its requests are byte-identical. The studio offers Best / Quick look, now saved per mode and engine, and the photo switch, which is on for uploads and earlier uploads from the library and off for results made here. The licence line reads 'Built with DINOv3'. Public sign-up: guests browse the page read-only, and the button is disabled with the reason 'Image to 3D isn't available here'. Accounts get 403 own-gpu-tool for both oss-idol and idol-3d, and nothing reaches their ComfyUI or fal (tests/account-idol.test.ts).",+ "left": [+ "Full vitest run not completed in this stage (see checks). The orchestrator should run it once on bca88d41. Expected result: only the 6 known failures.",+ "A real Idol run on a GPU (timing, VRAM, quality) and a live fal call with a key.",+ "The owner's side-by-side comparison of the core photo crop (88:101-104) with IdolPreprocessImage 'real'. idol-2 replaces that branch where the ComfyUI-Idol pack is installed.",+ "Optional, not done: moving flux2-vae to Comfy-Org/Flux-2-Dev.",+ "Image to 3D has no row on the GPU pre-flight board (STUDIO_ROWS), as on the base. Needs a separate package.",+ "Seams for idol-2..9: IDOL_PRESETS, IDOL_QUALITIES, idolExtra, idolPhotoFor, IDOL_MODELS/isIdol and the photoCrop binding on 88:104. idol-5's ?image= handover gets the switch off automatically, if it passes a SlotValue without source 'upload'."+ ],+ "blocked": ""+ }+}