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.

Queue: briefs follow main's hosted runs and Fuobe Connect pairing

Claude36ace602f282
diff --git a/docs/handoff/queue.json b/docs/handoff/queue.json
index a3b8d2f7..7312ffea 100644
--- a/docs/handoff/queue.json
+++ b/docs/handoff/queue.json
@@ -87,72 +87,72 @@
"n7-3-regenerate-2k": {
"title": "N7 3: Regenerate in 2K: an open finishing step in Upscale, on result tiles and in Canvas",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Make Open-H3-Regenerate-2K a finishing step people reach from places they already use: Upscale -> Video (\"Regenerate · creative\" beside SeedVR2 \"Restore · faithful\"), a \"Regenerate in 2K\" action on video results, and the Canvas Upscale node. The open engine runs NVIDIA's recipe. Nobody hosts the open model, so Regenerate · creative is GPU-only: on the cloud engine it says 'Runs on your GPU (open source)', and Engine mode 'Paid APIs only' hides it. Research: new-models-7.md §2 (its cloud column predates the owner's 10-30 rule: add a note to §2.10 and §5.4 that the rule overruled it).\n\nOpen engine.\n- Install (§2.6): an opt-in `OPEN_H3_REGEN=1` block in `scripts/comfy/install-comfyui.sh` (next to the H3 blocks at L63-94) that clones rdh9616/ComfyUI-Open-H3-Regenerate @ 9b686c5ffd380e9d1351f9b8beef6d20d703ca3e (Apache-2.0) and LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler @ 40316cf008b2fd8663263270669eb4da23f89d2c (MIT) into `custom_nodes`. The rdh pack needs `av` and `safetensors`, which ComfyUI's own requirements.txt already installs (`av>=17.0.0`, `safetensors>=0.4.2`), so nothing goes into the union line. Never install the packs on the library's validation server.\n- Weights (§2.4), pinned in `scripts/comfy/library.spec.mjs`: `loras/open_h3_regenerate_2k_lora.safetensors` (12,452,449,080 B, SHA-256 8e36a0912ab72f7f3b00f41e3c7c97c7dfdec21e66c88ab22f08b9b0c681bb04) and `vae/fast_h3_vae_noncausal_24l.safetensors` (6,471,256,328 B, 8658f1e85b5997c4ba716406a2f148bfa36cf97d4d5fcd402c7bd341f54e77a1) from Efficient-Large-Model/Open-H3-Regenerate-2K @ 5809c33730c18b6b1c827b40974855a4288641b3; `latent_upscale_models/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors` (690,592,992 B, 4f57821f5837f32f7142b67d815606dbd7550f194e5c769f7d6c3f83b146a5e6; same bytes as LBH-123-AI/Minimax_h3_latent_Upscaler @ 3f941d5d); `diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors` (20,970,379,616 B, Comfy-Org/MiniMax-H3 @ 1c41cfca8ebba91d0af792a05c5761fb2c3a7975). Reuse the already pinned Qwen3-VL encoder, video and audio VAEs and the ref2va file (the pack reads only its 32 KB `adaln_t_table`). Skip `sharp_curve_branches.safetensors`: its tensors are zero in the blocks checked (§2.3).\n- Graph `video-regenerate-h3` (§2.6 table): rdh's \"Draft Video\" example without the note, the three PreviewAny nodes and `OpenH3VideoToPrompt` (CLIPTextEncode 16 gets the prompt directly), `curve_name` \"none\", and `OpenH3SaveRefinedLatent` (24) kept so a failed decode can be redone from the saved latent. Bindings: video (9.file), prompt (16.text), resolution (17), draftSize (11.size), frames (11.max_frames; nodes 24 and 26 read 11's frame-count output), startSigma (19.start_sigma), steps (19.steps), seed (20), filenamePrefix (28). The combo values are strings exactly as the pack lists them ('768p (1344x768)', '576p (1024x576)', 'keep (snap to 32)', '1080p ...', '2k (2560x1440)', '4k (3840x2160)'); copy them from the pack's INPUT_TYPES, not from this text.\n- Manifest entry: capability `upscale-video`, `customNodes` with both pins, `vramGb` 48 with a note (\"measured: about 3 min per 5 s at 2K on a 72 GB RTX PRO 5000; 22 s on a B200; a community run reached about 1080p on 32 GB with a lossy LoRA\"), the licence text (§2.5), `validated: false` until it runs on a GPU box.\n- ModelDef `oss-h3-regenerate` in `src/lib/catalog/models.ts` next to `oss-seedvr2` (L423): name \"Open-H3 Regenerate\", tagline \"Redraws a soft clip at 1080p, 2K or 4K. Details may change; motion and layout stay.\" Resolutions 1080p / 1440p / 2160p (`VIDEO_UPSCALE_TIERS`, L42; 1440p -> \"2k\", 2160p -> \"4k\"), default 1440p. Controls: Creativity (Close = start_sigma 0.7, Balanced = 0.8 default, More detail = 0, the release 0.909) and Speed (3 steps, or \"Faster\" = 2 steps). Prompt required.\n- Provider (`src/server/providers/comfyui.ts`): frames = round(seconds x 24), at most 360 per pass; clips over 15 s are split into 15 s parts and joined with the existing `video-concat-encoded` graph, with a seam note; the source sound is muxed back (the pack's Finish node keeps it). Draft preset: 768p for H3 sources (the generation's model is an H3 model or a Character swap), 576p for other models, 'keep (snap to 32)' for portrait and odd shapes.\n- Prompt: the generation's own prompt when there is one; for uploads, a one-paragraph description written by Fuobe's existing reading route (`oss-reference-brief` on the open engine, the text LLM with frames in the cloud), editable before running. No server is called from inside the graph.\n\nCloud engine (§2.7).\n- No hosted open model, so the cloud has no \"Regenerate · creative\". The cloud upscalers already in Upscale -> Video (Topaz Video, Starlight and the others it lists) stay under their own names. Adding Topaz Astra 2 (`topaz/upscale/video/creative`, already recorded in `docs/research/paid-model-apis.json`; a `model(...)` line in `scripts/gen-cloud-models.py`; 10 s at 30 fps costs $3.00 up to 1080p, $5.00 at 4K) as its own named cloud upscaler is fine, but never label it Regenerate.\n- \"Regenerate in 2K\" on a fal H3 result (the `minimax-h3` model, the cloud Character swap): re-run the same endpoint with the same inputs and seed and `resolution: \"2K\"` (or \"4K\"); label it \"Re-render at 2K · a new render\" with its price ($0.13/s plain H3, $0.1625/s on the LoRA route; 4K $0.16 / $0.20). Other cloud results get no Regenerate action (their upscalers stay in their own menus).\n- MiniMax's closed `/v2/video_regeneration` and Comfy's partner node are not built here (they need unmodified H3 768P outputs and the exact post-Context-IR prompt); record them in the research only.\n\nPlacements.\n- `VIDEO_UPSCALE_STUDIO` (`src/lib/studios.ts` L129): the open model list shows SeedVR2 \"Restore · faithful\" and Open-H3 \"Regenerate · creative\" side by side.\n- `src/lib/output-actions.ts` L150: \"Regenerate in 2K\" next to \"Render this draft in 1080p\" for finished video results (and in next-step chips for H3 / LTX / Wan / SANA videos), opening Upscale -> Video prefilled with the clip, its prompt and 2K.\n- `src/lib/catalog/canvas.ts` L230 / L348: the Upscale node gets a \"Regenerate (creative)\" choice (open `oss-h3-regenerate`; on the cloud engine the choice is disabled with the GPU-only reason, using paletteItems()' disabled-with-a-reason pattern).\n\nCopy. \"Regenerate · creative: redraws your clip at 2K. Details may change; motion and layout stay.\" \"Restore · faithful: keeps every detail and sharpens it.\" GPU line: \"About 3 minutes per 5 s at 2K on a 72 GB GPU. Needs about 40 GB of new files (OPEN_H3_REGEN=1 in install-comfyui.sh).\" Blocker without the packs: \"Your ComfyUI is missing the Open-H3 Regenerate nodes: run scripts/comfy/install-comfyui.sh with OPEN_H3_REGEN=1.\"\n\nLicences as information (§2.5): rows for the merged LoRA (MiniMax H3 Community: territory excludes the US, EU, UK and Republic of Korea; show \"MiniMax H3\"; over US$20M needs MiniMax's OK; plus Comfy's note that local commercial output needs a MiniMax licence; the merged Turbo part is Apache-2.0 at 3ec17a3, the LMS part has no stated licence), the fast VAE and the FL2VA base (MiniMax H3 Community), the LBH upscaler (weights Apache-2.0, code MIT), and `NODE_PACKS` entries in `src/lib/licences.ts` L406 for both packs. All start on.\n\nTests: manifest bindings (string combos, frames on node 11 only, curve none, start sigma, steps, node 24 kept); the tier -> combo map; window split for 5 / 15 / 20 / 40 s; the draft preset by source; the ModelDef and its controls; output-action presence per source and engine; the cloud re-render payload (same seed and inputs, resolution \"2K\") and its price; install-script pins.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: Upscale -> Video with both open choices and the Creativity control; the price and GPU lines; the \"Regenerate in 2K\" menu item on a feed tile and in the Library viewer; the Canvas Upscale choice.\n\nWhat can't be verified here: any GPU run; whether the rdh pack loads on Fuobe's pinned ComfyUI 0.41.0-7 (tested on 0.42.0); whether Fuobe's ref2va base would do instead of FL2VA; VRAM below 72 GB; any fal call. Validate on a disposable GPU ComfyUI with the packs installed (`node validate-workflows.mjs video-regenerate-h3`).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nLANE O OVERLAP: archive-restore (lane O) adds \"Restore archive footage first\" to Upscale -> Video at the same time (its branch has only a related link there so far). Add Regenerate as a model in VIDEO_UPSCALE_STUDIO's open list plus the output action and the Canvas choice; don't build a separate ladder UI, so the two merge cleanly.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Make Open-H3-Regenerate-2K a finishing step people reach from places they already use: Upscale -> Video (\"Regenerate · creative\" beside SeedVR2 \"Restore · faithful\"), a \"Regenerate in 2K\" action on video results, and the Canvas Upscale node. The open engine runs NVIDIA's recipe. Nobody hosts the open model, so Regenerate · creative is GPU-only: on the cloud engine it says 'Runs on your GPU (open source)', and Engine mode 'Paid APIs only' hides it. Research: new-models-7.md §2 (its cloud column predates the owner's 10-30 rule: add a note to §2.10 and §5.4 that the rule overruled it).\n\nOpen engine.\n- Install (§2.6): an opt-in `OPEN_H3_REGEN=1` block in `scripts/comfy/install-comfyui.sh` (next to the H3 blocks at L63-94) that clones rdh9616/ComfyUI-Open-H3-Regenerate @ 9b686c5ffd380e9d1351f9b8beef6d20d703ca3e (Apache-2.0) and LBH-123-AI/Comfyui_Minimax_h3_latent_Upscaler @ 40316cf008b2fd8663263270669eb4da23f89d2c (MIT) into `custom_nodes`. The rdh pack needs `av` and `safetensors`, which ComfyUI's own requirements.txt already installs (`av>=17.0.0`, `safetensors>=0.4.2`), so nothing goes into the union line. Never install the packs on the library's validation server.\n- Weights (§2.4), pinned in `scripts/comfy/library.spec.mjs`: `loras/open_h3_regenerate_2k_lora.safetensors` (12,452,449,080 B, SHA-256 8e36a0912ab72f7f3b00f41e3c7c97c7dfdec21e66c88ab22f08b9b0c681bb04) and `vae/fast_h3_vae_noncausal_24l.safetensors` (6,471,256,328 B, 8658f1e85b5997c4ba716406a2f148bfa36cf97d4d5fcd402c7bd341f54e77a1) from Efficient-Large-Model/Open-H3-Regenerate-2K @ 5809c33730c18b6b1c827b40974855a4288641b3; `latent_upscale_models/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors` (690,592,992 B, 4f57821f5837f32f7142b67d815606dbd7550f194e5c769f7d6c3f83b146a5e6; same bytes as LBH-123-AI/Minimax_h3_latent_Upscaler @ 3f941d5d); `diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors` (20,970,379,616 B, Comfy-Org/MiniMax-H3 @ 1c41cfca8ebba91d0af792a05c5761fb2c3a7975). Reuse the already pinned Qwen3-VL encoder, video and audio VAEs and the ref2va file (the pack reads only its 32 KB `adaln_t_table`). Skip `sharp_curve_branches.safetensors`: its tensors are zero in the blocks checked (§2.3).\n- Graph `video-regenerate-h3` (§2.6 table): rdh's \"Draft Video\" example without the note, the three PreviewAny nodes and `OpenH3VideoToPrompt` (CLIPTextEncode 16 gets the prompt directly), `curve_name` \"none\", and `OpenH3SaveRefinedLatent` (24) kept so a failed decode can be redone from the saved latent. Bindings: video (9.file), prompt (16.text), resolution (17), draftSize (11.size), frames (11.max_frames; nodes 24 and 26 read 11's frame-count output), startSigma (19.start_sigma), steps (19.steps), seed (20), filenamePrefix (28). The combo values are strings exactly as the pack lists them ('768p (1344x768)', '576p (1024x576)', 'keep (snap to 32)', '1080p ...', '2k (2560x1440)', '4k (3840x2160)'); copy them from the pack's INPUT_TYPES, not from this text.\n- Manifest entry: capability `upscale-video`, `customNodes` with both pins, `vramGb` 48 with a note (\"measured: about 3 min per 5 s at 2K on a 72 GB RTX PRO 5000; 22 s on a B200; a community run reached about 1080p on 32 GB with a lossy LoRA\"), the licence text (§2.5), `validated: false` until it runs on a GPU box.\n- ModelDef `oss-h3-regenerate` in `src/lib/catalog/models.ts` next to `oss-seedvr2` (L423): name \"Open-H3 Regenerate\", tagline \"Redraws a soft clip at 1080p, 2K or 4K. Details may change; motion and layout stay.\" Resolutions 1080p / 1440p / 2160p (`VIDEO_UPSCALE_TIERS`, L42; 1440p -> \"2k\", 2160p -> \"4k\"), default 1440p. Controls: Creativity (Close = start_sigma 0.7, Balanced = 0.8 default, More detail = 0, the release 0.909) and Speed (3 steps, or \"Faster\" = 2 steps). Prompt required.\n- Provider (`src/server/providers/comfyui.ts`): frames = round(seconds x 24), at most 360 per pass; clips over 15 s are split into 15 s parts and joined with the existing `video-concat-encoded` graph, with a seam note; the source sound is muxed back (the pack's Finish node keeps it). Draft preset: 768p for H3 sources (the generation's model is an H3 model or a Character swap), 576p for other models, 'keep (snap to 32)' for portrait and odd shapes.\n- Prompt: the generation's own prompt when there is one; for uploads, a one-paragraph description written by Fuobe's existing reading route (`oss-reference-brief` on the open engine, the text LLM with frames in the cloud), editable before running. No server is called from inside the graph.\n\nCloud engine (§2.7).\n- No hosted open model, so the cloud has no \"Regenerate · creative\". The cloud upscalers already in Upscale -> Video (Topaz Video, Starlight and the others it lists) stay under their own names. Adding Topaz Astra 2 (`topaz/upscale/video/creative`, already recorded in `docs/research/paid-model-apis.json`; a `model(...)` line in `scripts/gen-cloud-models.py`; 10 s at 30 fps costs $3.00 up to 1080p, $5.00 at 4K) as its own named cloud upscaler is fine, but never label it Regenerate.\n- \"Regenerate in 2K\" on a fal H3 result (the `minimax-h3` model, the cloud Character swap): re-run the same endpoint with the same inputs and seed and `resolution: \"2K\"` (or \"4K\"); label it \"Re-render at 2K · a new render\" with its price ($0.13/s plain H3, $0.1625/s on the LoRA route; 4K $0.16 / $0.20). Other cloud results get no Regenerate action (their upscalers stay in their own menus).\n- MiniMax's closed `/v2/video_regeneration` and Comfy's partner node are not built here (they need unmodified H3 768P outputs and the exact post-Context-IR prompt); record them in the research only.\n\nPlacements.\n- `VIDEO_UPSCALE_STUDIO` (`src/lib/studios.ts` L129): the open model list shows SeedVR2 \"Restore · faithful\" and Open-H3 \"Regenerate · creative\" side by side.\n- `src/lib/output-actions.ts` L150: \"Regenerate in 2K\" next to \"Render this draft in 1080p\" for finished video results (and in next-step chips for H3 / LTX / Wan / SANA videos), opening Upscale -> Video prefilled with the clip, its prompt and 2K.\n- `src/lib/catalog/canvas.ts` L230 / L348: the Upscale node gets a \"Regenerate (creative)\" choice (open `oss-h3-regenerate`; on the cloud engine the choice is disabled with the GPU-only reason, using paletteItems()' disabled-with-a-reason pattern).\n\nCopy. \"Regenerate · creative: redraws your clip at 2K. Details may change; motion and layout stay.\" \"Restore · faithful: keeps every detail and sharpens it.\" GPU line: \"About 3 minutes per 5 s at 2K on a 72 GB GPU. Needs about 40 GB of new files (OPEN_H3_REGEN=1 in install-comfyui.sh).\" Blocker without the packs: \"Your ComfyUI is missing the Open-H3 Regenerate nodes: run scripts/comfy/install-comfyui.sh with OPEN_H3_REGEN=1.\"\n\nLicences as information (§2.5): rows for the merged LoRA (MiniMax H3 Community: territory excludes the US, EU, UK and Republic of Korea; show \"MiniMax H3\"; over US$20M needs MiniMax's OK; plus Comfy's note that local commercial output needs a MiniMax licence; the merged Turbo part is Apache-2.0 at 3ec17a3, the LMS part has no stated licence), the fast VAE and the FL2VA base (MiniMax H3 Community), the LBH upscaler (weights Apache-2.0, code MIT), and `NODE_PACKS` entries in `src/lib/licences.ts` L406 for both packs. All start on.\n\nTests: manifest bindings (string combos, frames on node 11 only, curve none, start sigma, steps, node 24 kept); the tier -> combo map; window split for 5 / 15 / 20 / 40 s; the draft preset by source; the ModelDef and its controls; output-action presence per source and engine; the cloud re-render payload (same seed and inputs, resolution \"2K\") and its price; install-script pins.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: Upscale -> Video with both open choices and the Creativity control; the price and GPU lines; the \"Regenerate in 2K\" menu item on a feed tile and in the Library viewer; the Canvas Upscale choice.\n\nWhat can't be verified here: any GPU run; whether the rdh pack loads on Fuobe's pinned ComfyUI 0.41.0-7 (tested on 0.42.0); whether Fuobe's ref2va base would do instead of FL2VA; VRAM below 72 GB; any fal call. Validate on a disposable GPU ComfyUI with the packs installed (`node validate-workflows.mjs video-regenerate-h3`).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nLANE O OVERLAP: archive-restore (lane O) adds \"Restore archive footage first\" to Upscale -> Video at the same time (its branch has only a related link there so far). Add Regenerate as a model in VIDEO_UPSCALE_STUDIO's open list plus the output action and the Canvas choice; don't build a separate ladder UI, so the two merge cleanly.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"n7-4-character-swap-2k": {
"title": "N7 4: Character swap in 2K: Swap Studio's Finish and Genjutsu's Quality",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Character swaps come back at H3's 768p. Turn Character Swap Studio's dead \"Finish\" panel into a working \"Sharpen to 1080p / 2K / 4K\", and let Genjutsu's Character swap offer 1080p, 2K and 4K, on both engines, without touching the background or the sound. Research: new-models-7.md §2.10 rows 4-5, §2.11.\n\nWhere it lands (exact spots).\n- `src/components/swap-studio/stage-review.tsx` L247-248 (the Finish panel in `AssembleStage`, L174): two cards. \"Sharpen to 1080p / 2K / 4K\" (runnable: resolution segmented control, price or GPU time, Run). \"Clean backplate + alpha\" (still Not available, keeping `FINISH_UNAVAILABLE`, `src/lib/catalog/swap-studio.ts` L1356).\n- `src/lib/catalog/swap-studio.ts` / `swap-studio-plan.ts`: a finish plan per chosen take.\n- `src/lib/catalog/character-swap.ts`: qualities (L27), `characterQuality` (L160), `falResolution` (L172), prices; `src/lib/catalog/genjutsu.ts`: the plan steps.\n\nOpen engine.\n- Per chosen take: its 16-bit FFV1 master (already kept by `video-character-swap-h3-segment`) -> `video-regenerate-h3` (N7-3) with draftSize 'keep (snap to 32)' (H3's own canvas, any shape), the take's prompt, start_sigma 0.8 (rdh: \"stays closer to the draft\"), the take's seed, and a resolution capped at the source clip's size (never above the source).\n- Then a mask composite, so only the character comes from the regenerate: a new core-node graph `video-composite-mask` (LoadVideo source + LoadVideo regenerated scaled to the source size with ImageScale + the approved whole-shot mask from `video-mask-h3-relay` -> ImageToMask (red) -> GrowMask -> FeatherMask -> ImageCompositeMasked -> CreateVideo with the source audio -> SaveVideo). Validate it on the library's CPU ComfyUI (core nodes only).\n- Then the existing assembly. Takes over 15 s run in 15 s windows.\n- Genjutsu Character swap: keep the 768p swap and add steps to the plan: swap -> regenerate (σ 0.8) -> mask composite -> mux.\n\nCloud engine.\n- There is no hosted post-hoc regenerate. Re-queue the chosen segments on fal `minimax/h3/reference-to-video/lora` with the same prompt, LoRA, references and seed and `resolution` \"2K\" or \"4K\" ($0.1625/s or $0.20/s instead of $0.075/s at 768p). They are new takes: show them beside the 768p take for approval (Swap Studio already has takes and comparisons).\n- Watch the cloud assembly: `cloudFilmSize` (`swap-studio.ts` L403-411) keeps fal merge-videos' 512-2048 px, so a 2K or 4K take is joined at no more than 2048 px on the long side. Say \"joined at 2048 px\" or offer 2K only where the join keeps it.\n- Genjutsu: `falResolution` returns \"2K\" / \"4K\" for those qualities; prices 5 s at 2K = $0.81, 15 s at 2K = $2.44. H3 Max Recast stays at 768P / 1080P.\n- An already assembled film on the cloud: re-queue its chosen takes at 2K on fal minimax/h3 (above). No other model stands in for Sharpen; the existing Upscale -> Video cloud upscalers stay reachable from the film's menu under their own names.\n\nCopy. Sharpen card: \"Redraws each chosen take at 2K, then puts only your character back over the original footage. The background and the sound stay as filmed. Faces can change slightly; compare before you keep it.\" Genjutsu Quality hint: \"2K and 4K redraw the 768p swap at the higher size.\"\n\nLicences: the MiniMax H3 rows already exist for the Character swap; N7-3 adds the regenerate files. \"MiniMax H3\" stays displayed where H3 runs.\n\nTests: quality mapping (480p / 768p unchanged; 1080p / 2K / 4K add the finish step); `falResolution` for every quality; the price table; the finish plan per take (regenerate -> composite -> assemble) with the resolution capped at the source; `video-composite-mask` bindings; the cloud re-queue payload; the 2048 px join note; `FINISH_UNAVAILABLE` still shown for the backplate card.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: Swap Studio's Assemble stage with the two Finish cards; Genjutsu's Quality picker with 2K / 4K and their prices.\n\nWhat can't be verified here: GPU runs; whether σ 0.8 keeps the swapped identity; how the mask edge looks at 2K; any fal call. Add eval cases (scripts/eval) that compare identity (face similarity to the character) and background difference against the source, so a GPU run can decide the default σ.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Character swaps come back at H3's 768p. Turn Character Swap Studio's dead \"Finish\" panel into a working \"Sharpen to 1080p / 2K / 4K\", and let Genjutsu's Character swap offer 1080p, 2K and 4K, on both engines, without touching the background or the sound. Research: new-models-7.md §2.10 rows 4-5, §2.11.\n\nWhere it lands (exact spots).\n- `src/components/swap-studio/stage-review.tsx` L247-248 (the Finish panel in `AssembleStage`, L174): two cards. \"Sharpen to 1080p / 2K / 4K\" (runnable: resolution segmented control, price or GPU time, Run). \"Clean backplate + alpha\" (still Not available, keeping `FINISH_UNAVAILABLE`, `src/lib/catalog/swap-studio.ts` L1356).\n- `src/lib/catalog/swap-studio.ts` / `swap-studio-plan.ts`: a finish plan per chosen take.\n- `src/lib/catalog/character-swap.ts`: qualities (L27), `characterQuality` (L160), `falResolution` (L172), prices; `src/lib/catalog/genjutsu.ts`: the plan steps.\n\nOpen engine.\n- Per chosen take: its 16-bit FFV1 master (already kept by `video-character-swap-h3-segment`) -> `video-regenerate-h3` (N7-3) with draftSize 'keep (snap to 32)' (H3's own canvas, any shape), the take's prompt, start_sigma 0.8 (rdh: \"stays closer to the draft\"), the take's seed, and a resolution capped at the source clip's size (never above the source).\n- Then a mask composite, so only the character comes from the regenerate: a new core-node graph `video-composite-mask` (LoadVideo source + LoadVideo regenerated scaled to the source size with ImageScale + the approved whole-shot mask from `video-mask-h3-relay` -> ImageToMask (red) -> GrowMask -> FeatherMask -> ImageCompositeMasked -> CreateVideo with the source audio -> SaveVideo). Validate it on the library's CPU ComfyUI (core nodes only).\n- Then the existing assembly. Takes over 15 s run in 15 s windows.\n- Genjutsu Character swap: keep the 768p swap and add steps to the plan: swap -> regenerate (σ 0.8) -> mask composite -> mux.\n\nCloud engine.\n- There is no hosted post-hoc regenerate. Re-queue the chosen segments on fal `minimax/h3/reference-to-video/lora` with the same prompt, LoRA, references and seed and `resolution` \"2K\" or \"4K\" ($0.1625/s or $0.20/s instead of $0.075/s at 768p). They are new takes: show them beside the 768p take for approval (Swap Studio already has takes and comparisons).\n- Watch the cloud assembly: `cloudFilmSize` (`swap-studio.ts` L403-411) keeps fal merge-videos' 512-2048 px, so a 2K or 4K take is joined at no more than 2048 px on the long side. Say \"joined at 2048 px\" or offer 2K only where the join keeps it.\n- Genjutsu: `falResolution` returns \"2K\" / \"4K\" for those qualities; prices 5 s at 2K = $0.81, 15 s at 2K = $2.44. H3 Max Recast stays at 768P / 1080P.\n- An already assembled film on the cloud: re-queue its chosen takes at 2K on fal minimax/h3 (above). No other model stands in for Sharpen; the existing Upscale -> Video cloud upscalers stay reachable from the film's menu under their own names.\n\nCopy. Sharpen card: \"Redraws each chosen take at 2K, then puts only your character back over the original footage. The background and the sound stay as filmed. Faces can change slightly; compare before you keep it.\" Genjutsu Quality hint: \"2K and 4K redraw the 768p swap at the higher size.\"\n\nLicences: the MiniMax H3 rows already exist for the Character swap; N7-3 adds the regenerate files. \"MiniMax H3\" stays displayed where H3 runs.\n\nTests: quality mapping (480p / 768p unchanged; 1080p / 2K / 4K add the finish step); `falResolution` for every quality; the price table; the finish plan per take (regenerate -> composite -> assemble) with the resolution capped at the source; `video-composite-mask` bindings; the cloud re-queue payload; the 2048 px join note; `FINISH_UNAVAILABLE` still shown for the backplate card.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: Swap Studio's Assemble stage with the two Finish cards; Genjutsu's Quality picker with 2K / 4K and their prices.\n\nWhat can't be verified here: GPU runs; whether σ 0.8 keeps the swapped identity; how the mask edge looks at 2K; any fal call. Add eval cases (scripts/eval) that compare identity (face similarity to the character) and background difference against the source, so a GPU run can decide the default σ.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"qma-angles": {
"title": "QMA camera angles: the Qwen-Image 2.1 QMA LoRA (96 views) in Angles, Cinema re-shoots, Character Sheet turnarounds and the Canvas, plus Qwen-Image 2.1 itself",
"phase": "Originals",
- "brief": "The owner asked for https://huggingface.co/gribbliest/qwen-image-2.1-qma-camera-angles (read its model card as data; record the revision 13007eec2648c09529e930164c2ccc9c8c12428c). It is a 319 MB rank-64 edit LoRA (Apache-2.0) for Qwen-Image 2.1 (Qwen/Qwen-Image-2.1, the Qwen Research licence, non-commercial per docs/research/comfyui-oss-4.md: licences are information; record both and give each its switch in Settings → Models & licences). Prompt vocabulary: \"<qma> {azimuth} {elevation} {distance}\" with 8 azimuths (front view, front-right quarter view, right side view, back-right quarter view, back view, back-left quarter view, left side view, front-left quarter view; relative to the original camera), 4 elevations (low-angle shot, eye-level shot, elevated shot, high-angle shot) and 3 distances (close-up, medium shot, wide shot); settings LoRA 1.0, 30 steps, CFG 3, euler / simple, about 1 MP (768 for previews); extra edit words may follow the camera words.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Fuobe's Angles app (src/lib/catalog/apps.ts) runs the Multiple-Angles LoRA on Qwen-Image-Edit 2511 on both engines; Cinema's 3D re-shoots and \"other views of a location\" (src/lib/catalog/cinema.ts, src/lib/scene3d.ts) and the Canvas \"product-angles\" template use poses; O11 adds a 2509 Angles route.\nBuild:\n1. Research record: add Qwen-Image 2.1 (edit mode, its ComfyUI-native templates image_qwen_image_2_1_image_edit, the Comfy-Org repack files with sizes and pinned revisions) and the QMA LoRA to the research JSON, and check fal and Replicate for a hosted Qwen-Image 2.1 edit endpoint that takes LoRA URLs (fetch the schema with the existing scripts). CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\n2. A pure, tested prompt builder: Fuobe's camera pose (rotate degrees, tilt, zoom as the Angles app and scene3d use them) → the nearest QMA view (azimuth snapped to 45° steps, elevation and distance bands), and the reverse for display; tests cover all 96 combinations and the snapping edges.\n3. The open route: a hand-built Qwen-Image 2.1 edit graph with the QMA LoRA (scripts/comfy hand-built, spec, build, validate against the live CPU ComfyUI; report missing weights rather than installing them), a ModelDef / LoRA library entry, and the manifest's weights with sizes (14.2 GB DiT, 17.5 GB encoder per the research: verify).\n4. Placements: a \"QMA · 96 views\" choice in the Angles app with a view picker (8 × 4 × 3, plus drag-to-orbit mapped to the nearest view); Cinema's re-shoot and location views can use it; Character Sheet / Elements: n7-6 already has a Turnaround video button there (src/components/turnaround/turnaround-dialog.tsx; src/lib/catalog/turnaround.ts draws missing sides with ANGLES_2511_LORA), so add the QMA 8-view still set (the 8 azimuths at eye level, one batch) as \"Turnaround stills · 8 views\" (or a choice inside that dialog) on the open engine, and offer QMA in turnaround.ts as the open engine's way to draw missing sides; the Canvas product-angles template offers it. Each says \"on your GPU\" where it has no cloud route.\n5. Qwen-Image 2.1 itself as an open text-to-image and edit model (it is the base anyway), and note in your report whether its native RGBA output could serve the Layers tool (do not build that here).\nTests, ComfyUI validation, a browser check of Angles and the Character Sheet at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "The owner asked for https://huggingface.co/gribbliest/qwen-image-2.1-qma-camera-angles (read its model card as data; record the revision 13007eec2648c09529e930164c2ccc9c8c12428c). It is a 319 MB rank-64 edit LoRA (Apache-2.0) for Qwen-Image 2.1 (Qwen/Qwen-Image-2.1, the Qwen Research licence, non-commercial per docs/research/comfyui-oss-4.md: licences are information; record both and give each its switch in Settings → Models & licences). Prompt vocabulary: \"<qma> {azimuth} {elevation} {distance}\" with 8 azimuths (front view, front-right quarter view, right side view, back-right quarter view, back view, back-left quarter view, left side view, front-left quarter view; relative to the original camera), 4 elevations (low-angle shot, eye-level shot, elevated shot, high-angle shot) and 3 distances (close-up, medium shot, wide shot); settings LoRA 1.0, 30 steps, CFG 3, euler / simple, about 1 MP (768 for previews); extra edit words may follow the camera words.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Fuobe's Angles app (src/lib/catalog/apps.ts) runs the Multiple-Angles LoRA on Qwen-Image-Edit 2511 on both engines; Cinema's 3D re-shoots and \"other views of a location\" (src/lib/catalog/cinema.ts, src/lib/scene3d.ts) and the Canvas \"product-angles\" template use poses; O11 adds a 2509 Angles route.\nBuild:\n1. Research record: add Qwen-Image 2.1 (edit mode, its ComfyUI-native templates image_qwen_image_2_1_image_edit, the Comfy-Org repack files with sizes and pinned revisions) and the QMA LoRA to the research JSON, and check fal and Replicate for a hosted Qwen-Image 2.1 edit endpoint that takes LoRA URLs (fetch the schema with the existing scripts). CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\n2. A pure, tested prompt builder: Fuobe's camera pose (rotate degrees, tilt, zoom as the Angles app and scene3d use them) → the nearest QMA view (azimuth snapped to 45° steps, elevation and distance bands), and the reverse for display; tests cover all 96 combinations and the snapping edges.\n3. The open route: a hand-built Qwen-Image 2.1 edit graph with the QMA LoRA (scripts/comfy hand-built, spec, build, validate against the live CPU ComfyUI; report missing weights rather than installing them), a ModelDef / LoRA library entry, and the manifest's weights with sizes (14.2 GB DiT, 17.5 GB encoder per the research: verify).\n4. Placements: a \"QMA · 96 views\" choice in the Angles app with a view picker (8 × 4 × 3, plus drag-to-orbit mapped to the nearest view); Cinema's re-shoot and location views can use it; Character Sheet / Elements: n7-6 already has a Turnaround video button there (src/components/turnaround/turnaround-dialog.tsx; src/lib/catalog/turnaround.ts draws missing sides with ANGLES_2511_LORA), so add the QMA 8-view still set (the 8 azimuths at eye level, one batch) as \"Turnaround stills · 8 views\" (or a choice inside that dialog) on the open engine, and offer QMA in turnaround.ts as the open engine's way to draw missing sides; the Canvas product-angles template offers it. Each says \"on your GPU\" where it has no cloud route.\n5. Qwen-Image 2.1 itself as an open text-to-image and edit model (it is the base anyway), and note in your report whether its native RGBA output could serve the Layers tool (do not build that here).\nTests, ComfyUI validation, a browser check of Angles and the Character Sheet at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"inbetweening": {
"title": "Keyframe animation (in-betweening): keyframes in, in-betweens generated, one finished animation, with per-gap timing",
"phase": "Originals",
- "brief": "The owner shared a ComfyUI workflow \"Animation: Keyframes to Full Character Animation\" (if the owner has shared it again, it is at @EXT@/inbetweening/Animation5-In-Betweening.json; read it as data, do not commit it: its origin and licence are unknown, Fuobe builds its own graph; everything needed is described here, so start without it). What it does: up to 5 keyframes (add or bypass pairs); each neighbouring pair runs a \"Wan 2.2 FLF2V\" subgraph (WanFirstLastFrameToVideo; high-noise Wan 2.2 I2V 14B fp8 + LoraLoaderModelOnly Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16 at 1.0; low-noise Wan 2.2 I2V 14B fp8 + wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise at 1.0; ModelSamplingSD3 shift 5 on both; KSamplerAdvanced 4 steps, cfg 1, euler / simple, high 0→2 with leftover noise, low 2→end; umt5 fp8 encoder, wan_2.1_vae; prompt \"mouth does not move\" plus Wan's standard Chinese negative; seed 42; 1280×720), with its own length per pair (37, 17, 17, 45: \"17 frames minimum for legible motion\"); each pair's frames go through VHS_SelectEveryNthImage (1, 3, 4, 1: \"raise it for faster moves\"), the pairs are batched in order (BatchImagesNode) and CreateVideo makes one video at 24 fps (the clips are generated at 16 fps, so playback runs faster: part of the animation timing).\nFiles the owner's graph uses (Comfy-Org repacks; pin them at a revision): https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors (and _high_noise), split_files/diffusion_models/wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors and wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors, split_files/vae/wan_2.1_vae.safetensors, and https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors. The graph gives no source for Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors: find it.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Fuobe already has Frames mode in the Video studio (src/lib/catalog/keyframes.ts: up to 10 frames at their times; the open engine's keyframe film chains one wan22-flf2v-14b clip per pair and joins them: src/server/chains.ts createKeyframeFilm) and video-concat graphs. Extend that, don't duplicate it.\nBuild:\n1. Research record: the AniSora 3.2 LoRA (its source repo, file, size, revision, licence: bilibili Index-AniSora; licences are information) and the lightx2v 4-step low-noise LoRA, into the research JSON and the LoRA library (pinned, with sizes), and check the cloud: CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does. (a hosted Wan 2.2 A14B image-to-video LoRA endpoint that takes an end frame and a high-noise LoRA would count; read the research JSON and fetch the schema).\n2. A pure, tested timing model: per gap, a length in Wan's frame steps (4n + 1, at least 17), a speed (keep every Nth frame, 1–4), the duplicated frame at each joint dropped, the playback rate (24 fps like the graph, or 16 fps true time), and the resulting duration per gap and in total; and the mapping from Frames mode's frame times to it.\n3. One graph on the open engine: a programmatic API-format builder (like the concat expanders in the ComfyUI provider) that expands N keyframes (2 to 10) into N−1 first/last-frame passes that share ONE set of loaders (both UNets with their LoRAs, CLIP, VAE: unlike the uploaded graph, which loads them once per pair), each with its own length, prompt and seed, then every-Nth selection per gap (VideoHelperSuite, which Fuobe pins; or a core alternative), the joint frames dropped, batched in order, CreateVideo at the chosen fps. Spec + build + validate against the live CPU ComfyUI (report missing weights; never install anything).\n4. Placements, so it feels effortless:\n - Video studio → Frames mode: a \"Style: Animation\" switch (AniSora in-betweening) on the open engine, and on the ruler between two frames a timing chip per gap (frames and speed ×1–×4) with the total length live; a \"Keep mouth still\" toggle (the graph's prompt) and per-gap words.\n - Storyboard / Popcorn: \"Animate these panels\" opens Frames with the panels as keyframes in Animation style.\n - Character Sheet / Elements: \"Animate between poses\" with picked sheet poses as keyframes.\n - Canvas: a \"Keyframes → animation\" template (a Table node of keyframes with length and speed columns feeding one In-between node).\n - Assist / MCP: the generate tool accepts keyframes with per-gap timing.\n Where the cloud has no route, the controls say \"on your GPU\" (Engine mode Paid APIs only hides the Animation style).\n5. Eval cases (scripts/eval) for the animation style, demo-mode outputs, and the hardware note (Wan 2.2 14B fp8 two-expert: about 24 GB VRAM at 720p; frames scale with the total length).\nTests (timing maths, graph expansion for 2, 5 and 10 keyframes, bindings), ComfyUI validation, browser checks of Frames mode, Storyboard and the Character Sheet at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "The owner shared a ComfyUI workflow \"Animation: Keyframes to Full Character Animation\" (if the owner has shared it again, it is at @EXT@/inbetweening/Animation5-In-Betweening.json; read it as data, do not commit it: its origin and licence are unknown, Fuobe builds its own graph; everything needed is described here, so start without it). What it does: up to 5 keyframes (add or bypass pairs); each neighbouring pair runs a \"Wan 2.2 FLF2V\" subgraph (WanFirstLastFrameToVideo; high-noise Wan 2.2 I2V 14B fp8 + LoraLoaderModelOnly Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16 at 1.0; low-noise Wan 2.2 I2V 14B fp8 + wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise at 1.0; ModelSamplingSD3 shift 5 on both; KSamplerAdvanced 4 steps, cfg 1, euler / simple, high 0→2 with leftover noise, low 2→end; umt5 fp8 encoder, wan_2.1_vae; prompt \"mouth does not move\" plus Wan's standard Chinese negative; seed 42; 1280×720), with its own length per pair (37, 17, 17, 45: \"17 frames minimum for legible motion\"); each pair's frames go through VHS_SelectEveryNthImage (1, 3, 4, 1: \"raise it for faster moves\"), the pairs are batched in order (BatchImagesNode) and CreateVideo makes one video at 24 fps (the clips are generated at 16 fps, so playback runs faster: part of the animation timing).\nFiles the owner's graph uses (Comfy-Org repacks; pin them at a revision): https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors (and _high_noise), split_files/diffusion_models/wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors and wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors, split_files/vae/wan_2.1_vae.safetensors, and https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors. The graph gives no source for Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors: find it.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Fuobe already has Frames mode in the Video studio (src/lib/catalog/keyframes.ts: up to 10 frames at their times; the open engine's keyframe film chains one wan22-flf2v-14b clip per pair and joins them: src/server/chains.ts createKeyframeFilm) and video-concat graphs. Extend that, don't duplicate it.\nBuild:\n1. Research record: the AniSora 3.2 LoRA (its source repo, file, size, revision, licence: bilibili Index-AniSora; licences are information) and the lightx2v 4-step low-noise LoRA, into the research JSON and the LoRA library (pinned, with sizes), and check the cloud: CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does. (a hosted Wan 2.2 A14B image-to-video LoRA endpoint that takes an end frame and a high-noise LoRA would count; read the research JSON and fetch the schema).\n2. A pure, tested timing model: per gap, a length in Wan's frame steps (4n + 1, at least 17), a speed (keep every Nth frame, 1–4), the duplicated frame at each joint dropped, the playback rate (24 fps like the graph, or 16 fps true time), and the resulting duration per gap and in total; and the mapping from Frames mode's frame times to it.\n3. One graph on the open engine: a programmatic API-format builder (like the concat expanders in the ComfyUI provider) that expands N keyframes (2 to 10) into N−1 first/last-frame passes that share ONE set of loaders (both UNets with their LoRAs, CLIP, VAE: unlike the uploaded graph, which loads them once per pair), each with its own length, prompt and seed, then every-Nth selection per gap (VideoHelperSuite, which Fuobe pins; or a core alternative), the joint frames dropped, batched in order, CreateVideo at the chosen fps. Spec + build + validate against the live CPU ComfyUI (report missing weights; never install anything).\n4. Placements, so it feels effortless:\n - Video studio → Frames mode: a \"Style: Animation\" switch (AniSora in-betweening) on the open engine, and on the ruler between two frames a timing chip per gap (frames and speed ×1–×4) with the total length live; a \"Keep mouth still\" toggle (the graph's prompt) and per-gap words.\n - Storyboard / Popcorn: \"Animate these panels\" opens Frames with the panels as keyframes in Animation style.\n - Character Sheet / Elements: \"Animate between poses\" with picked sheet poses as keyframes.\n - Canvas: a \"Keyframes → animation\" template (a Table node of keyframes with length and speed columns feeding one In-between node).\n - Assist / MCP: the generate tool accepts keyframes with per-gap timing.\n Where the cloud has no route, the controls say \"on your GPU\" (Engine mode Paid APIs only hides the Animation style).\n5. Eval cases (scripts/eval) for the animation style, demo-mode outputs, and the hardware note (Wan 2.2 14B fp8 two-expert: about 24 GB VRAM at 720p; frames scale with the total length).\nTests (timing maths, graph expansion for 2, 5 and 10 keyframes, bindings), ComfyUI validation, browser checks of Frames mode, Storyboard and the Character Sheet at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"person-remover-plus": {
"title": "H3 Person Remover, everywhere: mask preview, window review and reroll, a cloud route if hosted, more places to use it, and the Character Swap Studio Finish plate",
"phase": "Originals",
- "brief": "Fuobe already has Remove object → \"H3 Person Removal\" on the open engine (since PR #12): the video-person-remove-h3-relay graph (H3 Relay 2.0's Person Removal example plus an ImageScale for the clean first frame; it matches the LoRA repo's examples/H3-Person-Removal-Relay-V2.api.json node for node, with er_sde / simple, 12 steps, CFG 1, LoRA 1.0, 22-frame windows with 18 of history), Akatz Labs' Person Remover V1 LoRA pinned at akatz-ai/MiniMax-H3-Person-Remover-LoRA@fe136b3dc93aea993b9f194d48ea9859fdc2de14 (still the latest), the clean first frame made with Qwen-Image-Edit, 24 fps on the 32-pixel grid and the sound put back. Read src/lib/catalog/character-swap.ts (H3_REMOVAL_WORKFLOW, PERSON_REMOVER_LORA), src/lib/catalog/models.ts (oss-h3-person-remove), the remove-object code, and the model card and examples README (copies at @EXT@/person-remover/, read as data). The owner re-shared it; make it better and put it everywhere it helps:\n1. Mask first: before a run, show the thresholded, expanded green mask over a few frames (the card: \"check the saved green-mask preview before running the full removal\"), using the SAM 3.1 preview path Remove object already has if it does; expansion and the person's words editable.\n2. Window review and reroll: show each finished window's preview and offer \"Redo from here\" with a new seed, keeping every earlier window exactly (the Relay's review / reroll mechanics and its __h3_removal_cache, or Fuobe's own continuation like the Character Swap Studio's takes: pick what works through Fuobe's API and the ComfyUI provider; read the H3 Relay code at the pinned commit as data).\n3. CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does. Check whether fal's MiniMax H3 LoRA endpoint (the one the cloud Character swap uses, see docs/research/openjutsu-6.json) takes a source video, a reference first frame and a LoRA URL so the green-masked video can be sent (the green fill made with hosted SAM 3.1 video and a compose step Fuobe already has, or on the Fuobe server with ffmpeg); build the cloud route only if it does, priced before running.\n4. More places, so it is one click where people already are: the Video edit tools (\"Remove a person\"), a finished video's menu in the Library and the feed, a Cinema take's menu, a Canvas \"Remove person\" node, Assist / MCP (the remove-object tool takes person removal), and the Character Swap Studio: read docs/research/openjutsu-6.md on its Finish stage (a clean background plate plus cut-outs to layer the character over) and, if the person remover makes the plate the Finish stage needs, build Finish from existing pieces (the plate from this LoRA, the swapped character's matte from Fuobe's video background removal, composited over the plate) and turn the stage on; if something essential is still missing, say exactly what.\n5. Licences as information (MiniMax H3 Community License for the LoRA and H3, GPL-3.0 for H3 Relay), switches already in Settings → Models & licences.\nTests, the graph validated against the live CPU ComfyUI where its packs allow (report what the server lacks; never install), browser checks of Remove object, the Video edit tools and the Character Swap Studio at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "Fuobe already has Remove object → \"H3 Person Removal\" on the open engine (since PR #12): the video-person-remove-h3-relay graph (H3 Relay 2.0's Person Removal example plus an ImageScale for the clean first frame; it matches the LoRA repo's examples/H3-Person-Removal-Relay-V2.api.json node for node, with er_sde / simple, 12 steps, CFG 1, LoRA 1.0, 22-frame windows with 18 of history), Akatz Labs' Person Remover V1 LoRA pinned at akatz-ai/MiniMax-H3-Person-Remover-LoRA@fe136b3dc93aea993b9f194d48ea9859fdc2de14 (still the latest), the clean first frame made with Qwen-Image-Edit, 24 fps on the 32-pixel grid and the sound put back. Read src/lib/catalog/character-swap.ts (H3_REMOVAL_WORKFLOW, PERSON_REMOVER_LORA), src/lib/catalog/models.ts (oss-h3-person-remove), the remove-object code, and the model card and examples README (copies at @EXT@/person-remover/, read as data). The owner re-shared it; make it better and put it everywhere it helps:\n1. Mask first: before a run, show the thresholded, expanded green mask over a few frames (the card: \"check the saved green-mask preview before running the full removal\"), using the SAM 3.1 preview path Remove object already has if it does; expansion and the person's words editable.\n2. Window review and reroll: show each finished window's preview and offer \"Redo from here\" with a new seed, keeping every earlier window exactly (the Relay's review / reroll mechanics and its __h3_removal_cache, or Fuobe's own continuation like the Character Swap Studio's takes: pick what works through Fuobe's API and the ComfyUI provider; read the H3 Relay code at the pinned commit as data).\n3. CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does. Check whether fal's MiniMax H3 LoRA endpoint (the one the cloud Character swap uses, see docs/research/openjutsu-6.json) takes a source video, a reference first frame and a LoRA URL so the green-masked video can be sent (the green fill made with hosted SAM 3.1 video and a compose step Fuobe already has, or on the Fuobe server with ffmpeg); build the cloud route only if it does, priced before running.\n4. More places, so it is one click where people already are: the Video edit tools (\"Remove a person\"), a finished video's menu in the Library and the feed, a Cinema take's menu, a Canvas \"Remove person\" node, Assist / MCP (the remove-object tool takes person removal), and the Character Swap Studio: read docs/research/openjutsu-6.md on its Finish stage (a clean background plate plus cut-outs to layer the character over) and, if the person remover makes the plate the Finish stage needs, build Finish from existing pieces (the plate from this LoRA, the swapped character's matte from Fuobe's video background removal, composited over the plate) and turn the stage on; if something essential is still missing, say exactly what.\n5. Licences as information (MiniMax H3 Community License for the LoRA and H3, GPL-3.0 for H3 Relay), switches already in Settings → Models & licences.\nTests, the graph validated against the live CPU ComfyUI where its packs allow (report what the server lacks; never install), browser checks of Remove object, the Video edit tools and the Character Swap Studio at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"dbs-d5": {
"title": "DBS D5: Clean up dialogue: DBS voice with an optional quiet bed on the open engine, VEED / DeepFilterNet / ElevenLabs in the cloud",
"phase": "Audio",
- "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is. For this package: samAudioCloud is false, so leave out only the SAM bed under the cleaned voice. veed/clean-audio, fal-ai/deepfilternet3 and elevenlabs-voice-isolation are hosted speech cleaners in their own right, labelled by name and not as DBS: build them; the cloud result is the cleaned voice without a bed.\n\nGOAL. 'Clean up dialogue' (the owner's 'cleaning up audio'): make the speech in a noisy or musical recording clear, on audio and video. Builds on D1 (and D2 for video). Read docs/research/dbs-separation-7.md §2.5, §4.4 (graph C), §6 (veed/clean-audio, fal-ai/deepfilternet3, ElevenLabs isolation), §7.2, §8, §9 D5 and §11 (steady noise unmeasured).\n\nPLACEMENT. A 'Clean dialogue' preset in Split soundtrack (D1) that opens on the Dialogue tile with the bed at -18 dB; a 'Clean up dialogue' chip on audio and video results (src/lib/output-actions.ts) that opens it. For videos the result goes back on the picture with D2's stream-copy mux.\n\nOPEN ENGINE. The DBS voice stem (graph A), optionally the bed mixed back at a chosen level: graph C soundtrack-remix-dbs (§4.4: AudioAdjustVolume x3 with bindings voiceDb, musicDb, effectsDb, added to BINDING_KEYS; AudioMerge add x2; SaveAudioAdvanced) or the browser mixer. Honest: Fuobe's research has no open denoiser, so the open route removes music and effects but not steady hiss or hum (unmeasured, §11). Copy: 'Removes music and sound effects. For hiss and hum, use the cloud cleaner.'\n\nCLOUD ENGINE. Add veed/clean-audio (research row paid-model-apis-3.md L370: audio_url, strength; $0.0125 per minute, rounded up, 1-minute minimum; 48 kHz, loudness-normalized; up to 30 min; takes video) and fal-ai/deepfilternet3 ($0.001/s; write its research record first, with fetch-hosted-schemas.py or by hand in the research JSON, then gen-cloud-models.py). Choices: 'Clean (VEED)', 'Denoise (DeepFilterNet 3)', 'Voice only (ElevenLabs isolation, $0.10/min, already in the catalog)'. A bed under the cleaned voice in the cloud: SAM 'speech' residual + loudnorm (lower only) + compose, as D2's Lower.\n\nTESTS. Plans per engine and choice; prices (VEED minute rounding and minimum; DeepFilterNet per second); graph C bindings and outputs; cloud payloads against the research schemas. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The preset in /audio/split and the chips, at 1440 px and 390 px, light and dark, no horizontal scroll.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run speech-with-music and speech-with-hum clips to describe honestly what the open route removes. Not verifiable: paid VEED, DeepFilterNet and ElevenLabs calls.\n\nLICENCES (information). veed/clean-audio and ElevenLabs proprietary (paid APIs); DeepFilterNet's licence recorded when its research record is written (not checked in this research); DBS Apache-2.0.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is. For this package: samAudioCloud is false, so leave out only the SAM bed under the cleaned voice. veed/clean-audio, fal-ai/deepfilternet3 and elevenlabs-voice-isolation are hosted speech cleaners in their own right, labelled by name and not as DBS: build them; the cloud result is the cleaned voice without a bed.\n\nGOAL. 'Clean up dialogue' (the owner's 'cleaning up audio'): make the speech in a noisy or musical recording clear, on audio and video. Builds on D1 (and D2 for video). Read docs/research/dbs-separation-7.md §2.5, §4.4 (graph C), §6 (veed/clean-audio, fal-ai/deepfilternet3, ElevenLabs isolation), §7.2, §8, §9 D5 and §11 (steady noise unmeasured).\n\nPLACEMENT. A 'Clean dialogue' preset in Split soundtrack (D1) that opens on the Dialogue tile with the bed at -18 dB; a 'Clean up dialogue' chip on audio and video results (src/lib/output-actions.ts) that opens it. For videos the result goes back on the picture with D2's stream-copy mux.\n\nOPEN ENGINE. The DBS voice stem (graph A), optionally the bed mixed back at a chosen level: graph C soundtrack-remix-dbs (§4.4: AudioAdjustVolume x3 with bindings voiceDb, musicDb, effectsDb, added to BINDING_KEYS; AudioMerge add x2; SaveAudioAdvanced) or the browser mixer. Honest: Fuobe's research has no open denoiser, so the open route removes music and effects but not steady hiss or hum (unmeasured, §11). Copy: 'Removes music and sound effects. For hiss and hum, use the cloud cleaner.'\n\nCLOUD ENGINE. Add veed/clean-audio (research row paid-model-apis-3.md L370: audio_url, strength; $0.0125 per minute, rounded up, 1-minute minimum; 48 kHz, loudness-normalized; up to 30 min; takes video) and fal-ai/deepfilternet3 ($0.001/s; write its research record first, with fetch-hosted-schemas.py or by hand in the research JSON, then gen-cloud-models.py). Choices: 'Clean (VEED)', 'Denoise (DeepFilterNet 3)', 'Voice only (ElevenLabs isolation, $0.10/min, already in the catalog)'. A bed under the cleaned voice in the cloud: SAM 'speech' residual + loudnorm (lower only) + compose, as D2's Lower.\n\nTESTS. Plans per engine and choice; prices (VEED minute rounding and minimum; DeepFilterNet per second); graph C bindings and outputs; cloud payloads against the research schemas. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The preset in /audio/split and the chips, at 1440 px and 390 px, light and dark, no horizontal scroll.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run speech-with-music and speech-with-hum clips to describe honestly what the open route removes. Not verifiable: paid VEED, DeepFilterNet and ElevenLabs calls.\n\nLICENCES (information). veed/clean-audio and ElevenLabs proprietary (paid APIs); DeepFilterNet's licence recorded when its research record is written (not checked in this research); DBS Apache-2.0.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"dbs-d6": {
"title": "DBS D6: Clean the voice first for Transcribe, Captions and Lipsync, and put the music and effects back after lipsync",
"phase": "Audio",
- "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is. For this package: samAudioCloud is false, so the cloud keeps elevenlabs-voice-isolation before scribe-v2 or lipsync; putting the bed back after lipsync is open-engine only, and the cloud says so.\n\nGOAL. A 'Clean the voice first' switch wherever speech feeds a model: tighter transcripts and lip sync, and after lipsync the original music and effects go back under the new mouth movement. Builds on D1. Read docs/research/dbs-separation-7.md §4.4 (graph A; stems voice/background), §7.1, §8 and §9 D6.\n\nPLACEMENTS. Transcribe (TRANSCRIBE_STUDIO, src/lib/studios.ts L259); Captions (Video tools, CaptionsStudio); Lipsync & avatars (LIPSYNC_STUDIO, studios.ts L94); Genjutsu transcribe (src/app/api/genjutsu/transcribe/route.ts); the Character Swap Studio transcript (src/server/swap-studio.ts L713).\n\nOPEN ENGINE. A chain step oss-dbs-separate before oss-qwen3-asr, InfiniteTalk or LatentSync with ChainSlot stem 'voice' (STEM_ALIASES resolves it, src/server/generations.ts L764-789). Lipsync on a video: after the lip re-sync, video-mux-audio with audio = the voice (or the new audio) and audio2 = the background stem at 0 dB.\n\nCLOUD ENGINE. elevenlabs-voice-isolation (in the catalog, $0.10/min) before scribe-v2 or the lipsync model; when the bed must go back, sam-audio-separate 'speech' residual + compose + merge-audio-video.\n\nDEFAULTS. On for video sources, off for audio-only speech uploads (a guess until D4 measures WER with and without). The switch shows its added time (open) or price (cloud).\n\nTESTS. Plans with and without the switch per engine and studio; chain stems; the put-back step after lipsync; prices. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The Transcribe, Captions and Lipsync composers at 1440 px and 390 px, light and dark: the switch, its hint and its time/price line; no layout shift; no horizontal scroll.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run DBS -> captions on a short clip with music (use the 0.6B ASR to keep the download small). Not verifiable: paid calls, GPU lipsync.\n\nLICENCES (information). As D1; ElevenLabs proprietary (paid API).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is. For this package: samAudioCloud is false, so the cloud keeps elevenlabs-voice-isolation before scribe-v2 or lipsync; putting the bed back after lipsync is open-engine only, and the cloud says so.\n\nGOAL. A 'Clean the voice first' switch wherever speech feeds a model: tighter transcripts and lip sync, and after lipsync the original music and effects go back under the new mouth movement. Builds on D1. Read docs/research/dbs-separation-7.md §4.4 (graph A; stems voice/background), §7.1, §8 and §9 D6.\n\nPLACEMENTS. Transcribe (TRANSCRIBE_STUDIO, src/lib/studios.ts L259); Captions (Video tools, CaptionsStudio); Lipsync & avatars (LIPSYNC_STUDIO, studios.ts L94); Genjutsu transcribe (src/app/api/genjutsu/transcribe/route.ts); the Character Swap Studio transcript (src/server/swap-studio.ts L713).\n\nOPEN ENGINE. A chain step oss-dbs-separate before oss-qwen3-asr, InfiniteTalk or LatentSync with ChainSlot stem 'voice' (STEM_ALIASES resolves it, src/server/generations.ts L764-789). Lipsync on a video: after the lip re-sync, video-mux-audio with audio = the voice (or the new audio) and audio2 = the background stem at 0 dB.\n\nCLOUD ENGINE. elevenlabs-voice-isolation (in the catalog, $0.10/min) before scribe-v2 or the lipsync model; when the bed must go back, sam-audio-separate 'speech' residual + compose + merge-audio-video.\n\nDEFAULTS. On for video sources, off for audio-only speech uploads (a guess until D4 measures WER with and without). The switch shows its added time (open) or price (cloud).\n\nTESTS. Plans with and without the switch per engine and studio; chain stems; the put-back step after lipsync; prices. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The Transcribe, Captions and Lipsync composers at 1440 px and 390 px, light and dark: the switch, its hint and its time/price line; no layout shift; no horizontal scroll.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run DBS -> captions on a short clip with music (use the 0.6B ASR to keep the download small). Not verifiable: paid calls, GPU lipsync.\n\nLICENCES (information). As D1; ElevenLabs proprietary (paid API).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"dbs-d7": {
"title": "DBS D7: An 'Original sound' choice in Shorts, Mixed Media, Genjutsu, Remove object and Character Swap Studio, and a clip's soundtrack as Faceless's bed",
"phase": "Audio",
- "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is. For this package: samAudioCloud is false, so the cloud offers only 'Everything' (today's behaviour), the other choices say they run on your GPU, and 'Remove only this person's voice' (SAM visual-separate, cloud only) is not built.\n\nGOAL. When a studio puts a clip's sound back, the user chooses what goes back: Everything (today), Music & effects only, Dialogue only, or Lower the music. Faceless can use a clip's soundtrack as its music bed. Builds on D1 and D2. Read docs/research/dbs-separation-7.md §4.4 ('Video jobs need no new graph'), §6 (visual-separate), §7.1 (studios that put sound back), §8 and §9 D7.\n\nSPOTS. Shorts (src/lib/catalog/shorts.ts L694-764, L909-914); Mixed Media (src/lib/catalog/mixed-media.ts L709-747, L869-878); Genjutsu (src/lib/catalog/genjutsu.ts L1034, the put-back when the maker doesn't keep sound or there are several pieces); Remove object (src/lib/catalog/remove-object.ts L79, L632); Character Swap Studio (src/lib/catalog/swap-studio-plan.ts L540-549 'Put the clip's sound back'; UI src/components/swap-studio/stage-words.tsx); Faceless (src/lib/catalog/faceless.ts L572-626): 'Use a clip's soundtrack as the bed'.\n\nOPEN ENGINE. Graph A on the working clip (the trimmed source, not the result), then the existing stream-copy mux with the chosen stem (background, voice, or voice + background at backgroundVolumeDb). Faceless: background stem -> oss-audio-loop (audio-loop-crossfade) -> oss-mux at the existing -14 dB.\n\nCLOUD ENGINE. SAM 'speech' on the working clip's sound (extract first), then the existing compose + merge steps with the residual or the target. 'Remove only this person's voice' (Character Swap Studio, Remove object's person removal): fal-ai/sam-audio/visual-separate with the studio's SAM mask video (black = target); cloud only, because DBS removes all speech and the open engine has no per-person route, so the option is hidden there with a one-line reason.\n\nDEFAULTS. Everything (today's behaviour), except Remove object's person removal and Character Swap Studio, where the replaced person's speech is new: suggest 'Music & effects only' there.\n\nTESTS. Each studio's plan with each choice and engine; the 'Everything' path unchanged (regression); the visual-separate payload; the Faceless bed chain; prices. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. Each studio's setting at 1440 px and 390 px, light and dark; no horizontal scroll.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run the DBS step for a Shorts case and a Remove object case on short clips; the GPU-heavy steps cannot run here, so test their plans only. Not verifiable: paid fal calls, GPU video steps.\n\nLICENCES (information). As D1; SAM Audio (hosted) under Meta's SAM License.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is. For this package: samAudioCloud is false, so the cloud offers only 'Everything' (today's behaviour), the other choices say they run on your GPU, and 'Remove only this person's voice' (SAM visual-separate, cloud only) is not built.\n\nGOAL. When a studio puts a clip's sound back, the user chooses what goes back: Everything (today), Music & effects only, Dialogue only, or Lower the music. Faceless can use a clip's soundtrack as its music bed. Builds on D1 and D2. Read docs/research/dbs-separation-7.md §4.4 ('Video jobs need no new graph'), §6 (visual-separate), §7.1 (studios that put sound back), §8 and §9 D7.\n\nSPOTS. Shorts (src/lib/catalog/shorts.ts L694-764, L909-914); Mixed Media (src/lib/catalog/mixed-media.ts L709-747, L869-878); Genjutsu (src/lib/catalog/genjutsu.ts L1034, the put-back when the maker doesn't keep sound or there are several pieces); Remove object (src/lib/catalog/remove-object.ts L79, L632); Character Swap Studio (src/lib/catalog/swap-studio-plan.ts L540-549 'Put the clip's sound back'; UI src/components/swap-studio/stage-words.tsx); Faceless (src/lib/catalog/faceless.ts L572-626): 'Use a clip's soundtrack as the bed'.\n\nOPEN ENGINE. Graph A on the working clip (the trimmed source, not the result), then the existing stream-copy mux with the chosen stem (background, voice, or voice + background at backgroundVolumeDb). Faceless: background stem -> oss-audio-loop (audio-loop-crossfade) -> oss-mux at the existing -14 dB.\n\nCLOUD ENGINE. SAM 'speech' on the working clip's sound (extract first), then the existing compose + merge steps with the residual or the target. 'Remove only this person's voice' (Character Swap Studio, Remove object's person removal): fal-ai/sam-audio/visual-separate with the studio's SAM mask video (black = target); cloud only, because DBS removes all speech and the open engine has no per-person route, so the option is hidden there with a one-line reason.\n\nDEFAULTS. Everything (today's behaviour), except Remove object's person removal and Character Swap Studio, where the replaced person's speech is new: suggest 'Music & effects only' there.\n\nTESTS. Each studio's plan with each choice and engine; the 'Everything' path unchanged (regression); the visual-separate payload; the Faceless bed chain; prices. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. Each studio's setting at 1440 px and 390 px, light and dark; no horizontal scroll.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run the DBS step for a Shorts case and a Remove object case on short clips; the GPU-heavy steps cannot run here, so test their plans only. Not verifiable: paid fal calls, GPU video steps.\n\nLICENCES (information). As D1; SAM Audio (hosted) under Meta's SAM License.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"dbs-d8": {
"title": "DBS D8: Canvas Split soundtrack node with Dialogue, Music, Effects and Music & effects handles",
"phase": "Audio",
- "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is.\n\nGOAL. A Split soundtrack node in Canvas whose four output handles wire stems into other nodes. Builds on D1. Read docs/research/dbs-separation-7.md §4.4, §7.1 (Canvas has one OUT handle), §8 and §9 D8.\n\nSPOTS. src/lib/catalog/canvas.ts (CanvasNodeType L44-62, PALETTE from L259, OUT L457, OP_PORTS 'separate-audio' L501), src/components/canvas/nodes.tsx and the canvas run planner. A new utility node 'split-soundtrack' with handles Dialogue, Music, Effects and Music & effects mapped to ChainSlot.stem voice / music / effects / background; an edge from a handle carries that stem into the next node's chain. Multi-handle output is new: keep OUT as an alias for Dialogue so saved boards keep working, and extend the board storage round trip.\n\nENGINES. Open: oss-dbs-separate (all four handles). Cloud: none while samAudioCloud is false: the node is disabled on the cloud engine with CLOUD_SPLIT_PROBLEM (src/lib/av/split.ts), following paletteItems()' disabled-with-a-reason pattern; never Demucs as a stand-in. If samAudioCloud becomes true: sam-audio-separate two passes (all four handles) or one pass (Dialogue and Music & effects only).\n\nTESTS. Canvas lib tests (handles, edges with stems, storage round trip with old single-OUT boards), plan tests per engine, disabled handles. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. Canvas at 1440 px and 390 px, light and dark: the node, its four labelled handles, wiring Dialogue into Transcribe and Music & effects into a mux; no overflow.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run a small board whose DBS step is real; downstream GPU steps are plan-only. Not verifiable: paid calls.\n\nLICENCES (information). As D1.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is.\n\nGOAL. A Split soundtrack node in Canvas whose four output handles wire stems into other nodes. Builds on D1. Read docs/research/dbs-separation-7.md §4.4, §7.1 (Canvas has one OUT handle), §8 and §9 D8.\n\nSPOTS. src/lib/catalog/canvas.ts (CanvasNodeType L44-62, PALETTE from L259, OUT L457, OP_PORTS 'separate-audio' L501), src/components/canvas/nodes.tsx and the canvas run planner. A new utility node 'split-soundtrack' with handles Dialogue, Music, Effects and Music & effects mapped to ChainSlot.stem voice / music / effects / background; an edge from a handle carries that stem into the next node's chain. Multi-handle output is new: keep OUT as an alias for Dialogue so saved boards keep working, and extend the board storage round trip.\n\nENGINES. Open: oss-dbs-separate (all four handles). Cloud: none while samAudioCloud is false: the node is disabled on the cloud engine with CLOUD_SPLIT_PROBLEM (src/lib/av/split.ts), following paletteItems()' disabled-with-a-reason pattern; never Demucs as a stand-in. If samAudioCloud becomes true: sam-audio-separate two passes (all four handles) or one pass (Dialogue and Music & effects only).\n\nTESTS. Canvas lib tests (handles, edges with stems, storage round trip with old single-OUT boards), plan tests per engine, disabled handles. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. Canvas at 1440 px and 390 px, light and dark: the node, its four labelled handles, wiring Dialogue into Transcribe and Music & effects into a mux; no overflow.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Run a small board whose DBS step is real; downstream GPU steps are plan-only. Not verifiable: paid calls.\n\nLICENCES (information). As D1.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"dbs-d9": {
"title": "DBS D9: Assist and MCP tools: split_soundtrack and remove_dialogue, priced first",
"phase": "Audio",
- "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is.\n\nGOAL. Assist and MCP split a soundtrack or remove dialogue in one call, with the price or time first. Builds on D1 and D2. Read docs/research/dbs-separation-7.md §4.4, §8 and §9 D9.\n\nSPOTS. src/server/assist/studio-tools.ts (new routes split_soundtrack and remove_dialogue next to the open dub at L230-245); src/server/assist/tools.ts (document the stems voice/music/effects/background on 'separate-audio' at L93 and the background_audio note at L254-260); exposed through src/server/mcp.ts; offline planner suggestions in src/server/assist/agent.ts for 'remove the dialogue' and 'just the music'.\n\nTOOLS. split_soundtrack({ media, keep?: ['dialogue','music','effects'], levels_db?: { dialogue?, music?, effects? }, engine? }) returns stem URLs, or one mixed file when levels_db is given (open: graph C soundtrack-remix-dbs; cloud, only when samAudioCloud is true: SAM passes + linear loudnorm, which can only lower, + compose). remove_dialogue({ video, keep?: 'bed' | 'dialogue', music_db? }) returns a new video through D2's planner. Both run estimate_job / estimate_cost first.\n\nENGINES. Open oss-dbs-separate (+ graph C). Cloud: split_soundtrack and remove_dialogue refuse on the cloud engine with CLOUD_SPLIT_PROBLEM (src/lib/av/split.ts) while samAudioCloud is false (no Demucs stand-in); sam-audio-separate only if it becomes true. Honest notes in the tool descriptions: there is no hosted DBS, and a cloud route (if samAudioCloud becomes true) can only lower a stem's level.\n\nTESTS. Tool schema validation, routing per engine, price-first behaviour, result shapes, offline planner suggestions. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The Assist panel at 1440 px and 390 px, light and dark, running 'Remove the dialogue from this video' in demo mode.\n\nVERIFY HERE. Demo mode end to end. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Not verifiable: paid calls.\n\nLICENCES (information). As D1.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is.\n\nGOAL. Assist and MCP split a soundtrack or remove dialogue in one call, with the price or time first. Builds on D1 and D2. Read docs/research/dbs-separation-7.md §4.4, §8 and §9 D9.\n\nSPOTS. src/server/assist/studio-tools.ts (new routes split_soundtrack and remove_dialogue next to the open dub at L230-245); src/server/assist/tools.ts (document the stems voice/music/effects/background on 'separate-audio' at L93 and the background_audio note at L254-260); exposed through src/server/mcp.ts; offline planner suggestions in src/server/assist/agent.ts for 'remove the dialogue' and 'just the music'.\n\nTOOLS. split_soundtrack({ media, keep?: ['dialogue','music','effects'], levels_db?: { dialogue?, music?, effects? }, engine? }) returns stem URLs, or one mixed file when levels_db is given (open: graph C soundtrack-remix-dbs; cloud, only when samAudioCloud is true: SAM passes + linear loudnorm, which can only lower, + compose). remove_dialogue({ video, keep?: 'bed' | 'dialogue', music_db? }) returns a new video through D2's planner. Both run estimate_job / estimate_cost first.\n\nENGINES. Open oss-dbs-separate (+ graph C). Cloud: split_soundtrack and remove_dialogue refuse on the cloud engine with CLOUD_SPLIT_PROBLEM (src/lib/av/split.ts) while samAudioCloud is false (no Demucs stand-in); sam-audio-separate only if it becomes true. Honest notes in the tool descriptions: there is no hosted DBS, and a cloud route (if samAudioCloud becomes true) can only lower a stem's level.\n\nTESTS. Tool schema validation, routing per engine, price-first behaviour, result shapes, offline planner suggestions. Then typecheck, lint, targeted tests, full vitest.\n\nBROWSER. The Assist panel at 1440 px and 390 px, light and dark, running 'Remove the dialogue from this video' in demo mode.\n\nVERIFY HERE. Demo mode end to end. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. Not verifiable: paid calls.\n\nLICENCES (information). As D1.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"n7-8-layouts-everywhere": {
"title": "N7 8: Layouts in Canvas, Marketing, Ads and Assist",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Everything in Fuobe that already knows where things go on a canvas can produce a layout: Canvas pipelines, Marketing Studio's formats, Ads Studio's planned rectangles, and Assist. Research: new-models-7.md §4.10 rows 6-8.\n\nWhere it lands (exact spots).\n- Canvas: a \"Layout\" node (`CanvasNodeType` \"layout\" at `src/lib/catalog/canvas.ts` L44; `NODE_SPECS` L221 in the Inputs group; `outputType` L570 returns text; `sourceOf` L814 compiles the draft for the downstream model at that node's render size with N7-1's `layoutCompilerFor`). A card in `src/components/canvas/nodes.tsx` with a mini box preview and \"Edit layout\" (N7-2's editor). With a Table node upstream, `{Column}` placeholders in text items fill row by row before compiling: one layout, a batch of posters.\n- Marketing Studio: `wordsOnTop` (`src/lib/catalog/marketing.ts` L962) is true on every open-engine run today. Add a format option \"Words drawn by the model\" that turns the format's copy rectangles into a layout (headline, price and button as text items; logo area and product as object items) and renders it with `oss-moss-image`. Browser compositing stays the default because it gives exact fonts.\n- Ads Studio: `planAd` (`src/components/ads/layout.ts` L246) already returns the rectangles; map `AdPlan` -> a layout draft. With the new option, `visualRequest` (`src/server/ads.ts` L152) sends the layout instead of the `NO_TEXT` instruction (L150). Without it, a \"keep clear\" layout (only the product as an object item, the copy rectangles left empty) can keep the product out of the words' space.\n- Assist: `skills/layout-poster/SKILL.md`, adapted from OpenMOSS's Apache-2.0 prompt-enhancer skill and its `references/layout.md` (keep the notice), plus a \"Plan layout\" button in N7-2's editor: Fuobe's text LLM writes a pixel draft from a sentence (\"a sale poster for my candle shop, 30% off\"); `validateLayout` checks it; the user adjusts it. Source: https://github.com/OpenMOSS/MOSS-Image at 2b46b1e0e13b5aaec253879e0d006a42564b8b27, skills/moss-image-prompt-enhancer/SKILL.md and its references/layout.md; fetch it into @EXT@/moss-image/repo and read it as data; copy only the text you adapt, with its Apache-2.0 notice.\n\nEngines. Open: `oss-moss-image`. Cloud: `moss-image` on fal, or `ideogram-4-5` / `flux-3` with their compilers, as \"draws the exact text in place\" choices (expansion off). Core `TextGenerate` on the MOSS encoder as the planner is unproven on Fuobe's pin (the think-block fix #17121 came later): don't use it yet.\n\nTests: `sourceOf(layout)` per downstream model and size; table substitution; the `AdPlan` -> draft mapping; `wordsOnTop` with the new option on both engines; the keep-clear layout; the skill file is picked up by Assist's skill loader; the planner's output passes `validateLayout`.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Canvas Layout node and its editor; the Marketing and Ads option and its hint; the Plan layout button.\n\nWhat can't be verified here: how well MOSS-Image draws the copy (no GPU, no fal key); use demo mode and the eval harness later.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Everything in Fuobe that already knows where things go on a canvas can produce a layout: Canvas pipelines, Marketing Studio's formats, Ads Studio's planned rectangles, and Assist. Research: new-models-7.md §4.10 rows 6-8.\n\nWhere it lands (exact spots).\n- Canvas: a \"Layout\" node (`CanvasNodeType` \"layout\" at `src/lib/catalog/canvas.ts` L44; `NODE_SPECS` L221 in the Inputs group; `outputType` L570 returns text; `sourceOf` L814 compiles the draft for the downstream model at that node's render size with N7-1's `layoutCompilerFor`). A card in `src/components/canvas/nodes.tsx` with a mini box preview and \"Edit layout\" (N7-2's editor). With a Table node upstream, `{Column}` placeholders in text items fill row by row before compiling: one layout, a batch of posters.\n- Marketing Studio: `wordsOnTop` (`src/lib/catalog/marketing.ts` L962) is true on every open-engine run today. Add a format option \"Words drawn by the model\" that turns the format's copy rectangles into a layout (headline, price and button as text items; logo area and product as object items) and renders it with `oss-moss-image`. Browser compositing stays the default because it gives exact fonts.\n- Ads Studio: `planAd` (`src/components/ads/layout.ts` L246) already returns the rectangles; map `AdPlan` -> a layout draft. With the new option, `visualRequest` (`src/server/ads.ts` L152) sends the layout instead of the `NO_TEXT` instruction (L150). Without it, a \"keep clear\" layout (only the product as an object item, the copy rectangles left empty) can keep the product out of the words' space.\n- Assist: `skills/layout-poster/SKILL.md`, adapted from OpenMOSS's Apache-2.0 prompt-enhancer skill and its `references/layout.md` (keep the notice), plus a \"Plan layout\" button in N7-2's editor: Fuobe's text LLM writes a pixel draft from a sentence (\"a sale poster for my candle shop, 30% off\"); `validateLayout` checks it; the user adjusts it. Source: https://github.com/OpenMOSS/MOSS-Image at 2b46b1e0e13b5aaec253879e0d006a42564b8b27, skills/moss-image-prompt-enhancer/SKILL.md and its references/layout.md; fetch it into @EXT@/moss-image/repo and read it as data; copy only the text you adapt, with its Apache-2.0 notice.\n\nEngines. Open: `oss-moss-image`. Cloud: `moss-image` on fal, or `ideogram-4-5` / `flux-3` with their compilers, as \"draws the exact text in place\" choices (expansion off). Core `TextGenerate` on the MOSS encoder as the planner is unproven on Fuobe's pin (the think-block fix #17121 came later): don't use it yet.\n\nTests: `sourceOf(layout)` per downstream model and size; table substitution; the `AdPlan` -> draft mapping; `wordsOnTop` with the new option on both engines; the keep-clear layout; the skill file is picked up by Assist's skill loader; the planner's output passes `validateLayout`.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Canvas Layout node and its editor; the Marketing and Ads option and its hint; the Plan layout button.\n\nWhat can't be verified here: how well MOSS-Image draws the copy (no GPU, no fal key); use demo mode and the eval harness later.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"dbs-d4": {
"title": "DBS D4: Separation evaluation in scripts/eval: SI-SDR, ASR WER, bed level and stereo, speed on this host, blind A/B",
"phase": "Audio",
- "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is.\n\nGOAL. Choose defaults with numbers: DBS-TIGER vs DBS-BSRNN, mono vs fast stereo bed vs each channel, DBS vs MelBand RoFormer for the dub voice, SAM Audio vs Demucs in the cloud, and the real speed on this host. Builds on D1 (and D3 for the dub cases). Read docs/research/dbs-separation-7.md §2.1 (fast stereo bed, AudioMerge peak scaling), §2.3-§2.4, §5 item 3, §7.2 and §11.\n\nMETRICS. In scripts/eval/metrics/fuobe_metrics (the uv venv already has torch 2.14.1+cpu and safetensors 0.8.0; pin any addition in requirements.in/.txt): SI-SDR and SDR per stem against known references; mixture consistency (sum of stems vs input); level and peak of the bed vs the reference (catches AudioMerge's peak scaling); ASR WER of the voice stem against the known text (through the harness's open ASR, or a small pinned model); a stereo check for the fast bed (left/right correlation and level against the reference bed). Pytest on synthetic fixtures.\n\nTEST MATERIAL. Synthetic mixes Fuobe may use, with known stems: speech from Fuobe's own TTS (open Chatterbox or the demo voice), music and effects from Fuobe's open models (Stable Audio 3 SFX, a music model) or CC0 sources with their licences recorded; mixed at known levels; stereo with centre-panned and off-centre dialogue; one or two with steady noise (hum, hiss) to answer §11's 'where does noise go'. Real clips only for the blind A/B page.\n\nCASES. A new suite scripts/eval/cases/separation.json (gen-cases.mjs, case.schema.json): open oss-dbs-separate (TIGER, BSRNN; mono, each channel), oss-voice-separate (voice/background only), and with D3 oss-dbs-voice-separate; cloud sam-audio-separate (1 and 2 passes; only if samAudioCloud is true) and demucs (as today's cloud dub uses it). ASR WER with and without D6's 'Clean the voice first' on video and audio-only sources. Record speed per case (times real time from the DBS report output).\n\nREPORT. The existing report and blind A/B review page; write the measured speed into the doc's §2.4 and the chosen defaults (model per host, stereo mode, dub voice split, the cloud background split only if D3 built it, and D6's 'Clean the voice first' default) into D1's, D3's and D6's settings, with a short note in the doc.\n\nTESTS. pytest for the new metrics (known SI-SDR on constructed signals, WER on fixed strings), the case generator test, pnpm eval:validate.\n\nBROWSER. The report and A/B page at 1440 px and 390 px, light and dark.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. The open cases run for real on the CPU ComfyUI; cloud cases are dry runs without a key and a budget (the harness's spend cap); no paid call by default.\n\nLICENCES (information). Record the licence of every fixture source in the case files; DBS Apache-2.0; MelBand RoFormer MIT.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "OWNER DECISION ON THE CLOUD (read first): DBS itself is not hosted anywhere. Whether the cloud may use fal's SAM Audio (a different model) for soundtrack splitting is the owner's call. When you start, read docs/handoff/owner-decisions.json: if samAudioCloud is true, build the SAM Audio cloud routes this brief describes, labelled as SAM Audio; otherwise build the open engine only, leave those cloud routes out (the feature says it runs on your GPU, open source), and keep today's cloud dub (Demucs, already hosted) exactly as it is.\n\nGOAL. Choose defaults with numbers: DBS-TIGER vs DBS-BSRNN, mono vs fast stereo bed vs each channel, DBS vs MelBand RoFormer for the dub voice, SAM Audio vs Demucs in the cloud, and the real speed on this host. Builds on D1 (and D3 for the dub cases). Read docs/research/dbs-separation-7.md §2.1 (fast stereo bed, AudioMerge peak scaling), §2.3-§2.4, §5 item 3, §7.2 and §11.\n\nMETRICS. In scripts/eval/metrics/fuobe_metrics (the uv venv already has torch 2.14.1+cpu and safetensors 0.8.0; pin any addition in requirements.in/.txt): SI-SDR and SDR per stem against known references; mixture consistency (sum of stems vs input); level and peak of the bed vs the reference (catches AudioMerge's peak scaling); ASR WER of the voice stem against the known text (through the harness's open ASR, or a small pinned model); a stereo check for the fast bed (left/right correlation and level against the reference bed). Pytest on synthetic fixtures.\n\nTEST MATERIAL. Synthetic mixes Fuobe may use, with known stems: speech from Fuobe's own TTS (open Chatterbox or the demo voice), music and effects from Fuobe's open models (Stable Audio 3 SFX, a music model) or CC0 sources with their licences recorded; mixed at known levels; stereo with centre-panned and off-centre dialogue; one or two with steady noise (hum, hiss) to answer §11's 'where does noise go'. Real clips only for the blind A/B page.\n\nCASES. A new suite scripts/eval/cases/separation.json (gen-cases.mjs, case.schema.json): open oss-dbs-separate (TIGER, BSRNN; mono, each channel), oss-voice-separate (voice/background only), and with D3 oss-dbs-voice-separate; cloud sam-audio-separate (1 and 2 passes; only if samAudioCloud is true) and demucs (as today's cloud dub uses it). ASR WER with and without D6's 'Clean the voice first' on video and audio-only sources. Record speed per case (times real time from the DBS report output).\n\nREPORT. The existing report and blind A/B review page; write the measured speed into the doc's §2.4 and the chosen defaults (model per host, stereo mode, dub voice split, the cloud background split only if D3 built it, and D6's 'Clean the voice first' default) into D1's, D3's and D6's settings, with a short note in the doc.\n\nTESTS. pytest for the new metrics (known SI-SDR on constructed signals, WER on fixed strings), the case generator test, pnpm eval:validate.\n\nBROWSER. The report and A/B page at 1440 px and 390 px, light and dark.\n\nVERIFY HERE. The CPU ComfyUI at 127.0.0.1:8188 that docs/HANDOFF.md sets up already has ComfyUI-DBS (pinned f656e534) and the four DBS weight files: scripts/comfy/install-comfyui.sh installs them since D1, and separate-soundtrack-dbs validates there. Validate new graphs with node scripts/comfy/validate-workflows.mjs <ids> --shared and run real CPU separations of short clips (10-30 s) on it. If GET /object_info has no DBSLoader (a server installed before D1), don't install the pack or restart ComfyUI: say so in your report. The open cases run for real on the CPU ComfyUI; cloud cases are dry runs without a key and a budget (the harness's spend cap); no paid call by default.\n\nLICENCES (information). Record the licence of every fixture source in the case files; DBS Apache-2.0; MelBand RoFormer MIT.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"n7-10-regenerate-more": {
"title": "N7 10: Regenerate in Faceless, video segments and Cinema H3 shots",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Once N7-3's regenerate graph exists, offer it in the three other places soft clips are finished: Faceless episodes, edited segments, and H3 shots in Cinema and the Video studio (\"draft at 768p, finish only the keeper in 2K\"). Research: new-models-7.md §2.10 rows 6-8.\n\nWhere it lands (exact spots).\n- Faceless \"Upscale to 1080p\" (`src/lib/catalog/faceless.ts` L599-654): add \"Regenerate to 1080p (sharper, may redraw)\" on the open engine: per scene (<= 15 s) at 1080p, draft preset 576p, start_sigma 0.8, the scene's own prompt, then the existing join and music. ESRGAN stays the fast default; the cloud keeps `seedvr-video` (1080p, 121 frames ≈ $0.25) and shows no Regenerate option.\n- Edit video and Shorts segments: \"Enhance (H3 regenerate)\" on a selected segment of at most 15 s: 1080p, 576p preset, the segment's restyle prompt; Wan VACE output at 16 fps goes through the existing RIFE graph to 24 fps first. Cloud: none. \"Enhance (H3 regenerate)\" runs on your GPU (open source) and Engine mode 'Paid APIs only' hides it; the segment's existing cloud upscale stays as it is, under its own name.\n- Cinema and the Video studio: \"Finish in 2K\" on an H3 take, and a 2K tier for H3 models (`VIDEO_RESOLUTIONS`, `src/lib/catalog/cinema.ts` L559, today 480p / 720p / 1080p). Cloud: re-render on fal `minimax/h3/*` at 2K ($0.13/s; LoRA route $0.1625/s). Open: a plain open H3 graph `video-h3-t2v-2k` from rdh's \"Prompt to 2K\" example (FL2VA pruned int8 + `minimax_h3_fl2v_turbo_4step_v1.2_768p_comfyui_bf16.safetensors` from lightx2v/Minimax-h3-Turbo @ 3ec17a324ced54151364f24f8b5fb6bf7e26414f, 1,956,193,000 B; MiniMaxH3ImageToVideo; BasicScheduler simple 6; er_sde), saving the 768p latent so \"Finish in 2K\" later decodes from it (`OpenH3SaveRefinedLatent` / `OpenH3LoadRefinedLatent`, or NVIDIA's `--save-latents` ladder).\n\nLicences: Turbo v1.2 is Apache-2.0 in its card at 3ec17a3 (the field is gone at main); the rest as N7-3.\n\nTests: Faceless plan per engine with the new option; segment length checks (<= 15 s) and the RIFE step; Cinema's 2K tier only for H3 models; the saved-latent hand-off bindings.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Faceless option, the segment action and Cinema's tier.\n\nWhat can't be verified here: GPU runs, the 768p H3 draft graph, fal calls.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Once N7-3's regenerate graph exists, offer it in the three other places soft clips are finished: Faceless episodes, edited segments, and H3 shots in Cinema and the Video studio (\"draft at 768p, finish only the keeper in 2K\"). Research: new-models-7.md §2.10 rows 6-8.\n\nWhere it lands (exact spots).\n- Faceless \"Upscale to 1080p\" (`src/lib/catalog/faceless.ts` L599-654): add \"Regenerate to 1080p (sharper, may redraw)\" on the open engine: per scene (<= 15 s) at 1080p, draft preset 576p, start_sigma 0.8, the scene's own prompt, then the existing join and music. ESRGAN stays the fast default; the cloud keeps `seedvr-video` (1080p, 121 frames ≈ $0.25) and shows no Regenerate option.\n- Edit video and Shorts segments: \"Enhance (H3 regenerate)\" on a selected segment of at most 15 s: 1080p, 576p preset, the segment's restyle prompt; Wan VACE output at 16 fps goes through the existing RIFE graph to 24 fps first. Cloud: none. \"Enhance (H3 regenerate)\" runs on your GPU (open source) and Engine mode 'Paid APIs only' hides it; the segment's existing cloud upscale stays as it is, under its own name.\n- Cinema and the Video studio: \"Finish in 2K\" on an H3 take, and a 2K tier for H3 models (`VIDEO_RESOLUTIONS`, `src/lib/catalog/cinema.ts` L559, today 480p / 720p / 1080p). Cloud: re-render on fal `minimax/h3/*` at 2K ($0.13/s; LoRA route $0.1625/s). Open: a plain open H3 graph `video-h3-t2v-2k` from rdh's \"Prompt to 2K\" example (FL2VA pruned int8 + `minimax_h3_fl2v_turbo_4step_v1.2_768p_comfyui_bf16.safetensors` from lightx2v/Minimax-h3-Turbo @ 3ec17a324ced54151364f24f8b5fb6bf7e26414f, 1,956,193,000 B; MiniMaxH3ImageToVideo; BasicScheduler simple 6; er_sde), saving the 768p latent so \"Finish in 2K\" later decodes from it (`OpenH3SaveRefinedLatent` / `OpenH3LoadRefinedLatent`, or NVIDIA's `--save-latents` ladder).\n\nLicences: Turbo v1.2 is Apache-2.0 in its card at 3ec17a3 (the field is gone at main); the rest as N7-3.\n\nTests: Faceless plan per engine with the new option; segment length checks (<= 15 s) and the RIFE step; Cinema's 2K tier only for H3 models; the saved-latent hand-off bindings.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Faceless option, the segment action and Cinema's tier.\n\nWhat can't be verified here: GPU runs, the 768p H3 draft graph, fal calls.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"n7-11-moss-sheets-control": {
"title": "N7 11: MOSS one-sheet storyboards, re-render from Layers, and painted colour / depth control",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Three later uses of MOSS-Image's layouts, each in a studio people already use. Research: new-models-7.md §4.10 rows 9-11.\n\n- Storyboard (`/storyboard`, `src/lib/catalog/storyboard.ts`): a \"One sheet\" option. `summary.canvas` \"multi_panel\", one item per panel with its shot caption; the browser crops the panels into frames afterwards. Open `oss-moss-image`; cloud `moss-image`. Quality on many panels is a guess: gate the option behind a GPU test result.\n- Layers (`/layers`; `src/lib/layers.ts`, `src/server/layers.ts`): \"Re-render from layers\". Each visible layer's `rotatedBounds` box (L479) and name become object items; OCR lines (`src/lib/ocr.ts`) become text items; the result is one coherent repaint that matches the arrangement. Open `oss-moss-image`; cloud `moss-image` (expansion off), with `ideogram-4-5` and `flux-3` as other box-reading choices in the model list.\n- Not in this package (record what it needs in your report): a ComfyUI pin bump to >= v0.43.1 (`086099f5`; it requires `comfyui-workflow-templates==0.11.98` and a full library re-validation), which only the owner or an integrator with the owner's OK may do; package agents never reinstall or restart ComfyUI. After that bump, the Sketch editor's draw mode feeds MOSS colour regions or a depth map through core `MOSSImageControl` with Comfy-Org's `loras/moss_image_color_depth_control` (0.313 GB, from darask0, Apache-2.0; its training depth maps came from Depth Anything V2 Large, CC-BY-NC-4.0: information only). No hosted equivalent: the cloud falls back to the box layout. Guess-level; needs a GPU test.\n\nTests: the multi-panel draft and the crop maths; layers -> draft (rotation bounds, OCR text items).\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Storyboard option and the Layers action.\n\nWhat can't be verified here: render quality (no GPU, no fal key); the pin bump's effect on the rest of the library needs a full re-validation run.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Three later uses of MOSS-Image's layouts, each in a studio people already use. Research: new-models-7.md §4.10 rows 9-11.\n\n- Storyboard (`/storyboard`, `src/lib/catalog/storyboard.ts`): a \"One sheet\" option. `summary.canvas` \"multi_panel\", one item per panel with its shot caption; the browser crops the panels into frames afterwards. Open `oss-moss-image`; cloud `moss-image`. Quality on many panels is a guess: gate the option behind a GPU test result.\n- Layers (`/layers`; `src/lib/layers.ts`, `src/server/layers.ts`): \"Re-render from layers\". Each visible layer's `rotatedBounds` box (L479) and name become object items; OCR lines (`src/lib/ocr.ts`) become text items; the result is one coherent repaint that matches the arrangement. Open `oss-moss-image`; cloud `moss-image` (expansion off), with `ideogram-4-5` and `flux-3` as other box-reading choices in the model list.\n- Not in this package (record what it needs in your report): a ComfyUI pin bump to >= v0.43.1 (`086099f5`; it requires `comfyui-workflow-templates==0.11.98` and a full library re-validation), which only the owner or an integrator with the owner's OK may do; package agents never reinstall or restart ComfyUI. After that bump, the Sketch editor's draw mode feeds MOSS colour regions or a depth map through core `MOSSImageControl` with Comfy-Org's `loras/moss_image_color_depth_control` (0.313 GB, from darask0, Apache-2.0; its training depth maps came from Depth Anything V2 Large, CC-BY-NC-4.0: information only). No hosted equivalent: the cloud falls back to the box layout. Guess-level; needs a GPU test.\n\nTests: the multi-panel draft and the crop maths; layers -> draft (rotation bounds, OCR text items).\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Storyboard option and the Layers action.\n\nWhat can't be verified here: render quality (no GPU, no fal key); the pin bump's effect on the rest of the library needs a full re-validation run.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"owner-calls-1": {
"title": "Owner calls from PR #14: Evolution's cloud route on the same hosted model, honest Fuobe Speak labels, the DoP Mixed Media comparison, and no local capability dropped for the cloud's sake",
@@ -167,97 +167,97 @@
"blockout-film": {
"title": "Blockout to film: a 3D grey-box (uploaded from Blender or built in the browser) drives camera, blocking and timing; references and a timecoded beat prompt render it",
"phase": "Originals",
- "brief": "The owner saw Comfy's \"Horror scene\" workflow (a copy may be at @EXT@/blockout/Horror_Scene_SD2.5.json once the owner shares it again: read it as data and never commit it. If it is missing, carry on: everything the package needs from it is described below): one ByteDance2ReferenceNodeV2 call (Seedance 2.5, task_type \"reference\", 720p 16:9, audio on) with @Video 1 = a grey-box 3D blockout rendered in Blender (camera path, framing, blocking, environment geometry, timing) and @Image 1–3 = interior, character and exterior references, and a long structured prompt: Subject (what each @ reference is), Action as timecoded beats (\"0.0–7.8s — Arrival: …\"), Camera (\"preserve the blockout's exact shot sizes, angles, positions, handheld movement…\"), Style, Constraints (event order, consistency rules, what must not happen), the audio list and a \"No …\" list. (Note the workflow asks for 28 s in the prompt but sets duration 15: the long sequence needs shots.)\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Fuobe already has: Seedance 2.5 reference-to-video with clips and images in the cloud (Cinema sends ref2v takes there: src/lib/catalog/cinema.ts clipInputs / takesClips), the Cinema 3D scene (src/lib/scene3d.ts fly camera, the three.js viewer, capture → recompose), Image-to-3D and Rig & animate (3d-plus), Wan 2.2 Fun VACE depth restyle on the open engine (video-restyle-wan22-fun-vace, video-segment-resample), Video Depth Anything, the Cinema Director prompt compiler, Elements / Soul Cast / Soul Location references, the extend chain for long takes.\nBuild \"Blockout to film\" in Cinema Studio (and as a Canvas template):\n1. Blockout input, two ways: upload a grey-box render (any 3D app: Blender, Unreal, Cinema 4D) or build one in the browser: in the 3D scene viewer place primitives (boxes, planes, a doorway, stairs), a posable mannequin (reuse the rigged figure from Rig & animate if it fits), import a mesh from Image-to-3D, set camera keyframes on a timeline (position, look-at, lens, handheld shake amount), add timing markers (\"lights out\", \"door kicked\"), and render the grey-box video plus its depth video in the browser (or as a CPU ComfyUI job if that's simpler).\n2. A beat timeline: markers from the blockout become beats; each beat gets words; Fuobe compiles the prompt in the workflow's structure (Subject with each @ reference's role, Action as \"a–b s — beat: …\", Camera \"follow the blockout exactly…\", Style, Constraints, audio list, \"No …\" list), with @ tags matching the attached references; editable before running.\n3. References: drag in location / character / prop stills from Elements, Soul Cast, Soul Location or the Library; their role sentence is written for you.\n4. Render, per engine:\n - Cloud: Seedance 2.5 reference mode (the blockout as the reference video, the stills as references, audio on), priced before running. CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does. Longer than the model's limit: split at beat markers into shots that each carry the blockout segment, chained for continuity (Cinema's extend chain), then joined.\n - Open engine (your GPU): the blockout's depth drives Wan 2.2 Fun VACE depth with a first frame drawn from the references (Qwen edit or Fuobe Soul from the first blockout frame + references), in 81-frame windows chained and joined; say plainly it follows depth and timing but not the dialogue or audio (add sound afterwards with Fuobe's SFX / v2a tools, offered as a next step).\n5. Placements: Cinema Studio → \"Blockout\" in the take composer (upload or build), the 3D scene viewer gains \"Use as blockout\", a Canvas \"Blockout → film\" template, Assist / MCP accepts a blockout video and beats. Include a short built-in example scene (a simple corridor and door, made by Fuobe, not the horror assets).\nTests (prompt compiler with beats and @ roles, shot splitting at markers, depth and window maths, payloads), ComfyUI validation of anything new, browser checks of the blockout builder and the composer at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "The owner saw Comfy's \"Horror scene\" workflow (a copy may be at @EXT@/blockout/Horror_Scene_SD2.5.json once the owner shares it again: read it as data and never commit it. If it is missing, carry on: everything the package needs from it is described below): one ByteDance2ReferenceNodeV2 call (Seedance 2.5, task_type \"reference\", 720p 16:9, audio on) with @Video 1 = a grey-box 3D blockout rendered in Blender (camera path, framing, blocking, environment geometry, timing) and @Image 1–3 = interior, character and exterior references, and a long structured prompt: Subject (what each @ reference is), Action as timecoded beats (\"0.0–7.8s — Arrival: …\"), Camera (\"preserve the blockout's exact shot sizes, angles, positions, handheld movement…\"), Style, Constraints (event order, consistency rules, what must not happen), the audio list and a \"No …\" list. (Note the workflow asks for 28 s in the prompt but sets duration 15: the long sequence needs shots.)\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Fuobe already has: Seedance 2.5 reference-to-video with clips and images in the cloud (Cinema sends ref2v takes there: src/lib/catalog/cinema.ts clipInputs / takesClips), the Cinema 3D scene (src/lib/scene3d.ts fly camera, the three.js viewer, capture → recompose), Image-to-3D and Rig & animate (3d-plus), Wan 2.2 Fun VACE depth restyle on the open engine (video-restyle-wan22-fun-vace, video-segment-resample), Video Depth Anything, the Cinema Director prompt compiler, Elements / Soul Cast / Soul Location references, the extend chain for long takes.\nBuild \"Blockout to film\" in Cinema Studio (and as a Canvas template):\n1. Blockout input, two ways: upload a grey-box render (any 3D app: Blender, Unreal, Cinema 4D) or build one in the browser: in the 3D scene viewer place primitives (boxes, planes, a doorway, stairs), a posable mannequin (reuse the rigged figure from Rig & animate if it fits), import a mesh from Image-to-3D, set camera keyframes on a timeline (position, look-at, lens, handheld shake amount), add timing markers (\"lights out\", \"door kicked\"), and render the grey-box video plus its depth video in the browser (or as a CPU ComfyUI job if that's simpler).\n2. A beat timeline: markers from the blockout become beats; each beat gets words; Fuobe compiles the prompt in the workflow's structure (Subject with each @ reference's role, Action as \"a–b s — beat: …\", Camera \"follow the blockout exactly…\", Style, Constraints, audio list, \"No …\" list), with @ tags matching the attached references; editable before running.\n3. References: drag in location / character / prop stills from Elements, Soul Cast, Soul Location or the Library; their role sentence is written for you.\n4. Render, per engine:\n - Cloud: Seedance 2.5 reference mode (the blockout as the reference video, the stills as references, audio on), priced before running. CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does. Longer than the model's limit: split at beat markers into shots that each carry the blockout segment, chained for continuity (Cinema's extend chain), then joined.\n - Open engine (your GPU): the blockout's depth drives Wan 2.2 Fun VACE depth with a first frame drawn from the references (Qwen edit or Fuobe Soul from the first blockout frame + references), in 81-frame windows chained and joined; say plainly it follows depth and timing but not the dialogue or audio (add sound afterwards with Fuobe's SFX / v2a tools, offered as a next step).\n5. Placements: Cinema Studio → \"Blockout\" in the take composer (upload or build), the 3D scene viewer gains \"Use as blockout\", a Canvas \"Blockout → film\" template, Assist / MCP accepts a blockout video and beats. Include a short built-in example scene (a simple corridor and door, made by Fuobe, not the horror assets).\nTests (prompt compiler with beats and @ roles, shot splitting at markers, depth and window maths, payloads), ComfyUI validation of anything new, browser checks of the blockout builder and the composer at 1440 and 390 px, light and dark, in demo mode.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"w2s-w3": {
"title": "Skills W3: Assist saves and runs skills",
"phase": "Skills",
- "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W2 (the review screen).\n\n**Goal.** A chat that finally worked becomes a skill, and next time Assist (Claude, Ollama or the offline planner) fills its inputs and shows one priced card instead of planning from scratch. MCP clients get the same tool for free.\n\n**User story.** \"The chat made the dub-and-caption flow I wanted. I click Save as skill. Next week I type '/dub-and-caption' with a new clip, or just 'do the dub thing for this', and approve one card.\"\n\n**Save this chat as a skill (recording and parameter detection from a chat).**\n- Entry: the Assist header, beside **Schedule** (`src/components/assist-view.tsx` about line 163; lucide `BookmarkPlus`, label hidden below `lg` like Schedule), shown when the chat has a gated call that ran; and the chat ⋯ menu (`src/components/assist/chat-menu.tsx`): \"Save as skill…\".\n- `draftFromThread(threadId)`: read `assist_threads.messages_json` and pair each assistant `tool_use` with its `tool_result` by `tool_use_id`. Keep calls to gated tools (`generate`, `create_storyboard`, `katana`, the studio tools in STUDIO_ROUTES) whose result isn't `is_error` and names started ids. This covers auto-run calls, which have no approval card in `items_json`. Drop declined calls (is_error \"The user declined…\"), errors and calls whose generations all failed. When the same tool was called again for the same output kind with changes, keep the last (a heuristic).\n- `after` inside one `generate` call already makes chains. Across calls, an input that equals an output URL of an earlier kept call is a step reference: generate → generate merges into one pipeline, mapping the field to a chain slot (`images` → images, `end_image` → endImage, `video` → video, `audio` → audio, `voice_audio` → voiceAudio, `background_audio` → audio2). A cross-call reference into or out of a studio tool is refused in this package (\"Skills can't wait for a studio step yet\", W7). `create_storyboard` stays one tool step. The user's attachments become media candidates; the user's words go to the naming pass.\n- Then W2's review screen.\n\n**`run_skill` tool** (new `src/server/assist/skill-tools.ts`, pushed in `src/server/assist/tools.ts` beside `CONTEXT_TOOLS` and `STUDIO_TOOLS`, line 543): input `{ name, values?, rows? (≤ 50), engine? }`; gated; `plan` = `estimateRecipe` (atomic for a pipeline); `title` = the skill's title; `place` = the studio for a tool step; `run` = `runRecipe`. Bad values come back as an error listing the inputs (\"needs product (image) and name (text)\"). Because it's gated and in `TOOLS`, MCP lists it and `estimate_job` prices it (`jobTools()` in `src/server/mcp.ts`) with no MCP change beyond bumping `SERVER_INFO.version` to 1.3.0 and one sentence in its instructions.\n- Context: the skill index (`src/server/assist/context.ts`, SKILL_INDEX 60) marks recipe skills \"(runs by itself: run_skill with product, name)\". Assist's system prompt: when a saved skill with a recipe fits, call `run_skill` with values from the message and attachments instead of re-planning.\n- Offline planner (`offline` in `src/server/assist/agent.ts`, which already receives the chat's loaded skills): when a loaded skill (`/name` or a project skill) has a recipe, fill its media inputs from the message's attachments by kind and order, its first text input from the words, the rest from defaults or examples, and emit `run_skill`; if a required input is missing, reply naming it. No LLM.\n\n**Storage.** None.\n\n**Tests.** `tests/assist-skill-tools.test.ts`: `draftFromThread` on a stored thread with an approved `generate` chain, a declined call, an auto-run call (no card) and a failed call; a cross-call merge; a cross-call studio reference refused; `run_skill` plan and run in demo mode; the offline planner turns \"/lamp-turntable\" plus an attachment into a `run_skill` card. `tests/mcp.test.ts`: `tools/list` has `run_skill`, `estimate_job`'s enum includes it, version 1.3.0. Browser (extend `tests/e2e/assist-flows.mjs`): save a chat as a skill, then `/skill` plus an attachment in a new chat → approval card → run; 1440 and 390 px, light and dark.\n\n**Demo mode.** All of it works on the offline planner and the mock provider. Live Claude and Ollama behaviour stays unverified (docs/STATUS.md, the 'Assist on Claude' and 'Assist on a local model' rows), and small local models follow tool instructions less reliably.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W2 (the review screen).\n\n**Goal.** A chat that finally worked becomes a skill, and next time Assist (Claude, Ollama or the offline planner) fills its inputs and shows one priced card instead of planning from scratch. MCP clients get the same tool for free.\n\n**User story.** \"The chat made the dub-and-caption flow I wanted. I click Save as skill. Next week I type '/dub-and-caption' with a new clip, or just 'do the dub thing for this', and approve one card.\"\n\n**Save this chat as a skill (recording and parameter detection from a chat).**\n- Entry: the Assist header, beside **Schedule** (`src/components/assist-view.tsx` about line 163; lucide `BookmarkPlus`, label hidden below `lg` like Schedule), shown when the chat has a gated call that ran; and the chat ⋯ menu (`src/components/assist/chat-menu.tsx`): \"Save as skill…\".\n- `draftFromThread(threadId)`: read `assist_threads.messages_json` and pair each assistant `tool_use` with its `tool_result` by `tool_use_id`. Keep calls to gated tools (`generate`, `create_storyboard`, `katana`, the studio tools in STUDIO_ROUTES) whose result isn't `is_error` and names started ids. This covers auto-run calls, which have no approval card in `items_json`. Drop declined calls (is_error \"The user declined…\"), errors and calls whose generations all failed. When the same tool was called again for the same output kind with changes, keep the last (a heuristic).\n- `after` inside one `generate` call already makes chains. Across calls, an input that equals an output URL of an earlier kept call is a step reference: generate → generate merges into one pipeline, mapping the field to a chain slot (`images` → images, `end_image` → endImage, `video` → video, `audio` → audio, `voice_audio` → voiceAudio, `background_audio` → audio2). A cross-call reference into or out of a studio tool is refused in this package (\"Skills can't wait for a studio step yet\", W7). `create_storyboard` stays one tool step. The user's attachments become media candidates; the user's words go to the naming pass.\n- Then W2's review screen.\n\n**`run_skill` tool** (new `src/server/assist/skill-tools.ts`, pushed in `src/server/assist/tools.ts` beside `CONTEXT_TOOLS` and `STUDIO_TOOLS`, line 543): input `{ name, values?, rows? (≤ 50), engine? }`; gated; `plan` = `estimateRecipe` (atomic for a pipeline); `title` = the skill's title; `place` = the studio for a tool step; `run` = `runRecipe`. Bad values come back as an error listing the inputs (\"needs product (image) and name (text)\"). Because it's gated and in `TOOLS`, MCP lists it and `estimate_job` prices it (`jobTools()` in `src/server/mcp.ts`) with no MCP change beyond bumping `SERVER_INFO.version` to 1.3.0 and one sentence in its instructions.\n- Context: the skill index (`src/server/assist/context.ts`, SKILL_INDEX 60) marks recipe skills \"(runs by itself: run_skill with product, name)\". Assist's system prompt: when a saved skill with a recipe fits, call `run_skill` with values from the message and attachments instead of re-planning.\n- Offline planner (`offline` in `src/server/assist/agent.ts`, which already receives the chat's loaded skills): when a loaded skill (`/name` or a project skill) has a recipe, fill its media inputs from the message's attachments by kind and order, its first text input from the words, the rest from defaults or examples, and emit `run_skill`; if a required input is missing, reply naming it. No LLM.\n\n**Storage.** None.\n\n**Tests.** `tests/assist-skill-tools.test.ts`: `draftFromThread` on a stored thread with an approved `generate` chain, a declined call, an auto-run call (no card) and a failed call; a cross-call merge; a cross-call studio reference refused; `run_skill` plan and run in demo mode; the offline planner turns \"/lamp-turntable\" plus an attachment into a `run_skill` card. `tests/mcp.test.ts`: `tools/list` has `run_skill`, `estimate_job`'s enum includes it, version 1.3.0. Browser (extend `tests/e2e/assist-flows.mjs`): save a chat as a skill, then `/skill` plus an attachment in a new chat → approval card → run; 1440 and 390 px, light and dark.\n\n**Demo mode.** All of it works on the offline planner and the mock provider. Live Claude and Ollama behaviour stays unverified (docs/STATUS.md, the 'Assist on Claude' and 'Assist on a local model' rows), and small local models follow tool instructions less reliably.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"w2s-w4": {
"title": "Skills W4: Skills on a schedule and in the CLI",
"phase": "Skills",
- "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W3 (`run_skill`).\n\n**Goal.** Run a fixed procedure on a timer or from a terminal, deterministically, with the same prices and caps.\n\n**User story.** \"Every Monday my 'weekly promo' skill runs on my newest upload with no LLM in the loop. A teammate runs it from the CLI with a CSV of 20 products.\"\n\n**Schedules.**\n- The schedule dialog (`src/components/assist/schedule-dialog.tsx`) gets **What to run: A request** (today) | **A skill**: a picker of recipe skills plus W1's form (one set of values). Each media input can be a fixed file or **Newest upload of this kind (when it runs)**, read at run time from the newest upload asset of that kind.\n- A skill run is a chat like today, so ask-first cards, the auto-run cap (default $2, DEFAULT_SCHEDULE_CAP_USD), `last_thread_id` and summaries keep working. `startSchedule` (`src/server/assist/schedules.ts`) already takes a `model` override: pass a fixed `ModelCall` that returns one `run_skill` `tool_use` with the task's values, then an `end_turn` reply. No LLM is called.\n- Deleting or renaming a skill pauses its tasks with the reason, as a deleted project does (extend `renameSkillRefs` in `src/server/skills.ts`).\n\n**Storage.** One migration, the next entry in `MIGRATIONS` (`src/server/db.ts`; it was index 23 at `7d7a765`, but ids are positional and other packages append migrations too: take the next free entry and let the migration tests decide): `ALTER TABLE assist_schedules ADD COLUMN skill_json TEXT` holding `{ name, values, sources }`. Add `skill_json` to the `assist_schedules` entry of `ASSET_REFS` in `src/server/generations.ts` (values hold file URLs) and document the migration in `docs/ARCHITECTURE.md`.\n\n**CLI** (`bin/lib/commands.mjs`, `bin/lib/skills.mjs`, `docs/cli.md`).\n- `fuobe skills params <name>`: the inputs as text.\n- `fuobe skills estimate <name> -p key=value… [--rows rows.csv] [--engine open|cloud]`.\n- `fuobe skills run <name> -p key=value… [--rows rows.csv] [--engine …] [--wait] [--out dir] [--yes]`: local files in `-p` are uploaded first, as `generate --image` does (estimate uses the same stand-ins); it asks \"Run 20 for $12.40? [y/N]\" unless `--yes` or `--json`; `--wait` and `--out` reuse generate's wait and download path.\n- `fuobe skills export <name> [--examples] [--out file.zip]`: W1's zip.\n\n**MCP.** Nothing beyond W3.\n\n**Tests.** `tests/assist-schedules.test.ts`: a skill task with ask-first makes a card with the recipe's price; auto within the cap runs and over it waits; \"newest upload\" resolves at run time; a deleted skill pauses its task; the migration adds the column on an old database; the `ASSET_REFS` coverage test passes. `tests/cli.test.ts` / `tests/cli-run.test.ts`: `-p` parsing, CSV, upload stand-ins, the confirmation, `--json`. Browser: the schedule dialog's skill mode at 1440 and 390 px, light and dark.\n\n**Demo mode.** Scheduled skill runs work in demo mode on the mock provider.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W3 (`run_skill`).\n\n**Goal.** Run a fixed procedure on a timer or from a terminal, deterministically, with the same prices and caps.\n\n**User story.** \"Every Monday my 'weekly promo' skill runs on my newest upload with no LLM in the loop. A teammate runs it from the CLI with a CSV of 20 products.\"\n\n**Schedules.**\n- The schedule dialog (`src/components/assist/schedule-dialog.tsx`) gets **What to run: A request** (today) | **A skill**: a picker of recipe skills plus W1's form (one set of values). Each media input can be a fixed file or **Newest upload of this kind (when it runs)**, read at run time from the newest upload asset of that kind.\n- A skill run is a chat like today, so ask-first cards, the auto-run cap (default $2, DEFAULT_SCHEDULE_CAP_USD), `last_thread_id` and summaries keep working. `startSchedule` (`src/server/assist/schedules.ts`) already takes a `model` override: pass a fixed `ModelCall` that returns one `run_skill` `tool_use` with the task's values, then an `end_turn` reply. No LLM is called.\n- Deleting or renaming a skill pauses its tasks with the reason, as a deleted project does (extend `renameSkillRefs` in `src/server/skills.ts`).\n\n**Storage.** One migration, the next entry in `MIGRATIONS` (`src/server/db.ts`; it was index 23 at `7d7a765`, but ids are positional and other packages append migrations too: take the next free entry and let the migration tests decide): `ALTER TABLE assist_schedules ADD COLUMN skill_json TEXT` holding `{ name, values, sources }`. Add `skill_json` to the `assist_schedules` entry of `ASSET_REFS` in `src/server/generations.ts` (values hold file URLs) and document the migration in `docs/ARCHITECTURE.md`.\n\n**CLI** (`bin/lib/commands.mjs`, `bin/lib/skills.mjs`, `docs/cli.md`).\n- `fuobe skills params <name>`: the inputs as text.\n- `fuobe skills estimate <name> -p key=value… [--rows rows.csv] [--engine open|cloud]`.\n- `fuobe skills run <name> -p key=value… [--rows rows.csv] [--engine …] [--wait] [--out dir] [--yes]`: local files in `-p` are uploaded first, as `generate --image` does (estimate uses the same stand-ins); it asks \"Run 20 for $12.40? [y/N]\" unless `--yes` or `--json`; `--wait` and `--out` reuse generate's wait and download path.\n- `fuobe skills export <name> [--examples] [--out file.zip]`: W1's zip.\n\n**MCP.** Nothing beyond W3.\n\n**Tests.** `tests/assist-schedules.test.ts`: a skill task with ask-first makes a card with the recipe's price; auto within the cap runs and over it waits; \"newest upload\" resolves at run time; a deleted skill pauses its task; the migration adds the column on an old database; the `ASSET_REFS` coverage test passes. `tests/cli.test.ts` / `tests/cli-run.test.ts`: `-p` parsing, CSV, upload stand-ins, the confirmation, `--json`. Browser: the schedule dialog's skill mode at 1440 and 390 px, light and dark.\n\n**Demo mode.** Scheduled skill runs work in demo mode on the mock provider.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current local-LLM code first. src/server/llm (with /api/llm and Settings -> AI helper) now covers Ollama, LM Studio, Unsloth Studio and any OpenAI-compatible server, and src/server/providers/llm.ts goes through it (probeOllama is an alias of probeLocal). Wherever this brief says Ollama, use that local layer, and say 'a local model' in the UI.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"n7-7-exact-orbits": {
"title": "N7 7: Exact orbits in DoP, Cinema moves, Image to 3D and Canvas",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nEXACT ORBIT AND THE CLOUD RULE: Exact orbit is not built on WorldCast or Regenerate. It is a camera-path feature like N7-5's merged Fly path: on the open engine it is Uni3C (wan21-i2v-uni3c-path), and in the cloud it is hosted H3 Max camera-controls (with views: minimax-h3-max ref2v or FLUX 3 Max keyframes), as N7-5 and N7-6 already do. The ban above covers n7-9's oss-worldcast, which gets no cloud route. The UI says what each engine runs.\n\nGoal. Orbits are already a pick in Fuobe DoP, Cinema's Director and Image to 3D, but they follow a LoRA's or a prompt's idea of an orbit. Add an \"Exact\" switch so the move follows numbers: degrees, direction, height tilt and a radius pulse, on both engines, reusing N7-5's library, cloud route and Uni3C graph. Research: new-models-7.md §3.10 rows 3-5.\n\nWhere it lands (exact spots).\n- Fuobe DoP / Motions: the Orbit category (`src/lib/catalog/motions.ts` L94-102; `src/app/(studio)/motions/page.tsx`): an \"Exact\" switch on 360 Orbit, Arc Left, Arc Right and Lazy Orbit with degrees (30-360), direction (clockwise / counter-clockwise seen from above), tilt (0-20°) and pulse (none / 25%).\n- Cinema's Director: the orbit moves (drone-orbit L363, arc-left L370, arc-right L372, bullet-time L367 in `src/lib/catalog/cinema.ts`; `CINEMA_CAMERA_LORA` is null for them, L606-615): the same switch in the move picker (`src/components/cinema/camera-moves.tsx`).\n- Image to 3D (`src/app/(studio)/image-to-3d/page.tsx`; `src/lib/av/model3d.ts`): \"Film it photoreal\" next to \"Animate the spin\".\n- Canvas (`src/lib/catalog/canvas.ts` `NODE_SPECS` L221): a \"Camera path\" node (preset or keys) and a \"Fly around\" node (image + optional views + path -> video).\n- Assist / MCP: a `fly_around` tool (`src/server/assist/studio-tools.ts`).\n\nOpen engine.\n- Automatic depth with the 3D scene's model (`oss-scene-moge`, MoGe 2, MIT) -> the browser point cloud (`buildPointCloud`, `src/lib/scene3d.ts` L414) -> N7-5's `recordPath` along the preset -> `wan21-i2v-uni3c-path`.\n- Image to 3D: record the finished GLB (Pixal3D or TRELLIS.2, after the server's GLB finish) or the TripoSplat result along the path as the render instead of a point cloud.\n- Canvas and Assist run without a browser view, so they need a server-side render. Option A: pin Camera H3 Bruxos (NyckM/3d-Camera-control-H3-Minimax @ 36c4218a2561328436d440fa9134631ee515471b, Apache-2.0, no Python dependencies) and use `BruxosH3Camera` Depth Warp from core `MoGeInference`; its output is Meridian-shaped (73 / 90 / 107 / 124 ... frames at 24 fps, grey-128 holes), so resample to 81 frames at 16 fps and turn grey holes black. Option B: a small headless point-cloud renderer in Fuobe's server. Option A can't be /prompt-validated here: the shared server lacks the Bruxos pack and agents never install packs. Build option B (no new pack), and record option A in the report as an alternative the owner can try after installing the pinned pack.\n- The ostris Wan 2.2 orbit LoRAs stay as the \"Loose\" choice.\n\nCloud engine. H3 Max camera-controls (N7-5) with the preset as keyframes; with reference views (Canvas \"Fly around\" with views), `minimax-h3-max` ref2v or FLUX 3 Max keyframes as in N7-6. 5 s at 768P = $0.40 at list price.\n\nTests: Exact settings -> keys; the DoP plan, the Cinema plan with Exact on both engines, the Image to 3D plan; Canvas node types, ports and outputs; the Assist tool schema; (if option A) the Bruxos pin in `install-comfyui.sh` and its licence row in `NODE_PACKS`.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Exact switch and its controls on the Motions page and in Cinema's move picker; \"Film it photoreal\" in Image to 3D; the two Canvas nodes.\n\nWhat can't be verified here: GPU runs and paid calls; whether the Bruxos pack loads on Fuobe's pin.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nEXACT ORBIT AND THE CLOUD RULE: Exact orbit is not built on WorldCast or Regenerate. It is a camera-path feature like N7-5's merged Fly path: on the open engine it is Uni3C (wan21-i2v-uni3c-path), and in the cloud it is hosted H3 Max camera-controls (with views: minimax-h3-max ref2v or FLUX 3 Max keyframes), as N7-5 and N7-6 already do. The ban above covers n7-9's oss-worldcast, which gets no cloud route. The UI says what each engine runs.\n\nGoal. Orbits are already a pick in Fuobe DoP, Cinema's Director and Image to 3D, but they follow a LoRA's or a prompt's idea of an orbit. Add an \"Exact\" switch so the move follows numbers: degrees, direction, height tilt and a radius pulse, on both engines, reusing N7-5's library, cloud route and Uni3C graph. Research: new-models-7.md §3.10 rows 3-5.\n\nWhere it lands (exact spots).\n- Fuobe DoP / Motions: the Orbit category (`src/lib/catalog/motions.ts` L94-102; `src/app/(studio)/motions/page.tsx`): an \"Exact\" switch on 360 Orbit, Arc Left, Arc Right and Lazy Orbit with degrees (30-360), direction (clockwise / counter-clockwise seen from above), tilt (0-20°) and pulse (none / 25%).\n- Cinema's Director: the orbit moves (drone-orbit L363, arc-left L370, arc-right L372, bullet-time L367 in `src/lib/catalog/cinema.ts`; `CINEMA_CAMERA_LORA` is null for them, L606-615): the same switch in the move picker (`src/components/cinema/camera-moves.tsx`).\n- Image to 3D (`src/app/(studio)/image-to-3d/page.tsx`; `src/lib/av/model3d.ts`): \"Film it photoreal\" next to \"Animate the spin\".\n- Canvas (`src/lib/catalog/canvas.ts` `NODE_SPECS` L221): a \"Camera path\" node (preset or keys) and a \"Fly around\" node (image + optional views + path -> video).\n- Assist / MCP: a `fly_around` tool (`src/server/assist/studio-tools.ts`).\n\nOpen engine.\n- Automatic depth with the 3D scene's model (`oss-scene-moge`, MoGe 2, MIT) -> the browser point cloud (`buildPointCloud`, `src/lib/scene3d.ts` L414) -> N7-5's `recordPath` along the preset -> `wan21-i2v-uni3c-path`.\n- Image to 3D: record the finished GLB (Pixal3D or TRELLIS.2, after the server's GLB finish) or the TripoSplat result along the path as the render instead of a point cloud.\n- Canvas and Assist run without a browser view, so they need a server-side render. Option A: pin Camera H3 Bruxos (NyckM/3d-Camera-control-H3-Minimax @ 36c4218a2561328436d440fa9134631ee515471b, Apache-2.0, no Python dependencies) and use `BruxosH3Camera` Depth Warp from core `MoGeInference`; its output is Meridian-shaped (73 / 90 / 107 / 124 ... frames at 24 fps, grey-128 holes), so resample to 81 frames at 16 fps and turn grey holes black. Option B: a small headless point-cloud renderer in Fuobe's server. Option A can't be /prompt-validated here: the shared server lacks the Bruxos pack and agents never install packs. Build option B (no new pack), and record option A in the report as an alternative the owner can try after installing the pinned pack.\n- The ostris Wan 2.2 orbit LoRAs stay as the \"Loose\" choice.\n\nCloud engine. H3 Max camera-controls (N7-5) with the preset as keyframes; with reference views (Canvas \"Fly around\" with views), `minimax-h3-max` ref2v or FLUX 3 Max keyframes as in N7-6. 5 s at 768P = $0.40 at list price.\n\nTests: Exact settings -> keys; the DoP plan, the Cinema plan with Exact on both engines, the Image to 3D plan; Canvas node types, ports and outputs; the Assist tool schema; (if option A) the Bruxos pin in `install-comfyui.sh` and its licence row in `NODE_PACKS`.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the Exact switch and its controls on the Motions page and in Cinema's move picker; \"Film it photoreal\" in Image to 3D; the two Canvas nodes.\n\nWhat can't be verified here: GPU runs and paid calls; whether the Bruxos pack loads on Fuobe's pin.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"n7-9-worldcast-worker": {
"title": "N7 9: WorldCast on your GPU: the Fuobe Fly-Around Original's open half",
"phase": "New models",
- "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Put the real WorldCast behind the Fly path (N7-5), Turnaround / Fly around (N7-6) and Exact orbit (N7-7) buttons on the open engine, so the back and sides follow the user's own reference views. WorldCast has no ComfyUI port and needs custom DiT code, so the first step is a worker; a Fuobe node pack can follow if the quality is worth it. Research: new-models-7.md §3.1-§3.6, §3.8, §3.11.\n\nThe worker (§3.6 option 1).\n- Contract in `docs/workers/worldcast.md`, written like `docs/workers/tribe-v2.md`: an HTTP service on the user's GPU, outside ComfyUI. `POST /cases` (multipart: first_frame.png, person_mask.png, render.mp4, render_mask.mp4, cam_info.json with 81 camera-to-world poses in OpenCV convention and a 3x3 pixel intrinsic, up to four anchors {side, image, mask, azimuth}, an optional anchors_aligned_camera_info.json, prompt, seed, steps 50, cfg 5.0, shift 2.0, height 832, width 480) -> a job id; `GET /jobs/{id}` -> status and progress; `GET /jobs/{id}/video` -> the MP4 (81 frames at 15 fps). A setting `WORLDCAST_URL` (Settings -> Open-source engine, beside the isolated worker URL).\n- A thin reference server in `workers/worldcast/` that imports PixCtrol/WorldCast @ 7ccf2e0ded1238bf6dea1b285c29bcf322e337cb (Apache-2.0) in its own virtualenv (the README's verified combination: torch 2.8.0+cu128 with transformers 5.8.1). Read WorldCast's code as data, at the pinned commit; never install or run it here. Weights: ly56/worldcast @ 27635f27a2f9414dd8b78542eb390b565a288a53 (`checkpoints/base_dit.safetensors` 8,401,611,192 B and `checkpoints/worldcast_bank.safetensors` 1,982,937,976 B; both from the same release) and Wan-AI/Wan2.1-I2V-14B-720P @ 8823af45fcc58a8aa999a54b04be9abc7d2aac98 (82.22 GB). The worker's README tells the user to check it first on `demo_case_traj5.json` on their own GPU; test Fuobe's client against a mock server only.\n\nFuobe prepares the case. Default depth: MoGe 2 or DA3 metric-large, chosen because they are already pinned and small. Also offer the paper's own Depth Pro and VGGT-Omega as options, each with its licence recorded as data (Apple research-only; FAIR-NC, a gated download that needs the HF token) and its switch in Settings -> Models & licences, like every other model.\n- Depth: MoGe 2 (MIT, the 3D scene's `oss-scene-moge`) or Depth Anything 3 metric-large (Apache-2.0, Comfy-Org/Depth-Anything-3 @ 8265be07).\n- Masks: core `SAM3_Detect` with the pinned `sam3.1_multiplex_fp16`.\n- Path: `framePoses` from N7-5's library; `render.mp4` / `render_mask.mp4` from N7-5's recorder (mask 0 = covered, 255 = hole).\n- Anchors: the element's or sheet's views with azimuths in WorldCast's convention (front 0°, right_side about 90°, back about 180°, left_side about 270°, `left_sign` -1); anchor poses on a ring at the subject distance (a guess), or leave `anchors_aligned_camera_info.json` out (the code then skips anchor Plücker rays; quality impact unknown).\n- The `no_padding_black/` crops are not documented: read them from `demo_case/` and `diffsynth/pipelines/worldcast_pipeline.py` L842-869 before building.\n\nFuobe side.\n- An open ModelDef `oss-worldcast` routed to the worker. The three buttons prefer it when `WORLDCAST_URL` answers, and otherwise fall back to the Uni3C graph / Frames chain with a line saying so (\"Runs on Uni3C: add a WorldCast worker (48 GB+) for sides that match your photos\").\n- Output is portrait 480 x 832 at 15 fps; offer RIFE to 24 fps and the existing upscalers after it.\n\nLicences as information (§3.5): WorldCast weights Apache-2.0 with the note that Stage 1 trained on SpatialVID (CC BY-NC-SA 4.0) \"strictly for academic research purposes\" by the authors' statement; Wan 2.1 720P Apache-2.0; MoGe 2 MIT; DA3 Apache-2.0; SAM 3.1 SAM License. VGGT-Omega (FAIR-NC, gated) and Depth Pro (Apple research-only) recorded the same way, with the admin's switch.\n\nTests: the case builder (files, shapes, matrix conventions, the side -> azimuth map); the worker client against a mock server (submit, poll, download, errors); the fallback line when no worker answers; the ModelDef's visibility.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the worker URL row in Settings; the three buttons' engine line with and without a worker.\n\nWhat can't be verified here: everything on the GPU: at least 48 GB, an 82 GB base download, an unknown run time (20-40 min per clip on one 80 GB card is a guess), quality with DA3 / MoGe depth instead of Depth Pro, and quality without aligned anchor cameras.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "CLOUD, under the owner's rule (they chose GPU-only for DBS rather than a different hosted model): features built on Open-H3-Regenerate-2K and on WorldCast are GPU-only, because nobody hosts those models; do NOT route them to fal's H3 Max camera-controls, FLUX 3 Max keyframes or H3 2K-at-generation as stand-ins. Two things are fine: MOSS-Image is hosted on fal (fal-ai/moss-image, /lora), so it gets a cloud route; and where a feature already runs on fal's MiniMax H3 (Genjutsu / Character Swap Studio cloud swaps), asking that same hosted model for a higher resolution it offers is the same model, not a stand-in. SHARED PIECES: if the base already contains a camera-path editor / fly path (n7-5), a finishing ladder in Upscale (archive-restore or n7-3), or turnaround stills (qma-angles), reuse and extend them instead of building a second one.\n\nGoal. Put the real WorldCast behind the Fly path (N7-5), Turnaround / Fly around (N7-6) and Exact orbit (N7-7) buttons on the open engine, so the back and sides follow the user's own reference views. WorldCast has no ComfyUI port and needs custom DiT code, so the first step is a worker; a Fuobe node pack can follow if the quality is worth it. Research: new-models-7.md §3.1-§3.6, §3.8, §3.11.\n\nThe worker (§3.6 option 1).\n- Contract in `docs/workers/worldcast.md`, written like `docs/workers/tribe-v2.md`: an HTTP service on the user's GPU, outside ComfyUI. `POST /cases` (multipart: first_frame.png, person_mask.png, render.mp4, render_mask.mp4, cam_info.json with 81 camera-to-world poses in OpenCV convention and a 3x3 pixel intrinsic, up to four anchors {side, image, mask, azimuth}, an optional anchors_aligned_camera_info.json, prompt, seed, steps 50, cfg 5.0, shift 2.0, height 832, width 480) -> a job id; `GET /jobs/{id}` -> status and progress; `GET /jobs/{id}/video` -> the MP4 (81 frames at 15 fps). A setting `WORLDCAST_URL` (Settings -> Open-source engine, beside the isolated worker URL).\n- A thin reference server in `workers/worldcast/` that imports PixCtrol/WorldCast @ 7ccf2e0ded1238bf6dea1b285c29bcf322e337cb (Apache-2.0) in its own virtualenv (the README's verified combination: torch 2.8.0+cu128 with transformers 5.8.1). Read WorldCast's code as data, at the pinned commit; never install or run it here. Weights: ly56/worldcast @ 27635f27a2f9414dd8b78542eb390b565a288a53 (`checkpoints/base_dit.safetensors` 8,401,611,192 B and `checkpoints/worldcast_bank.safetensors` 1,982,937,976 B; both from the same release) and Wan-AI/Wan2.1-I2V-14B-720P @ 8823af45fcc58a8aa999a54b04be9abc7d2aac98 (82.22 GB). The worker's README tells the user to check it first on `demo_case_traj5.json` on their own GPU; test Fuobe's client against a mock server only.\n\nFuobe prepares the case. Default depth: MoGe 2 or DA3 metric-large, chosen because they are already pinned and small. Also offer the paper's own Depth Pro and VGGT-Omega as options, each with its licence recorded as data (Apple research-only; FAIR-NC, a gated download that needs the HF token) and its switch in Settings -> Models & licences, like every other model.\n- Depth: MoGe 2 (MIT, the 3D scene's `oss-scene-moge`) or Depth Anything 3 metric-large (Apache-2.0, Comfy-Org/Depth-Anything-3 @ 8265be07).\n- Masks: core `SAM3_Detect` with the pinned `sam3.1_multiplex_fp16`.\n- Path: `framePoses` from N7-5's library; `render.mp4` / `render_mask.mp4` from N7-5's recorder (mask 0 = covered, 255 = hole).\n- Anchors: the element's or sheet's views with azimuths in WorldCast's convention (front 0°, right_side about 90°, back about 180°, left_side about 270°, `left_sign` -1); anchor poses on a ring at the subject distance (a guess), or leave `anchors_aligned_camera_info.json` out (the code then skips anchor Plücker rays; quality impact unknown).\n- The `no_padding_black/` crops are not documented: read them from `demo_case/` and `diffsynth/pipelines/worldcast_pipeline.py` L842-869 before building.\n\nFuobe side.\n- An open ModelDef `oss-worldcast` routed to the worker. The three buttons prefer it when `WORLDCAST_URL` answers, and otherwise fall back to the Uni3C graph / Frames chain with a line saying so (\"Runs on Uni3C: add a WorldCast worker (48 GB+) for sides that match your photos\").\n- Output is portrait 480 x 832 at 15 fps; offer RIFE to 24 fps and the existing upscalers after it.\n\nLicences as information (§3.5): WorldCast weights Apache-2.0 with the note that Stage 1 trained on SpatialVID (CC BY-NC-SA 4.0) \"strictly for academic research purposes\" by the authors' statement; Wan 2.1 720P Apache-2.0; MoGe 2 MIT; DA3 Apache-2.0; SAM 3.1 SAM License. VGGT-Omega (FAIR-NC, gated) and Depth Pro (Apple research-only) recorded the same way, with the admin's switch.\n\nTests: the case builder (files, shapes, matrix conventions, the side -> azimuth map); the worker client against a mock server (submit, poll, download, errors); the fallback line when no worker answers; the ModelDef's visibility.\n\nBrowser checks: at 1440 px and 390 px wide, in light and in dark theme: the new controls render, labels and prices fit, nothing scrolls sideways, keyboard focus reaches every new control, and touch dragging works at 390 px. Here: the worker URL row in Settings; the three buttons' engine line with and without a worker.\n\nWhat can't be verified here: everything on the GPU: at least 48 GB, an 82 GB base download, an unknown run time (20-40 min per clip on one 80 GB card is a guess), quality with DA3 / MoGe depth instead of Depth Pro, and quality without aligned anchor cameras.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"hi3d-refine": {
"title": "Hi3D 1.0 (formerly Sparc3D): high-resolution geometry refinement in Image to 3D, a print-ready export, and texture back on the refined mesh",
"phase": "New models",
- "brief": "The owner shared https://www.hi3d.ai/hi3d-1-0-open-source. Facts gathered (verify them; README and LICENSE copies are in @EXT@/hi3d/, read as data; never run or install their code here): Hi3D v1.0 is Sparc3D's second stage released open: it REFINES a coarse mesh into high-resolution geometry, conditioned on a reference image of the same object (it does not make a mesh from nothing: the README's example uses Hunyuan3D-2 for the coarse mesh). Output is geometry only (no textures, materials or vertex colours), recentred and normalised to unit radius, batch size one; resolutions 512, 1024 or 1536 (sparse extraction grid), 25 scheduler steps per pass. Weights: Hugging Face hi3d-official/Hi3Dv1.0 at revision d502e938cbedc6e87aba8884614c5ca6d177a4b6, 7.74 GB (transformer_512 3.68 GB, transformer_1024 3.68 GB, vae 0.38 GB), safetensors + JSON (the loader does not unpickle). Code: github.com/hi3d-official/Hi3Dv1.0. Needs Linux, Python 3.10, an NVIDIA GPU of compute capability 8.0+ and CUDA 12.0-12.5, torch 2.5.0+cu124, flash-attn 2.7.4.post1, spconv-cu120 2.3.6; no CPU path; optional sequential CPU offload. Licence (information, not a gate; record it with its switch in Settings -> Models & licences): the Hi3D Open License Agreement 1.0: commercial use permitted; above 200,000 monthly active users or USD 1,000,000 monthly revenue notify the licensor and apply for a separate licence; commercial integrations must show 'Powered by Hi3D 1.0' linking to the official site. Fuobe's comfyui-oss-4 research noted Hi3D had no ComfyUI support.\nSTART by mapping what Fuobe has: the Image to 3D app (TRELLIS.2 single and multi-view, Pixal3D, the default since main's 10-30 work, Hunyuan3D 2.1, which is shape only: image-to-3d-hunyuan3d-21 has no paint stage, TripoSplat, text-to-3D chain, Rig & animate: src/lib/catalog for 3D, the 3d-plus work), MoGe scene meshes, the GLB viewer, and whatever GPU-worker mechanism the base has for models with no ComfyUI port (the n7-9 WorldCast worker, if merged: reuse it; otherwise choose between a small Fuobe-owned ComfyUI node pack that wraps Hi3D's Python package, pinned, so the open engine stays 'your ComfyUI', or a sidecar worker, and say why).\nBuild:\n1. Research record: the facts above verified, into the research JSON (weights pinned with sizes, licence terms, requirements).\n2. The open route: coarse mesh (from Pixal3D, TRELLIS.2 or Hunyuan3D 2.1, whichever the user picked) + the reference image -> Hi3D refine at 512 / 1024 / 1536 -> the refined mesh. Texture is not on the base: Fuobe has no Hunyuan3D-Paint graph, and TRELLIS.2's graph textures only its own shape. Ship the refined mesh as geometry only, labelled so. Check (by reading, not installing) whether core ComfyUI, TRELLIS.2's texture stage or Pixal3D's graph can take an outside mesh; if one can, add 'Texture it' as an option; if none can, write in the report which pack would be needed, as an owner step.\n3. CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): nobody hosts the open Hi3D model (check fal and Replicate to be sure); Hi3D's own closed API is a different product (v2/v3) and is not used. So Hi3D is open-engine only; the cloud engine says it runs on your GPU, and Engine mode 'Paid APIs only' hides it.\n4. Placements: Image to 3D gains 'Refine detail · Hi3D 1.0' (a toggle and a resolution choice) on the open engine, also offered on any finished 3D result ('Refine this mesh'); a 'Print-ready' export (STL / 3MF of the refined geometry, with a watertight check and the unit-scale note, because Hi3D normalises the size: let the user set the real height); the Canvas 3D node offers the refine step; Assist / MCP. Show 'Powered by Hi3D 1.0' wherever its output is shown, as its licence asks.\n5. Hardware note in the UI (Ampere-class GPU, CUDA 12.0-12.5, flash-attn; no CPU path) and in scripts/comfy/README or the worker's README with install steps (pinned).\nTests (the chain plan per engine, parameters, export scaling, licence notice), a browser check of Image to 3D at 1440 and 390 px, light and dark, in demo mode. Nothing here can run Hi3D for real (no GPU): say so.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "The owner shared https://www.hi3d.ai/hi3d-1-0-open-source. Facts gathered (verify them; README and LICENSE copies are in @EXT@/hi3d/, read as data; never run or install their code here): Hi3D v1.0 is Sparc3D's second stage released open: it REFINES a coarse mesh into high-resolution geometry, conditioned on a reference image of the same object (it does not make a mesh from nothing: the README's example uses Hunyuan3D-2 for the coarse mesh). Output is geometry only (no textures, materials or vertex colours), recentred and normalised to unit radius, batch size one; resolutions 512, 1024 or 1536 (sparse extraction grid), 25 scheduler steps per pass. Weights: Hugging Face hi3d-official/Hi3Dv1.0 at revision d502e938cbedc6e87aba8884614c5ca6d177a4b6, 7.74 GB (transformer_512 3.68 GB, transformer_1024 3.68 GB, vae 0.38 GB), safetensors + JSON (the loader does not unpickle). Code: github.com/hi3d-official/Hi3Dv1.0. Needs Linux, Python 3.10, an NVIDIA GPU of compute capability 8.0+ and CUDA 12.0-12.5, torch 2.5.0+cu124, flash-attn 2.7.4.post1, spconv-cu120 2.3.6; no CPU path; optional sequential CPU offload. Licence (information, not a gate; record it with its switch in Settings -> Models & licences): the Hi3D Open License Agreement 1.0: commercial use permitted; above 200,000 monthly active users or USD 1,000,000 monthly revenue notify the licensor and apply for a separate licence; commercial integrations must show 'Powered by Hi3D 1.0' linking to the official site. Fuobe's comfyui-oss-4 research noted Hi3D had no ComfyUI support.\nSTART by mapping what Fuobe has: the Image to 3D app (TRELLIS.2 single and multi-view, Pixal3D, the default since main's 10-30 work, Hunyuan3D 2.1, which is shape only: image-to-3d-hunyuan3d-21 has no paint stage, TripoSplat, text-to-3D chain, Rig & animate: src/lib/catalog for 3D, the 3d-plus work), MoGe scene meshes, the GLB viewer, and whatever GPU-worker mechanism the base has for models with no ComfyUI port (the n7-9 WorldCast worker, if merged: reuse it; otherwise choose between a small Fuobe-owned ComfyUI node pack that wraps Hi3D's Python package, pinned, so the open engine stays 'your ComfyUI', or a sidecar worker, and say why).\nBuild:\n1. Research record: the facts above verified, into the research JSON (weights pinned with sizes, licence terms, requirements).\n2. The open route: coarse mesh (from Pixal3D, TRELLIS.2 or Hunyuan3D 2.1, whichever the user picked) + the reference image -> Hi3D refine at 512 / 1024 / 1536 -> the refined mesh. Texture is not on the base: Fuobe has no Hunyuan3D-Paint graph, and TRELLIS.2's graph textures only its own shape. Ship the refined mesh as geometry only, labelled so. Check (by reading, not installing) whether core ComfyUI, TRELLIS.2's texture stage or Pixal3D's graph can take an outside mesh; if one can, add 'Texture it' as an option; if none can, write in the report which pack would be needed, as an owner step.\n3. CLOUD ONLY WHERE IT IS HOSTED (the owner's rule): nobody hosts the open Hi3D model (check fal and Replicate to be sure); Hi3D's own closed API is a different product (v2/v3) and is not used. So Hi3D is open-engine only; the cloud engine says it runs on your GPU, and Engine mode 'Paid APIs only' hides it.\n4. Placements: Image to 3D gains 'Refine detail · Hi3D 1.0' (a toggle and a resolution choice) on the open engine, also offered on any finished 3D result ('Refine this mesh'); a 'Print-ready' export (STL / 3MF of the refined geometry, with a watertight check and the unit-scale note, because Hi3D normalises the size: let the user set the real height); the Canvas 3D node offers the refine step; Assist / MCP. Show 'Powered by Hi3D 1.0' wherever its output is shown, as its licence asks.\n5. Hardware note in the UI (Ampere-class GPU, CUDA 12.0-12.5, flash-attn; no CPU path) and in scripts/comfy/README or the worker's README with install steps (pinned).\nTests (the chain plan per engine, parameters, export scaling, licence notice), a browser check of Image to 3D at 1440 and 390 px, light and dark, in demo mode. Nothing here can run Hi3D for real (no GPU): say so.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-1": {
"title": "Idol 1: Idol 3D in Image to 3D -> Splat (open engine, core TripoSplat nodes, Best / Quick look, photo crop)",
"phase": "New models",
- "brief": "GOAL. Add Speridlabs' Idol as a second open-engine model in Image to 3D -> Splat, named 'Idol 3D'. It runs on Fuobe's existing core TripoSplat graph with Idol's two weight files and Idol's reference sampler settings. Read docs/research/idol-9.md §2 (in and out; §2.3 same architecture as TripoSplat; §2.4 the haze), §3 (the claims: never promise seconds), §4 (weights and licences), §5.4-5.5 (the graph), §7, §8 and §9 idol-1.\n\nWEIGHTS. In scripts/comfy/library.spec.mjs KNOWN_MODELS, after the TripoSplat rows (L273-275), add two rows pinned to nynxz/Idol @ c718f2b1b95b353edd07d17e845719fc10880a44:\n- 'idol_fp16.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/diffusion_models/idol_fp16.safetensors' } (741,107,210 B, sha256 cf452146f78e23a0d34be8f9f79bcde642b9a40ef493046c8e9d5f79096f6dd0)\n- 'idol_decoder_fp16.safetensors': { folder: 'vae', url: 'https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/vae/idol_decoder_fp16.safetensors' } (576,148,658 B, sha256 c511d99eb668ec4b06d883cb6e43770bc35e3864e16e7058e8d6211ba5c509aa)\nAdd a comment saying these are a third-party conversion (ComfyUI-Idol scripts/convert.py at 4d3a4f6) of speridlabs/idol @ 2731c229 (Apache-2.0): pos_pe dropped (ComfyUI recomputes it), cast to fp16, the two decoders merged under octree./gs., and spot-checked as faithful on 10 tensor prefixes (§3, §4.1). dino_v3_vit_h (L273), flux2-vae (L230) and birefnet (L168) are already listed and shared with TripoSplat, so only 1.32 GB is new. Optional in the same package: move 'flux2-vae.safetensors' from Comfy-Org/flux2-dev to the renamed Comfy-Org/Flux-2-Dev (the old URL is a 307 redirect; same sha256 d64f3a68...), rebuild, and check that only URL strings change in workflows/comfyui/manifest.json.\n\nGRAPH. New scripts/comfy/hand-built/image-to-splat-idol.json: a copy of hand-built/image-to-splat-triposplat.json with the same node ids and these changes (§5.5):\n- 88:16 UNETLoader unet_name 'idol_fp16.safetensors' (weight_dtype default).\n- 88:11 VAELoader vae_name 'idol_decoder_fp16.safetensors'.\n- 88:6 KSampler steps 50, cfg 4.0, sampler_name 'euler', scheduler 'simple', denoise 1. Idol's CFG weight 3, in its (1+w)cond - w*uncond form, is ComfyUI cfg 4. Its rescale_t 3 is TripoSplat's built-in shift 3 (comfy/supported_models.py L1677-1679), so no ModelSamplingSD3 node is needed.\n- Photo crop branch (core nodes; my analysis): 88:101 ImageScale {image [88:2,0], upscale_method 'lanczos', width 720, height 720, crop 'disabled'}; 88:102 EmptyImage {width 1024, height 1024, batch_size 1, color 0}; 88:103 ImageCompositeMasked {destination [88:102,0], source [88:101,0], x 152, y 152, resize_source false}; 88:104 ComfySwitchNode {switch false, on_false [88:2,0], on_true [88:103,0]}; 88:24 TripoSplatConditioning image [88:104,0] (was [88:2,0]). TripoSplatPreprocessImage (88:2) is Idol's 'synthetic' 1.2 crop. Scaled to 720 and centred on a black 1024 canvas, the object spans 600 px; Idol's 'real' 1.7 crop gives 602 px. ComfySwitchNode inputs are lazy (comfy_extras/nodes_logic.py L98-111), so the branch not taken does not run.\n- 75 RenderSplat opacity_threshold 0.05 (was 0): the orbit video drops the near-transparent haze (§2.4). The saved file still has it; idol-2 prunes it.\n- 88:96 (a ComfySwitchNode whose two inputs are the same UNETLoader) can stay as it is.\n- Everything else stays as in the TripoSplat file: 99 LoadImage, the cut-out switch 88:35 (BiRefNet 88:85:81/82 or the PNG's own alpha via 88:95), 88:7 CLIPVisionLoader dino_v3_vit_h, 88:8 VAELoader flux2-vae, 88:55 VAEDecodeTripoSplat, 92 SplatToFile3D (spz), 51 SaveGLB 'fuobe/splat', 79 CreateCameraInfo orbit 35/30/2.5, 41 CreateVideo 25 fps h264, 42 SaveVideo 'fuobe/splat-orbit'.\n\nSPEC ENTRY. In scripts/comfy/library.spec.mjs, right after image-to-splat-triposplat (L3349-3372), add:\n- id 'image-to-splat-idol', title 'Image to a Gaussian splat of one object (Idol on the TripoSplat core nodes) + an orbit video', capability 'splat', handBuilt 'hand-built/image-to-splat-idol.json'.\n- bindings: TripoSplat's (image 99.image; cutout 88:35.switch; numGaussians 88:55.num_gaussians; steps and cfg 88:6; seed 88:6.seed and 88:55.seed; splatFormat 92.format; orbitFrames 75.frames; filenamePrefix 51 and 42), plus sampler: [b('88:6','sampler_name')] and photoCrop: [b('88:104','switch')].\n- outputs [{node '51', kind 'model3d', role 'splat'}, {node '42', kind 'video', role 'turntable'}]; defaults { splatFormat: 'spz', cutout: true, photoCrop: false }; limits { maxGaussians: 1048576 }; vramGb 8.\n- 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'. Keep the DINOv3 wording identical to TripoSplat's so licenceInfo (src/lib/licences.ts L296ff) finds the notice.\n- notes: the reference settings and where they come from, the Quick preset, the photo crop and how it was derived, 'about half the Gaussians are near-transparent: RenderSplat thresholds 0.05; the saved file is not pruned without the ComfyUI-Idol pack', 1.32 GB of new weights (idol_fp16 0.74, idol_decoder_fp16 0.58) plus the shared 2.46 GB, and 'VRAM: vendor peak 7.2 GB in the SDK; unmeasured in ComfyUI. Validated by /prompt only.'\nAdd 'sampler' and 'photoCrop' to BINDING_KEYS in scripts/comfy/build-library.mjs (L98-135, with a comment naming idol-9) and to the spec header's binding list. Run the builder, then validate-workflows.mjs against the shared server (core classes only; the validator makes zero-byte placeholders for the missing weights). Commit workflows/comfyui/manifest.json, the workflow file and scripts/comfy/validation-state.json. Add a row to the table in scripts/comfy/README.md next to image-to-splat-triposplat (L167).\n\nMODEL. Add a ModelDef in src/lib/catalog/models.ts right after oss-triposplat (L1380):\n- id 'oss-idol', name 'Idol 3D', vendor 'Speridlabs', family 'idol' (family is a free string, types.ts L646), kind 'model3d', badges ['new'].\n- tagline 'A Gaussian splat (.spz) of one object from one picture, plus an orbit video · TripoSplat's architecture, retrained · 8 GB GPU · Apache-2.0 · Built with DINOv3'.\n- routes [comfy('splat', 'image-to-splat-idol', 'Idol on the TripoSplat core nodes -> .spz + a 3 s orbit')].\n- options { seed: true, maxImages: 1, sliders: [{ param: 'numGaussians', label: 'Gaussians', min: 32768, max: 1048576, step: 32768, default: 262144 }, { param: 'steps', label: 'Steps', min: 10, max: 50, step: 1, default: 50 }] }.\n\nSTUDIO. src/lib/av/model3d.ts:\n- MODELS_3D.splat.open (L57): add { id: 'oss-idol', note: 'Idol 3D · one object from one picture + an orbit video · 8 GB GPU · Apache-2.0' } AFTER oss-triposplat. TripoSplat stays the default until idol-3 reports.\n- Export IDOL_PRESETS = { best: { steps: 50, sampler: 'euler', cfg: 4, numGaussians: 262144 }, quick: { steps: 20, sampler: 'dpmpp_2m', cfg: 4, numGaussians: 65536 } }, with a comment: best is Idol's reference; quick is the pack README's 'faster trade-off' and 'fast preview', quality unmeasured (idol-9.md §11).\n- Model3dInput (L91-101) gets quality?: 'quick' | 'best' and photoCrop?: boolean. In model3dRequest (L131), case 'splat', for modelId 'oss-idol' only, send params: { extra: { ...IDOL_PRESETS[quality ?? 'best'], photoCrop: !!photoCrop } }. TripoSplat requests stay byte-identical.\nsrc/components/model3d/model3d-studio.tsx:\n- When the picked model is oss-idol (open engine, Splat mode), show a two-option segmented control 'Best' / 'Quick look' (hints '50 steps · 262,144 Gaussians' / '20 steps · 65,536 Gaussians') and a switch 'It's a photo (looser crop)'. The switch starts on for a picture uploaded or dropped here and off for one handed over from a Fuobe result (a later ?image= link, idol-5). Keep both in the per-mode state, like the model pick.\n- Replace the hard-coded TripoSplat hint (L314-320) with copy that depends on the model. For Idol: 'Idol cuts the object out, builds the splat and renders an orbit video on your GPU. One object per picture.' TripoSplat keeps its two lines. No seconds anywhere.\n- The licence line already comes from the manifest (Model3dInfo.licence). Check that it reads Apache-2.0 ... Built with DINOv3.\n- On the cloud engine nothing changes: the cloud Splat list has only TripoSplat.\n\nELSEWHERE (no separate package).\n- ⌘K: ALL_MODELS_3D picks it up, and ?model=oss-idol lands on Splat on the open engine (modeOf).\n- Canvas: modelChoices (src/lib/catalog/canvas.ts L434-441) lists model3d models. Check that a 3D model node offers 'Idol 3D' with its sliders (canvas/nodes.tsx L627), and that a chain from it into a video slot picks the orbit video (pickOutput by kind, src/server/generations.ts L823-836).\n- Assist and MCP: add 'splat' to the operation lists in src/server/assist/tools.ts L93 and L254.\n- Settings -> Models & licences: the row comes from the manifest licence string, so no code change. Confirm that the DINOv3 notice and the TripoSplat MIT attribution show.\n- Demo mode: the mock provider's splat answer (src/server/providers/mock.ts L313-314) already covers op 'splat'.\n\nTESTS.\n- tests/model3d.test.ts, next to the TripoSplat block (L316-341):\n - oss-idol routes to image-to-splat-idol.\n - prepareWorkflow binds image (99), numGaussians (88:55), steps / cfg / sampler (88:6), seed on both 88:6 and 88:55, and photoCrop (88:104.switch), and keeps cutout true and spz.\n - collectOutputs gives the .spz meta {role 'splat', format 'spz'} and the turntable.\n - model3dRequest sends the Best extras by default and the Quick extras when asked, and leaves TripoSplat's request unchanged.\n - MODELS_3D.splat.open keeps TripoSplat first, and modeOf('oss-idol') works.\n- tests/idol.test.ts (or tests/comfy-library-4.test.ts):\n - the manifest entry: capability splat, defaults, limits, customNodes [], vramGb 8, models idol_fp16 0.74, idol_decoder_fp16 0.58, dino_v3_vit_h 1.68, flux2-vae 0.34 and birefnet 0.44, with the pinned nynxz URLs.\n - RenderSplat 75 opacity_threshold 0.05, the photo crop nodes and the switch wiring, KSampler 50 / 4.0 / euler.\n - licence notices ['Built with DINOv3'] (the tests/licences.test.ts L49 pattern).\n - 'Idol 3D' is unique among model and app names.\n- Then pnpm typecheck, pnpm lint, the targeted tests and the full vitest run.\n\nMUST NOT BREAK. image-to-splat-triposplat: its graph, bindings, defaults, manifest entry and tests (tests/model3d.test.ts L316-341; tests/comfy-library-4.test.ts L44, L109, L164, L325; tests/licences.test.ts L49). Also the cloud triposplat model and its CLOUD_NOTICES, the 'Idol' K-pop app (apps.ts L1486), every other workflow's validation state, and existing users of BINDING_KEYS.\n\nBROWSER. /image-to-3d?mode=splat in demo mode at 1440 and 390 px, light and dark. Pick Idol 3D on the open engine, switch between Best and Quick look, flip the photo switch, read the price-or-blocker line and the licence line, and run once (demo media). Check there is no horizontal scroll and the controls are labelled. The cloud engine shows only TripoSplat.\n\nVERIFY HERE. Build and /prompt-validate on the shared CPU server (core nodes only; nothing to install). Do not install or run ComfyUI-Idol (owner rule), not even on an isolated worker. Ship the core photo-crop branch (88:101-104) behind the 'It's a photo' switch as specified, and note in idol-9.md and in the report that comparing it with IdolPreprocessImage 'real' is still to be done by the owner; idol-2 replaces the branch with IdolPreprocessImage where the pack is installed. There is no GPU on this machine, so make no timing, VRAM or quality claims.\n\nCLOUD RULE. None. Idol is not on fal or Replicate (§6). Do not add a cloud half, do not map oss-idol to tripo3d/triposplat, and do not show Idol on the cloud engine.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Add Speridlabs' Idol as a second open-engine model in Image to 3D -> Splat, named 'Idol 3D'. It runs on Fuobe's existing core TripoSplat graph with Idol's two weight files and Idol's reference sampler settings. Read docs/research/idol-9.md §2 (in and out; §2.3 same architecture as TripoSplat; §2.4 the haze), §3 (the claims: never promise seconds), §4 (weights and licences), §5.4-5.5 (the graph), §7, §8 and §9 idol-1.\n\nWEIGHTS. In scripts/comfy/library.spec.mjs KNOWN_MODELS, after the TripoSplat rows (L273-275), add two rows pinned to nynxz/Idol @ c718f2b1b95b353edd07d17e845719fc10880a44:\n- 'idol_fp16.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/diffusion_models/idol_fp16.safetensors' } (741,107,210 B, sha256 cf452146f78e23a0d34be8f9f79bcde642b9a40ef493046c8e9d5f79096f6dd0)\n- 'idol_decoder_fp16.safetensors': { folder: 'vae', url: 'https://huggingface.co/nynxz/Idol/resolve/c718f2b1b95b353edd07d17e845719fc10880a44/vae/idol_decoder_fp16.safetensors' } (576,148,658 B, sha256 c511d99eb668ec4b06d883cb6e43770bc35e3864e16e7058e8d6211ba5c509aa)\nAdd a comment saying these are a third-party conversion (ComfyUI-Idol scripts/convert.py at 4d3a4f6) of speridlabs/idol @ 2731c229 (Apache-2.0): pos_pe dropped (ComfyUI recomputes it), cast to fp16, the two decoders merged under octree./gs., and spot-checked as faithful on 10 tensor prefixes (§3, §4.1). dino_v3_vit_h (L273), flux2-vae (L230) and birefnet (L168) are already listed and shared with TripoSplat, so only 1.32 GB is new. Optional in the same package: move 'flux2-vae.safetensors' from Comfy-Org/flux2-dev to the renamed Comfy-Org/Flux-2-Dev (the old URL is a 307 redirect; same sha256 d64f3a68...), rebuild, and check that only URL strings change in workflows/comfyui/manifest.json.\n\nGRAPH. New scripts/comfy/hand-built/image-to-splat-idol.json: a copy of hand-built/image-to-splat-triposplat.json with the same node ids and these changes (§5.5):\n- 88:16 UNETLoader unet_name 'idol_fp16.safetensors' (weight_dtype default).\n- 88:11 VAELoader vae_name 'idol_decoder_fp16.safetensors'.\n- 88:6 KSampler steps 50, cfg 4.0, sampler_name 'euler', scheduler 'simple', denoise 1. Idol's CFG weight 3, in its (1+w)cond - w*uncond form, is ComfyUI cfg 4. Its rescale_t 3 is TripoSplat's built-in shift 3 (comfy/supported_models.py L1677-1679), so no ModelSamplingSD3 node is needed.\n- Photo crop branch (core nodes; my analysis): 88:101 ImageScale {image [88:2,0], upscale_method 'lanczos', width 720, height 720, crop 'disabled'}; 88:102 EmptyImage {width 1024, height 1024, batch_size 1, color 0}; 88:103 ImageCompositeMasked {destination [88:102,0], source [88:101,0], x 152, y 152, resize_source false}; 88:104 ComfySwitchNode {switch false, on_false [88:2,0], on_true [88:103,0]}; 88:24 TripoSplatConditioning image [88:104,0] (was [88:2,0]). TripoSplatPreprocessImage (88:2) is Idol's 'synthetic' 1.2 crop. Scaled to 720 and centred on a black 1024 canvas, the object spans 600 px; Idol's 'real' 1.7 crop gives 602 px. ComfySwitchNode inputs are lazy (comfy_extras/nodes_logic.py L98-111), so the branch not taken does not run.\n- 75 RenderSplat opacity_threshold 0.05 (was 0): the orbit video drops the near-transparent haze (§2.4). The saved file still has it; idol-2 prunes it.\n- 88:96 (a ComfySwitchNode whose two inputs are the same UNETLoader) can stay as it is.\n- Everything else stays as in the TripoSplat file: 99 LoadImage, the cut-out switch 88:35 (BiRefNet 88:85:81/82 or the PNG's own alpha via 88:95), 88:7 CLIPVisionLoader dino_v3_vit_h, 88:8 VAELoader flux2-vae, 88:55 VAEDecodeTripoSplat, 92 SplatToFile3D (spz), 51 SaveGLB 'fuobe/splat', 79 CreateCameraInfo orbit 35/30/2.5, 41 CreateVideo 25 fps h264, 42 SaveVideo 'fuobe/splat-orbit'.\n\nSPEC ENTRY. In scripts/comfy/library.spec.mjs, right after image-to-splat-triposplat (L3349-3372), add:\n- id 'image-to-splat-idol', title 'Image to a Gaussian splat of one object (Idol on the TripoSplat core nodes) + an orbit video', capability 'splat', handBuilt 'hand-built/image-to-splat-idol.json'.\n- bindings: TripoSplat's (image 99.image; cutout 88:35.switch; numGaussians 88:55.num_gaussians; steps and cfg 88:6; seed 88:6.seed and 88:55.seed; splatFormat 92.format; orbitFrames 75.frames; filenamePrefix 51 and 42), plus sampler: [b('88:6','sampler_name')] and photoCrop: [b('88:104','switch')].\n- outputs [{node '51', kind 'model3d', role 'splat'}, {node '42', kind 'video', role 'turntable'}]; defaults { splatFormat: 'spz', cutout: true, photoCrop: false }; limits { maxGaussians: 1048576 }; vramGb 8.\n- 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'. Keep the DINOv3 wording identical to TripoSplat's so licenceInfo (src/lib/licences.ts L296ff) finds the notice.\n- notes: the reference settings and where they come from, the Quick preset, the photo crop and how it was derived, 'about half the Gaussians are near-transparent: RenderSplat thresholds 0.05; the saved file is not pruned without the ComfyUI-Idol pack', 1.32 GB of new weights (idol_fp16 0.74, idol_decoder_fp16 0.58) plus the shared 2.46 GB, and 'VRAM: vendor peak 7.2 GB in the SDK; unmeasured in ComfyUI. Validated by /prompt only.'\nAdd 'sampler' and 'photoCrop' to BINDING_KEYS in scripts/comfy/build-library.mjs (L98-135, with a comment naming idol-9) and to the spec header's binding list. Run the builder, then validate-workflows.mjs against the shared server (core classes only; the validator makes zero-byte placeholders for the missing weights). Commit workflows/comfyui/manifest.json, the workflow file and scripts/comfy/validation-state.json. Add a row to the table in scripts/comfy/README.md next to image-to-splat-triposplat (L167).\n\nMODEL. Add a ModelDef in src/lib/catalog/models.ts right after oss-triposplat (L1380):\n- id 'oss-idol', name 'Idol 3D', vendor 'Speridlabs', family 'idol' (family is a free string, types.ts L646), kind 'model3d', badges ['new'].\n- tagline 'A Gaussian splat (.spz) of one object from one picture, plus an orbit video · TripoSplat's architecture, retrained · 8 GB GPU · Apache-2.0 · Built with DINOv3'.\n- routes [comfy('splat', 'image-to-splat-idol', 'Idol on the TripoSplat core nodes -> .spz + a 3 s orbit')].\n- options { seed: true, maxImages: 1, sliders: [{ param: 'numGaussians', label: 'Gaussians', min: 32768, max: 1048576, step: 32768, default: 262144 }, { param: 'steps', label: 'Steps', min: 10, max: 50, step: 1, default: 50 }] }.\n\nSTUDIO. src/lib/av/model3d.ts:\n- MODELS_3D.splat.open (L57): add { id: 'oss-idol', note: 'Idol 3D · one object from one picture + an orbit video · 8 GB GPU · Apache-2.0' } AFTER oss-triposplat. TripoSplat stays the default until idol-3 reports.\n- Export IDOL_PRESETS = { best: { steps: 50, sampler: 'euler', cfg: 4, numGaussians: 262144 }, quick: { steps: 20, sampler: 'dpmpp_2m', cfg: 4, numGaussians: 65536 } }, with a comment: best is Idol's reference; quick is the pack README's 'faster trade-off' and 'fast preview', quality unmeasured (idol-9.md §11).\n- Model3dInput (L91-101) gets quality?: 'quick' | 'best' and photoCrop?: boolean. In model3dRequest (L131), case 'splat', for modelId 'oss-idol' only, send params: { extra: { ...IDOL_PRESETS[quality ?? 'best'], photoCrop: !!photoCrop } }. TripoSplat requests stay byte-identical.\nsrc/components/model3d/model3d-studio.tsx:\n- When the picked model is oss-idol (open engine, Splat mode), show a two-option segmented control 'Best' / 'Quick look' (hints '50 steps · 262,144 Gaussians' / '20 steps · 65,536 Gaussians') and a switch 'It's a photo (looser crop)'. The switch starts on for a picture uploaded or dropped here and off for one handed over from a Fuobe result (a later ?image= link, idol-5). Keep both in the per-mode state, like the model pick.\n- Replace the hard-coded TripoSplat hint (L314-320) with copy that depends on the model. For Idol: 'Idol cuts the object out, builds the splat and renders an orbit video on your GPU. One object per picture.' TripoSplat keeps its two lines. No seconds anywhere.\n- The licence line already comes from the manifest (Model3dInfo.licence). Check that it reads Apache-2.0 ... Built with DINOv3.\n- On the cloud engine nothing changes: the cloud Splat list has only TripoSplat.\n\nELSEWHERE (no separate package).\n- ⌘K: ALL_MODELS_3D picks it up, and ?model=oss-idol lands on Splat on the open engine (modeOf).\n- Canvas: modelChoices (src/lib/catalog/canvas.ts L434-441) lists model3d models. Check that a 3D model node offers 'Idol 3D' with its sliders (canvas/nodes.tsx L627), and that a chain from it into a video slot picks the orbit video (pickOutput by kind, src/server/generations.ts L823-836).\n- Assist and MCP: add 'splat' to the operation lists in src/server/assist/tools.ts L93 and L254.\n- Settings -> Models & licences: the row comes from the manifest licence string, so no code change. Confirm that the DINOv3 notice and the TripoSplat MIT attribution show.\n- Demo mode: the mock provider's splat answer (src/server/providers/mock.ts L313-314) already covers op 'splat'.\n\nTESTS.\n- tests/model3d.test.ts, next to the TripoSplat block (L316-341):\n - oss-idol routes to image-to-splat-idol.\n - prepareWorkflow binds image (99), numGaussians (88:55), steps / cfg / sampler (88:6), seed on both 88:6 and 88:55, and photoCrop (88:104.switch), and keeps cutout true and spz.\n - collectOutputs gives the .spz meta {role 'splat', format 'spz'} and the turntable.\n - model3dRequest sends the Best extras by default and the Quick extras when asked, and leaves TripoSplat's request unchanged.\n - MODELS_3D.splat.open keeps TripoSplat first, and modeOf('oss-idol') works.\n- tests/idol.test.ts (or tests/comfy-library-4.test.ts):\n - the manifest entry: capability splat, defaults, limits, customNodes [], vramGb 8, models idol_fp16 0.74, idol_decoder_fp16 0.58, dino_v3_vit_h 1.68, flux2-vae 0.34 and birefnet 0.44, with the pinned nynxz URLs.\n - RenderSplat 75 opacity_threshold 0.05, the photo crop nodes and the switch wiring, KSampler 50 / 4.0 / euler.\n - licence notices ['Built with DINOv3'] (the tests/licences.test.ts L49 pattern).\n - 'Idol 3D' is unique among model and app names.\n- Then pnpm typecheck, pnpm lint, the targeted tests and the full vitest run.\n\nMUST NOT BREAK. image-to-splat-triposplat: its graph, bindings, defaults, manifest entry and tests (tests/model3d.test.ts L316-341; tests/comfy-library-4.test.ts L44, L109, L164, L325; tests/licences.test.ts L49). Also the cloud triposplat model and its CLOUD_NOTICES, the 'Idol' K-pop app (apps.ts L1486), every other workflow's validation state, and existing users of BINDING_KEYS.\n\nBROWSER. /image-to-3d?mode=splat in demo mode at 1440 and 390 px, light and dark. Pick Idol 3D on the open engine, switch between Best and Quick look, flip the photo switch, read the price-or-blocker line and the licence line, and run once (demo media). Check there is no horizontal scroll and the controls are labelled. The cloud engine shows only TripoSplat.\n\nVERIFY HERE. Build and /prompt-validate on the shared CPU server (core nodes only; nothing to install). Do not install or run ComfyUI-Idol (owner rule), not even on an isolated worker. Ship the core photo-crop branch (88:101-104) behind the 'It's a photo' switch as specified, and note in idol-9.md and in the report that comparing it with IdolPreprocessImage 'real' is still to be done by the owner; idol-2 replaces the branch with IdolPreprocessImage where the pack is installed. There is no GPU on this machine, so make no timing, VRAM or quality claims.\n\nCLOUD RULE. None. Idol is not on fal or Replicate (§6). Do not add a cloud half, do not map oss-idol to tripo3d/triposplat, and do not show Idol on the cloud engine.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-2": {
"title": "Idol 2: Clean splat files and Idol's own crop with the ComfyUI-Idol pack (Prune Splat, Preprocess Image, Camera), core fallback",
"phase": "New models",
- "brief": "GOAL. Splat files without Idol's haze, and Idol's own crop modes, through the ComfyUI-Idol pack. Where the pack is missing, fall back to idol-1's core graph. Read idol-9.md §2.4, §5.1-5.3, §5.6, §5.7 and §9 idol-2. Builds on idol-1.\n\nPIN AND RECORD.\n- scripts/comfy/library.spec.mjs CUSTOM_NODE_REPOS (L124-152): 'ComfyUI-Idol': 'https://github.com/Nynxz/ComfyUI-Idol/tree/4d3a4f671028f0e062d9f004cda1a2dd73360d35'. PACK_CLASSES (L156-160): 'ComfyUI-Idol': /^Idol(PreprocessImage|Camera|PruneSplat)$/.\n- scripts/comfy/install-comfyui.sh NODES (L15-38): [ComfyUI-Idol]=\"https://github.com/Nynxz/ComfyUI-Idol 4d3a4f671028f0e062d9f004cda1a2dd73360d35\". Add a comment: Apache-2.0, no Python dependencies, no model code, read at this commit (3 AI-assisted commits on 2026-10-30, not in the Comfy Registry; idol-9.md §5.2). It goes in the main ComfyUI, not the isolated worker.\n- src/lib/licences.ts NODE_PACKS, after the ComfyUI-DBS row (~L436): pack('ComfyUI-Idol', 'https://github.com/Nynxz/ComfyUI-Idol/tree/4d3a4f671028f0e062d9f004cda1a2dd73360d35', { name: 'Apache-2.0', class: 'commercial', url: SPDX('Apache-2.0'), note: 'Idol's crop modes, predicted camera and splat pruning; Apache-2.0 code, no model code; ports idol-sdk's preprocess and camera code (Apache-2.0)' }).\n\nGRAPH. Build scripts/comfy/hand-built/image-to-splat-idol-clean.json from image-to-splat-idol.json:\n- Replace 88:2 and the photo crop branch (88:101-104) with IdolPreprocessImage {image [99,0], mode <- binding cropMode, mask [88:35,0], erode_radius 1, size 1024}. cropMode is 'synthetic' (default) or 'real'. API JSON writes this DynamicCombo as \"mode\": \"real\", like CreateCameraInfo's mode / mode.yaw in the TripoSplat file. The mask keeps Fuobe's cut-out switch (BiRefNet's mask or the PNG's alpha). TripoSplatConditioning takes the node's image output.\n- Add IdolPruneSplat after 88:55: {splat [88:55,0], min_opacity <- binding minOpacity (default 0.05), max_scale <- binding maxScale (default 0)}. Its splat output feeds 92 SplatToFile3D and 75 RenderSplat. Its count output can go to a PreviewAny, so the job reports how many Gaussians were kept (the provider sets meta.kept).\n- Optional: IdolCamera {samples [88:6,0]} -> RenderSplat {frames 1, 1024x1024, background '#000000', camera_info from IdolCamera, splat from the prune} -> SaveImage 'fuobe/splat-input-view', as an output with role 'poster'. model3dView already reads a poster image (model3d.ts L211-239).\nThe spec entry 'image-to-splat-idol-clean' has packs: ['ComfyUI-Idol'], the bindings above plus idol-1's, the same outputs (plus the poster), customNodes from the pack, and idol-1's licence string plus 'ComfyUI-Idol nodes Apache-2.0'. Add 'cropMode', 'minOpacity' and 'maxScale' to BINDING_KEYS.\n\nPROVIDER. In src/server/providers/comfyui.ts, where endpoints are swapped by what the server has (the L776-787 pattern):\n- switch 'image-to-splat-idol' to 'image-to-splat-idol-clean' when GET /object_info/IdolPruneSplat on that worker returns the class. Cache the answer like comfyDevice / comfyDbsModels, and refresh it on failure.\n- map params.extra.photoCrop true -> cropMode 'real' and false -> 'synthetic'.\n- without the pack the core graph runs. Set meta.pruned false so the card can say 'not cleaned: install ComfyUI-Idol for cleaner files'.\n\nUI. The studio's 'It's a photo' switch keeps its meaning. Add an advanced 'Trim spikes' toggle (maxScale 0.05). On the result card, show 'Cleaned: N Gaussians kept' when the job reports it, and use the input-view still as the poster.\n\nTESTS.\n- The spec entry with packs and PACK_CLASSES; build-library expects the classes.\n- The provider picks the clean graph when object_info lists IdolPruneSplat and the core graph when it does not.\n- Bindings for cropMode / minOpacity / maxScale, and the photoCrop -> cropMode mapping.\n- The licence row (NODE_PACKS) and the workflow licence.\n- install-comfyui.sh has the pin (a grep test, like the DBS one if present).\n\nMUST NOT BREAK. idol-1's core graph (the fallback) and its tests. image-to-splat-triposplat: do not add pruning to TripoSplat until idol-3 shows it has the same haze. The shared validation server: the pack is not installed there, so the entry is checked through PACK_CLASSES.\n\nVERIFY HERE. Never install ComfyUI-Idol anywhere, isolated worker included, and never run its code: the owner's rule overrides idol-9.md §5.7. The shared server lacks the pack, so check image-to-splat-idol-clean through PACK_CLASSES (the validator skips pack classes) and a unit test of the graph wiring (IdolPreprocessImage / IdolPruneSplat inputs as documented in idol-9.md §5.1). Write in the report that a /prompt check with the pack installed is a step for the owner. No splat runs (no weights, no GPU). The ComfyUI minimum is v0.23.0 (the pack README's 0.22 is wrong); Fuobe runs 0.41.0.\n\nCLOUD RULE. None (Idol is not hosted).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Splat files without Idol's haze, and Idol's own crop modes, through the ComfyUI-Idol pack. Where the pack is missing, fall back to idol-1's core graph. Read idol-9.md §2.4, §5.1-5.3, §5.6, §5.7 and §9 idol-2. Builds on idol-1.\n\nPIN AND RECORD.\n- scripts/comfy/library.spec.mjs CUSTOM_NODE_REPOS (L124-152): 'ComfyUI-Idol': 'https://github.com/Nynxz/ComfyUI-Idol/tree/4d3a4f671028f0e062d9f004cda1a2dd73360d35'. PACK_CLASSES (L156-160): 'ComfyUI-Idol': /^Idol(PreprocessImage|Camera|PruneSplat)$/.\n- scripts/comfy/install-comfyui.sh NODES (L15-38): [ComfyUI-Idol]=\"https://github.com/Nynxz/ComfyUI-Idol 4d3a4f671028f0e062d9f004cda1a2dd73360d35\". Add a comment: Apache-2.0, no Python dependencies, no model code, read at this commit (3 AI-assisted commits on 2026-10-30, not in the Comfy Registry; idol-9.md §5.2). It goes in the main ComfyUI, not the isolated worker.\n- src/lib/licences.ts NODE_PACKS, after the ComfyUI-DBS row (~L436): pack('ComfyUI-Idol', 'https://github.com/Nynxz/ComfyUI-Idol/tree/4d3a4f671028f0e062d9f004cda1a2dd73360d35', { name: 'Apache-2.0', class: 'commercial', url: SPDX('Apache-2.0'), note: 'Idol's crop modes, predicted camera and splat pruning; Apache-2.0 code, no model code; ports idol-sdk's preprocess and camera code (Apache-2.0)' }).\n\nGRAPH. Build scripts/comfy/hand-built/image-to-splat-idol-clean.json from image-to-splat-idol.json:\n- Replace 88:2 and the photo crop branch (88:101-104) with IdolPreprocessImage {image [99,0], mode <- binding cropMode, mask [88:35,0], erode_radius 1, size 1024}. cropMode is 'synthetic' (default) or 'real'. API JSON writes this DynamicCombo as \"mode\": \"real\", like CreateCameraInfo's mode / mode.yaw in the TripoSplat file. The mask keeps Fuobe's cut-out switch (BiRefNet's mask or the PNG's alpha). TripoSplatConditioning takes the node's image output.\n- Add IdolPruneSplat after 88:55: {splat [88:55,0], min_opacity <- binding minOpacity (default 0.05), max_scale <- binding maxScale (default 0)}. Its splat output feeds 92 SplatToFile3D and 75 RenderSplat. Its count output can go to a PreviewAny, so the job reports how many Gaussians were kept (the provider sets meta.kept).\n- Optional: IdolCamera {samples [88:6,0]} -> RenderSplat {frames 1, 1024x1024, background '#000000', camera_info from IdolCamera, splat from the prune} -> SaveImage 'fuobe/splat-input-view', as an output with role 'poster'. model3dView already reads a poster image (model3d.ts L211-239).\nThe spec entry 'image-to-splat-idol-clean' has packs: ['ComfyUI-Idol'], the bindings above plus idol-1's, the same outputs (plus the poster), customNodes from the pack, and idol-1's licence string plus 'ComfyUI-Idol nodes Apache-2.0'. Add 'cropMode', 'minOpacity' and 'maxScale' to BINDING_KEYS.\n\nPROVIDER. In src/server/providers/comfyui.ts, where endpoints are swapped by what the server has (the L776-787 pattern):\n- switch 'image-to-splat-idol' to 'image-to-splat-idol-clean' when GET /object_info/IdolPruneSplat on that worker returns the class. Cache the answer like comfyDevice / comfyDbsModels, and refresh it on failure.\n- map params.extra.photoCrop true -> cropMode 'real' and false -> 'synthetic'.\n- without the pack the core graph runs. Set meta.pruned false so the card can say 'not cleaned: install ComfyUI-Idol for cleaner files'.\n\nUI. The studio's 'It's a photo' switch keeps its meaning. Add an advanced 'Trim spikes' toggle (maxScale 0.05). On the result card, show 'Cleaned: N Gaussians kept' when the job reports it, and use the input-view still as the poster.\n\nTESTS.\n- The spec entry with packs and PACK_CLASSES; build-library expects the classes.\n- The provider picks the clean graph when object_info lists IdolPruneSplat and the core graph when it does not.\n- Bindings for cropMode / minOpacity / maxScale, and the photoCrop -> cropMode mapping.\n- The licence row (NODE_PACKS) and the workflow licence.\n- install-comfyui.sh has the pin (a grep test, like the DBS one if present).\n\nMUST NOT BREAK. idol-1's core graph (the fallback) and its tests. image-to-splat-triposplat: do not add pruning to TripoSplat until idol-3 shows it has the same haze. The shared validation server: the pack is not installed there, so the entry is checked through PACK_CLASSES.\n\nVERIFY HERE. Never install ComfyUI-Idol anywhere, isolated worker included, and never run its code: the owner's rule overrides idol-9.md §5.7. The shared server lacks the pack, so check image-to-splat-idol-clean through PACK_CLASSES (the validator skips pack classes) and a unit test of the graph wiring (IdolPreprocessImage / IdolPruneSplat inputs as documented in idol-9.md §5.1). Write in the report that a /prompt check with the pack installed is a step for the owner. No splat runs (no weights, no GPU). The ComfyUI minimum is v0.23.0 (the pack README's 0.22 is wrong); Fuobe runs 0.41.0.\n\nCLOUD RULE. None (Idol is not hosted).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-4": {
"title": "Idol 4: Look around splats in Fuobe: a three.js splat viewer on result cards, the studio panel and the Library",
"phase": "New models",
- "brief": "GOAL. Let people look around a Gaussian splat inside Fuobe instead of watching a fixed orbit video or downloading it to SuperSplat. This helps Idol 3D and both TripoSplat routes. Read idol-9.md §2.1 (formats), §2.4 (the haze), §7.1 (viewers today) and §9 idol-4. Does not depend on idol-1.\n\nWHERE.\n- src/components/model3d/model-card.tsx: the splat note at L177 and the download row.\n- src/components/studio/result-media.tsx: the splat panel at L248.\n- The Library's 3D tab (src/components/library-view.tsx L58), using the same viewer component.\n- The viewer that 'View in 3D' opens (src/lib/output-actions.ts L146).\nFormats come from splatFormatOf (src/lib/av/model3d.ts L197): spz, ply, ksplat.\n\nLIBRARY. A three.js Gaussian-splat renderer; three 0.183.2 is already a dependency (package.json L56). Candidates are Spark (@sparkjsdev/spark) and GaussianSplats3D (@mkkellogg/gaussian-splats-3d). The choice is a guess. Check:\n- the licence;\n- an exact version at least two weeks old;\n- .spz support (Niantic, gzip) and .ply with degree-0 SH;\n- WebGL2;\n- phone frame time on a 262,144-Gaussian splat;\n- bundle size.\nLoad it with a dynamic import so no other page pays for it. Record the decision and the numbers in idol-9.md.\n\nUI. A SplatViewer component with:\n- drag to orbit, pinch / wheel to zoom, and reset view;\n- a light / dark / grey background;\n- an opacity cut-off slider labelled 'Hide faint haze' (default 0.05 for Idol 3D results; 0 for TripoSplat until idol-3 says otherwise);\n- 'Save a still' (canvas capture -> upload -> Library image, like Cinema's capture);\n- keyboard access and labels.\nThe orbit video stays as the poster while loading, and as the fallback when there is no WebGL2, when prefers-reduced-motion is set, or for files over a size limit. Replace 'Fuobe doesn't draw splats yet' with the viewer, and keep the download buttons.\n\nTESTS.\n- Unit: format detection and the choice between the splat viewer and the GLB viewer; the cut-off default per model; a parser test on a tiny .ply fixture if the library exposes one.\n- e2e: open a demo splat at 1440 and 390 px, light and dark; no horizontal scroll; the viewer does not load on pages without a splat (bundle check).\n\nMUST NOT BREAK. The GLB path through @google/model-viewer (model-card.tsx L48, L115), Cinema's three.js scene viewer (src/components/cinema/scene-viewer.tsx), turntable recording for cloud GLBs (src/components/model3d/turntable.ts), and share pages.\n\nVERIFY HERE. Browser checks in demo mode. The demo splat is a GLB (mock.ts L313-314), so add a tiny real .spz / .ply sample to the demo assets for the viewer. No GPU is needed.\n\nCLOUD RULE. The same viewer draws cloud TripoSplat's .ply, which is an existing hosted model. There is no Idol cloud route.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Let people look around a Gaussian splat inside Fuobe instead of watching a fixed orbit video or downloading it to SuperSplat. This helps Idol 3D and both TripoSplat routes. Read idol-9.md §2.1 (formats), §2.4 (the haze), §7.1 (viewers today) and §9 idol-4. Does not depend on idol-1.\n\nWHERE.\n- src/components/model3d/model-card.tsx: the splat note at L177 and the download row.\n- src/components/studio/result-media.tsx: the splat panel at L248.\n- The Library's 3D tab (src/components/library-view.tsx L58), using the same viewer component.\n- The viewer that 'View in 3D' opens (src/lib/output-actions.ts L146).\nFormats come from splatFormatOf (src/lib/av/model3d.ts L197): spz, ply, ksplat.\n\nLIBRARY. A three.js Gaussian-splat renderer; three 0.183.2 is already a dependency (package.json L56). Candidates are Spark (@sparkjsdev/spark) and GaussianSplats3D (@mkkellogg/gaussian-splats-3d). The choice is a guess. Check:\n- the licence;\n- an exact version at least two weeks old;\n- .spz support (Niantic, gzip) and .ply with degree-0 SH;\n- WebGL2;\n- phone frame time on a 262,144-Gaussian splat;\n- bundle size.\nLoad it with a dynamic import so no other page pays for it. Record the decision and the numbers in idol-9.md.\n\nUI. A SplatViewer component with:\n- drag to orbit, pinch / wheel to zoom, and reset view;\n- a light / dark / grey background;\n- an opacity cut-off slider labelled 'Hide faint haze' (default 0.05 for Idol 3D results; 0 for TripoSplat until idol-3 says otherwise);\n- 'Save a still' (canvas capture -> upload -> Library image, like Cinema's capture);\n- keyboard access and labels.\nThe orbit video stays as the poster while loading, and as the fallback when there is no WebGL2, when prefers-reduced-motion is set, or for files over a size limit. Replace 'Fuobe doesn't draw splats yet' with the viewer, and keep the download buttons.\n\nTESTS.\n- Unit: format detection and the choice between the splat viewer and the GLB viewer; the cut-off default per model; a parser test on a tiny .ply fixture if the library exposes one.\n- e2e: open a demo splat at 1440 and 390 px, light and dark; no horizontal scroll; the viewer does not load on pages without a splat (bundle check).\n\nMUST NOT BREAK. The GLB path through @google/model-viewer (model-card.tsx L48, L115), Cinema's three.js scene viewer (src/components/cinema/scene-viewer.tsx), turntable recording for cloud GLBs (src/components/model3d/turntable.ts), and share pages.\n\nVERIFY HERE. Browser checks in demo mode. The demo splat is a GLB (mock.ts L313-314), so add a tiny real .spz / .ply sample to the demo assets for the viewer. No GPU is needed.\n\nCLOUD RULE. The same viewer draws cloud TripoSplat's .ply, which is an existing hosted model. There is no Idol cloud route.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-5": {
"title": "Idol 5: 'Make it 3D (quick)' on image results (open engine only)",
"phase": "New models",
- "brief": "GOAL. One click from a generated picture to a turning 3D preview of its object, made on the user's GPU. Read idol-9.md §3 (speed: tens of seconds, not 2 s), §8 and §9 idol-5. Builds on idol-1.\n\nACTION. In src/lib/output-actions.ts, case 'image' (L91-106):\n- add link('make-3d', 'Make it 3D (quick)', `/image-to-3d?mode=splat&model=oss-idol&quality=quick&image=${q(o.url)}`) as a menu action, and add 'make-3d' to OutputActionId (L31ff).\n- show it only when a new ActionContext field, openEngine (L63-70), is true. The callers (feed tiles, the viewer, the Library) set it from the engine mode (open or both) and from whether ComfyUI is connected (the useEngine hook from src/lib/api that the studios use).\n- NEXT_STEPS.image (L169-170: animate, upscale, edit) stays unchanged. Swap a chip only after usage data.\n\nSTUDIO. In src/components/model3d/model3d-studio.tsx, UrlModel (L67-80) learns:\n- ?image=: fill the photo slot with that file and mark it as coming from a Fuobe result, so the photo switch starts off (the 'synthetic' crop suits generated images);\n- ?quality=quick|best.\nOptional one-click run: re-implement for this page the one-time go=<token> hand-off that Home's Start uses (src/lib/composer.ts L816-826, src/components/studio/studio-context.tsx L167). Without it, the user presses 'Make the splat' once.\n\nRESULT. It lands in /image-to-3d's feed and in the Library (feature image-to-3d) like any Splat job, with the source picture linked (model3dView.photo). Copy under the action or in the studio: 'Turns this picture into a 3D splat on your GPU and renders a turning preview. Takes tens of seconds on a consumer GPU.'\n\nTESTS.\n- outputActions: the action appears for images only when openEngine is set, with the right href. It never appears for videos, audio or 3D, and NEXT_STEPS.image is unchanged.\n- Studio URL parsing (model, mode, quality, image).\n- e2e: from a demo image result to the prefilled studio at 1440 and 390 px, light and dark.\n\nMUST NOT BREAK. The existing image actions and their order, Home's go=<token> flow, and ?model= links from ⌘K.\n\nVERIFY HERE. Demo mode only.\n\nCLOUD RULE. Hidden on cloud-only installs: Idol is not hosted and there is no substitute recipe. The Image to 3D page stays reachable from the sidebar as before.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. One click from a generated picture to a turning 3D preview of its object, made on the user's GPU. Read idol-9.md §3 (speed: tens of seconds, not 2 s), §8 and §9 idol-5. Builds on idol-1.\n\nACTION. In src/lib/output-actions.ts, case 'image' (L91-106):\n- add link('make-3d', 'Make it 3D (quick)', `/image-to-3d?mode=splat&model=oss-idol&quality=quick&image=${q(o.url)}`) as a menu action, and add 'make-3d' to OutputActionId (L31ff).\n- show it only when a new ActionContext field, openEngine (L63-70), is true. The callers (feed tiles, the viewer, the Library) set it from the engine mode (open or both) and from whether ComfyUI is connected (the useEngine hook from src/lib/api that the studios use).\n- NEXT_STEPS.image (L169-170: animate, upscale, edit) stays unchanged. Swap a chip only after usage data.\n\nSTUDIO. In src/components/model3d/model3d-studio.tsx, UrlModel (L67-80) learns:\n- ?image=: fill the photo slot with that file and mark it as coming from a Fuobe result, so the photo switch starts off (the 'synthetic' crop suits generated images);\n- ?quality=quick|best.\nOptional one-click run: re-implement for this page the one-time go=<token> hand-off that Home's Start uses (src/lib/composer.ts L816-826, src/components/studio/studio-context.tsx L167). Without it, the user presses 'Make the splat' once.\n\nRESULT. It lands in /image-to-3d's feed and in the Library (feature image-to-3d) like any Splat job, with the source picture linked (model3dView.photo). Copy under the action or in the studio: 'Turns this picture into a 3D splat on your GPU and renders a turning preview. Takes tens of seconds on a consumer GPU.'\n\nTESTS.\n- outputActions: the action appears for images only when openEngine is set, with the right href. It never appears for videos, audio or 3D, and NEXT_STEPS.image is unchanged.\n- Studio URL parsing (model, mode, quality, image).\n- e2e: from a demo image result to the prefilled studio at 1440 and 390 px, light and dark.\n\nMUST NOT BREAK. The existing image actions and their order, Home's go=<token> flow, and ?model= links from ⌘K.\n\nVERIFY HERE. Demo mode only.\n\nCLOUD RULE. Hidden on cloud-only installs: Idol is not hosted and there is no substitute recipe. The Image to 3D page stays reachable from the sidebar as before.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-3": {
"title": "Idol 3: Splat A/B in the evaluation harness: Idol Best / Quick against TripoSplat, to choose Splat mode's default",
"phase": "New models",
- "brief": "GOAL. Use measured numbers, not the vendor's table, to decide three things: which open splat model is Splat mode's default (TripoSplat today or Idol 3D), what Idol's Quick preset should be, and whether the photo crop helps photos. Read idol-9.md §3 (the vendor-only quality claim), §7.2 and §9 idol-3, and scripts/eval/README.md (the promote rule: a person changes a default in a reviewed commit). Builds on idol-1, and on idol-2 if it is merged.\n\nSUITE. scripts/eval/cases/splat.json, validated by case.schema.json:\n- suite 'splat', title 'Splat · one object from one picture', kind 'video'. The orbit video is the main output: scripts/eval/lib/review.mjs L19 and covers.mjs L66 pick the first image or video that is not a mask, so the turntable is scored and shown. The .spz is kept as a file.\n- targets: open { models: ['oss-idol', 'oss-triposplat'] }, and demo.\nVariants:\n- 'idol-best': oss-idol, extra { steps 50, sampler 'euler', cfg 4, numGaussians 262144 }\n- 'idol-quick': oss-idol, extra { steps 20, sampler 'dpmpp_2m', cfg 4, numGaussians 65536 }\n- 'triposplat-today': oss-triposplat with its manifest defaults (20 dpmpp_2m, cfg 3)\n- 'triposplat-50': oss-triposplat at 50 euler, cfg 4. This separates the weights from the settings. It needs 'sampler' bound in TripoSplat's entry too; otherwise skip this variant.\n- 'idol-photo-crop', on the photo cases: idol-best with photoCrop true (and cropMode 'real' when idol-2 is merged)\nCases: 8-12 single objects, with inputs under local/splat/ (never committed) and demoInputs from fixtures/. Include generated product renders (bottle, sneaker, headphones), product photos (photo crop on), a figurine, a stylised character, a realistic person, thin parts (chair, plant), and glass or chrome. references = the input picture.\nMetrics:\n- 'style' with --style-model dinov2 (orbit frames against the input picture; DINOv2 is Apache-2.0), 'temporal' (orbit smoothness) and 'aesthetic'.\n- The harness's timing and memory telemetry.\n- The blind A/B review page (pnpm eval:review) for the turntables.\n- Optional, only if cheap: a 'splat' metric that reads the .ply / .spz and reports the share of Gaussians under opacity 0.05. It would answer whether TripoSplat has Idol's haze.\n\nOUTPUT. There is no GPU here: add a 'Results (pending a GPU run)' section to idol-9.md with the exact commands to run (the harness's run for these cases on the open engine; scripts/eval/README.md) and what each number decides. Never record demo-engine numbers as results, and leave §3 and §7.2 unchanged until a GPU run. The default change itself (MODELS_3D.splat.open order in src/lib/av/model3d.ts, IDOL_PRESETS) goes in a separate commit that a person reviews and makes after that run.\n\nTESTS. pnpm eval:validate (schema), a demo dry run (pnpm eval:run --suite splat --engine demo --dry-run) and a demo run. Any new metric gets pytest fixtures like the others (scripts/eval/metrics).\n\nMUST NOT BREAK. Other suites, the case schema's existing kinds (image, video, audio), and the promote rule.\n\nVERIFY HERE. Schema and demo runs only. GPU runs need a machine with an 8-16 GB GPU and the weights. Record the GPU, driver and ComfyUI version with the numbers.\n\nCLOUD RULE. No Idol on the cloud. A 'triposplat-cloud' reference variant on fal tripo3d/triposplat is allowed, because it is the existing cloud model. Price it under the harness's spend cap and label it clearly as TripoSplat.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Use measured numbers, not the vendor's table, to decide three things: which open splat model is Splat mode's default (TripoSplat today or Idol 3D), what Idol's Quick preset should be, and whether the photo crop helps photos. Read idol-9.md §3 (the vendor-only quality claim), §7.2 and §9 idol-3, and scripts/eval/README.md (the promote rule: a person changes a default in a reviewed commit). Builds on idol-1, and on idol-2 if it is merged.\n\nSUITE. scripts/eval/cases/splat.json, validated by case.schema.json:\n- suite 'splat', title 'Splat · one object from one picture', kind 'video'. The orbit video is the main output: scripts/eval/lib/review.mjs L19 and covers.mjs L66 pick the first image or video that is not a mask, so the turntable is scored and shown. The .spz is kept as a file.\n- targets: open { models: ['oss-idol', 'oss-triposplat'] }, and demo.\nVariants:\n- 'idol-best': oss-idol, extra { steps 50, sampler 'euler', cfg 4, numGaussians 262144 }\n- 'idol-quick': oss-idol, extra { steps 20, sampler 'dpmpp_2m', cfg 4, numGaussians 65536 }\n- 'triposplat-today': oss-triposplat with its manifest defaults (20 dpmpp_2m, cfg 3)\n- 'triposplat-50': oss-triposplat at 50 euler, cfg 4. This separates the weights from the settings. It needs 'sampler' bound in TripoSplat's entry too; otherwise skip this variant.\n- 'idol-photo-crop', on the photo cases: idol-best with photoCrop true (and cropMode 'real' when idol-2 is merged)\nCases: 8-12 single objects, with inputs under local/splat/ (never committed) and demoInputs from fixtures/. Include generated product renders (bottle, sneaker, headphones), product photos (photo crop on), a figurine, a stylised character, a realistic person, thin parts (chair, plant), and glass or chrome. references = the input picture.\nMetrics:\n- 'style' with --style-model dinov2 (orbit frames against the input picture; DINOv2 is Apache-2.0), 'temporal' (orbit smoothness) and 'aesthetic'.\n- The harness's timing and memory telemetry.\n- The blind A/B review page (pnpm eval:review) for the turntables.\n- Optional, only if cheap: a 'splat' metric that reads the .ply / .spz and reports the share of Gaussians under opacity 0.05. It would answer whether TripoSplat has Idol's haze.\n\nOUTPUT. There is no GPU here: add a 'Results (pending a GPU run)' section to idol-9.md with the exact commands to run (the harness's run for these cases on the open engine; scripts/eval/README.md) and what each number decides. Never record demo-engine numbers as results, and leave §3 and §7.2 unchanged until a GPU run. The default change itself (MODELS_3D.splat.open order in src/lib/av/model3d.ts, IDOL_PRESETS) goes in a separate commit that a person reviews and makes after that run.\n\nTESTS. pnpm eval:validate (schema), a demo dry run (pnpm eval:run --suite splat --engine demo --dry-run) and a demo run. Any new metric gets pytest fixtures like the others (scripts/eval/metrics).\n\nMUST NOT BREAK. Other suites, the case schema's existing kinds (image, video, audio), and the promote rule.\n\nVERIFY HERE. Schema and demo runs only. GPU runs need a machine with an 8-16 GB GPU and the weights. Record the GPU, driver and ComfyUI version with the numbers.\n\nCLOUD RULE. No Idol on the cloud. A 'triposplat-cloud' reference variant on fal tripo3d/triposplat is allowed, because it is the existing cloud model. Price it under the harness's spend cap and label it clearly as TripoSplat.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-6": {
"title": "Idol 6: Draft then final: 'Build the final with TRELLIS.2' on Idol results",
"phase": "New models",
- "brief": "GOAL. Use a quick Idol splat as a draft, then build the textured final with TRELLIS.2 from the same picture. Read idol-9.md §7.2 and §9 idol-6. Builds on idol-1.\n\nWHERE. In src/components/model3d/model-card.tsx, on a finished open-engine Idol 3D result (request.modelId 'oss-idol'):\n- add a button 'Build the final with TRELLIS.2' that links to /image-to-3d?mode=image&model=oss-trellis2&image=<model3dView(g).photo>. This needs idol-5's ?image= support, or add that support here.\n- under it, show 'A textured, riggable .glb · 16 GB GPU' (the oss-trellis2 note, model3d.ts L39).\n- hide the button when oss-trellis2 is switched off in Settings -> Models & licences (offered(), as the studio's picker does).\n\nTESTS. The button shows only on oss-idol results that have a source picture; check the href and that it respects model access.\n\nMUST NOT BREAK. Other cards, Rig & animate, and Animate the spin.\n\nVERIFY HERE. Demo mode.\n\nCLOUD RULE. No Idol draft on the cloud. The final may run as an ordinary Image to 3D run on the TRELLIS.2 of the user's chosen engine (fal trellis-2 on the cloud). It is not an Idol substitute.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Use a quick Idol splat as a draft, then build the textured final with TRELLIS.2 from the same picture. Read idol-9.md §7.2 and §9 idol-6. Builds on idol-1.\n\nWHERE. In src/components/model3d/model-card.tsx, on a finished open-engine Idol 3D result (request.modelId 'oss-idol'):\n- add a button 'Build the final with TRELLIS.2' that links to /image-to-3d?mode=image&model=oss-trellis2&image=<model3dView(g).photo>. This needs idol-5's ?image= support, or add that support here.\n- under it, show 'A textured, riggable .glb · 16 GB GPU' (the oss-trellis2 note, model3d.ts L39).\n- hide the button when oss-trellis2 is switched off in Settings -> Models & licences (offered(), as the studio's picker does).\n\nTESTS. The button shows only on oss-idol results that have a source picture; check the href and that it respects model access.\n\nMUST NOT BREAK. Other cards, Rig & animate, and Animate the spin.\n\nVERIFY HERE. Demo mode.\n\nCLOUD RULE. No Idol draft on the cloud. The final may run as an ordinary Image to 3D run on the TRELLIS.2 of the user's chosen engine (fal trellis-2 on the cloud). It is not an Idol substitute.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-7": {
"title": "Idol 7: Idol 3D quick mesh: splat -> core SplatToMesh -> .glb in From an image",
"phase": "New models",
- "brief": "GOAL. A rough, riggable mesh from one picture: core ComfyUI turns Idol's splat into a vertex-coloured .glb. Read idol-9.md §2.1 (no mesh), §2.4 (min_opacity), §8 and §9 idol-7. Builds on idol-1.\n\nGRAPH. scripts/comfy/hand-built/image-to-mesh-idol.json:\n- idol-1's graph, then core SplatToMesh ('Extract Mesh from Splat', comfy_extras/nodes_gaussian_splat.py L1533-1580). Its defaults are resolution 384 and min_opacity 0.02, which drops the haze.\n- then SaveGLB 'fuobe/idol-mesh' (output role mesh). Keep the orbit video.\n- bindings: idol-1's, plus 'meshResolution' (SplatToMesh.resolution) if exposed.\n- spec entry: capability 'image-to-3d', vramGb 8, the same licence string.\n\nMODEL AND UI.\n- ModelDef 'oss-idol-mesh', name 'Idol 3D quick mesh', kind 'model3d', route comfy('image-to-3d', 'image-to-mesh-idol'), tagline 'A rough vertex-coloured .glb from one picture, no textures · 8 GB GPU · Apache-2.0 · Built with DINOv3'.\n- Add it to MODELS_3D.image.open after oss-hunyuan3d-21, with the note 'Rough mesh, vertex colours, no textures · 8 GB GPU'.\n- The .glb opens in model-viewer and can go to Rig & animate (cloud Meshy rigging, as for any GLB today).\n\nEVAL FIRST. Mesh quality from Idol splats is unknown (§11). Add 3-4 cases to idol-3's suite (or a 'mesh' variant) and look at the meshes before shipping.\n\nLATER. hi3d-refine (earlier in this lane) offers 'Refine this mesh' on finished 3D results. Check that it shows on oss-idol-mesh results with the source picture (model3dView.photo) as its reference, or hide it there with a reason. Don't build a second Hi3D path.\n\nTESTS. The spec entry, bindings, the route, MODELS_3D order, collectOutputs (the GLB comes back as model3d, not as a splat), and the licence row.\n\nMUST NOT BREAK. oss-trellis2 and oss-hunyuan3d-21 stay first in From an image; the splat routes keep working.\n\nVERIFY HERE. Build and /prompt-validate on the shared server. No GPU runs.\n\nCLOUD RULE. None (Idol is not hosted).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. A rough, riggable mesh from one picture: core ComfyUI turns Idol's splat into a vertex-coloured .glb. Read idol-9.md §2.1 (no mesh), §2.4 (min_opacity), §8 and §9 idol-7. Builds on idol-1.\n\nGRAPH. scripts/comfy/hand-built/image-to-mesh-idol.json:\n- idol-1's graph, then core SplatToMesh ('Extract Mesh from Splat', comfy_extras/nodes_gaussian_splat.py L1533-1580). Its defaults are resolution 384 and min_opacity 0.02, which drops the haze.\n- then SaveGLB 'fuobe/idol-mesh' (output role mesh). Keep the orbit video.\n- bindings: idol-1's, plus 'meshResolution' (SplatToMesh.resolution) if exposed.\n- spec entry: capability 'image-to-3d', vramGb 8, the same licence string.\n\nMODEL AND UI.\n- ModelDef 'oss-idol-mesh', name 'Idol 3D quick mesh', kind 'model3d', route comfy('image-to-3d', 'image-to-mesh-idol'), tagline 'A rough vertex-coloured .glb from one picture, no textures · 8 GB GPU · Apache-2.0 · Built with DINOv3'.\n- Add it to MODELS_3D.image.open after oss-hunyuan3d-21, with the note 'Rough mesh, vertex colours, no textures · 8 GB GPU'.\n- The .glb opens in model-viewer and can go to Rig & animate (cloud Meshy rigging, as for any GLB today).\n\nEVAL FIRST. Mesh quality from Idol splats is unknown (§11). Add 3-4 cases to idol-3's suite (or a 'mesh' variant) and look at the meshes before shipping.\n\nLATER. hi3d-refine (earlier in this lane) offers 'Refine this mesh' on finished 3D results. Check that it shows on oss-idol-mesh results with the source picture (model3dView.photo) as its reference, or hide it there with a reason. Don't build a second Hi3D path.\n\nTESTS. The spec entry, bindings, the route, MODELS_3D order, collectOutputs (the GLB comes back as model3d, not as a splat), and the licence row.\n\nMUST NOT BREAK. oss-trellis2 and oss-hunyuan3d-21 stay first in From an image; the splat routes keep working.\n\nVERIFY HERE. Build and /prompt-validate on the shared server. No GPU runs.\n\nCLOUD RULE. None (Idol is not hosted).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-8": {
"title": "Idol 8: Fill the other sides from one picture (IdolCamera + RenderSplat, four views)",
"phase": "New models",
- "brief": "GOAL. Side and back views of an object from one picture, consistent with each other, for the places that need several angles. Read idol-9.md §5.1 (IdolCamera), §8 and §9 idol-8. Needs idol-2's pack (IdolCamera) and idol-1.\n\nGRAPH. scripts/comfy/hand-built/image-to-views-idol.json, with packs ['ComfyUI-Idol']:\n- the clean Idol graph -> IdolCamera {samples [88:6,0]} -> RenderSplat {splat (pruned), camera_info from IdolCamera, frames 4, width / height 1024, opacity_threshold 0.05, background white or the studio's grey} -> SaveImage (one batch of four).\n- RenderSplat with frames > 1 orbits a full turn from camera_info, 360/n degrees apart (comfy_extras/nodes_gaussian_splat.py L1004-1006). A negative frames value turns the other way.\n- outputs: four images with meta.index 0-3; front (index 0) is the input view.\n- match the orbit direction to Fuobe's side names (front, left, back, right; SIDES_HINT in src/lib/av/model3d.ts L80-88: 'facing its front, walk round to your right for its left side'). Pick the sign of frames so that index 1 is the object's left, and test it with an asymmetric object.\n\nPLACES. Both are open engine only. Say in the UI that the views are renders of a 3D guess and may be soft.\n- Image to 3D -> From several images: with only the front filled, a button 'Make the other sides from the front (Idol 3D)' runs the graph and fills the left, back and right slots for oss-trellis2-multi (VIEW_SIDES order).\n- Elements (character and product references): 'Add side and back views'.\n\nEVAL FIRST. Faces and characters are the risky case: 20 of Idol's 94 demo presets are figurines, and realistic people are untested. Add cases to idol-3's suite and look at the sheets before shipping.\n\nTESTS. The spec entry with packs, the bindings, the side mapping (index -> side), the multi-view slot filling, and the chain into oss-trellis2-multi.\n\nMUST NOT BREAK. From several images when the user brings real photos, and Elements' existing uploads.\n\nVERIFY HERE. The shared server lacks ComfyUI-Idol and no agent installs it: check image-to-views-idol through PACK_CLASSES and unit tests (graph wiring, the index -> side mapping). List the /prompt check with the pack installed as an owner step. No GPU runs.\n\nCLOUD RULE. None (Idol is not hosted).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Side and back views of an object from one picture, consistent with each other, for the places that need several angles. Read idol-9.md §5.1 (IdolCamera), §8 and §9 idol-8. Needs idol-2's pack (IdolCamera) and idol-1.\n\nGRAPH. scripts/comfy/hand-built/image-to-views-idol.json, with packs ['ComfyUI-Idol']:\n- the clean Idol graph -> IdolCamera {samples [88:6,0]} -> RenderSplat {splat (pruned), camera_info from IdolCamera, frames 4, width / height 1024, opacity_threshold 0.05, background white or the studio's grey} -> SaveImage (one batch of four).\n- RenderSplat with frames > 1 orbits a full turn from camera_info, 360/n degrees apart (comfy_extras/nodes_gaussian_splat.py L1004-1006). A negative frames value turns the other way.\n- outputs: four images with meta.index 0-3; front (index 0) is the input view.\n- match the orbit direction to Fuobe's side names (front, left, back, right; SIDES_HINT in src/lib/av/model3d.ts L80-88: 'facing its front, walk round to your right for its left side'). Pick the sign of frames so that index 1 is the object's left, and test it with an asymmetric object.\n\nPLACES. Both are open engine only. Say in the UI that the views are renders of a 3D guess and may be soft.\n- Image to 3D -> From several images: with only the front filled, a button 'Make the other sides from the front (Idol 3D)' runs the graph and fills the left, back and right slots for oss-trellis2-multi (VIEW_SIDES order).\n- Elements (character and product references): 'Add side and back views'.\n\nEVAL FIRST. Faces and characters are the risky case: 20 of Idol's 94 demo presets are figurines, and realistic people are untested. Add cases to idol-3's suite and look at the sheets before shipping.\n\nTESTS. The spec entry with packs, the bindings, the side mapping (index -> side), the multi-view slot filling, and the chain into oss-trellis2-multi.\n\nMUST NOT BREAK. From several images when the user brings real photos, and Elements' existing uploads.\n\nVERIFY HERE. The shared server lacks ComfyUI-Idol and no agent installs it: check image-to-views-idol through PACK_CLASSES and unit tests (graph wiring, the index -> side mapping). List the /prompt check with the pack installed as an owner step. No GPU runs.\n\nCLOUD RULE. None (Idol is not hosted).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"idol-9": {
"title": "Idol 9: Idol props in Cinema Studio's 3D scene",
"phase": "New models",
- "brief": "GOAL. Put an object made from a picture into Cinema Studio's 3D scene as a prop, frame it with the virtual camera and film the path. Read idol-9.md §7.1 and §9 idol-9. Needs idol-1 and idol-4's splat renderer.\n\nWHERE. src/components/cinema/scene-viewer.tsx (the 'object' layout labelled '3D model' at L633), scene-engine.ts, scene-path.tsx and scene-actions.tsx. Add an 'Add a prop' action:\n- pick a picture, or an existing Idol 3D / TripoSplat result from the Library;\n- if it is a picture, run oss-idol (open engine);\n- load the splat into the scene with idol-4's renderer, as a three.js object in the same scene graph, sorted with the MoGe mesh;\n- give it move, scale and turn handles. Idol's predicted camera (IdolCamera, idol-2) can set the first orientation.\nThe prop must appear in the browser render that the open Fly path feeds to Uni3C (scene-engine.ts recordPath), so filming includes it.\n\nTESTS. A scene state round trip with a prop, transforms, a check that the recorded path includes the prop (a pixel test on a frame), and e2e at 1440 and 390 px.\n\nMUST NOT BREAK. The MoGe scene, the camera path, Film this path (N7-5) and recompose.\n\nVERIFY HERE. Demo mode with a sample splat.\n\nCLOUD RULE. None for Idol (it is not hosted). A cloud TripoSplat .ply from the Library can be placed too, because it is an existing model's file.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "GOAL. Put an object made from a picture into Cinema Studio's 3D scene as a prop, frame it with the virtual camera and film the path. Read idol-9.md §7.1 and §9 idol-9. Needs idol-1 and idol-4's splat renderer.\n\nWHERE. src/components/cinema/scene-viewer.tsx (the 'object' layout labelled '3D model' at L633), scene-engine.ts, scene-path.tsx and scene-actions.tsx. Add an 'Add a prop' action:\n- pick a picture, or an existing Idol 3D / TripoSplat result from the Library;\n- if it is a picture, run oss-idol (open engine);\n- load the splat into the scene with idol-4's renderer, as a three.js object in the same scene graph, sorted with the MoGe mesh;\n- give it move, scale and turn handles. Idol's predicted camera (IdolCamera, idol-2) can set the first orientation.\nThe prop must appear in the browser render that the open Fly path feeds to Uni3C (scene-engine.ts recordPath), so filming includes it.\n\nTESTS. A scene state round trip with a prop, transforms, a check that the recorded path includes the prop (a pixel test on a frame), and e2e at 1440 and 390 px.\n\nMUST NOT BREAK. The MoGe scene, the camera path, Film this path (N7-5) and recompose.\n\nVERIFY HERE. Demo mode with a sample splat.\n\nCLOUD RULE. None for Idol (it is not hosted). A cloud TripoSplat .ply from the Library can be placed too, because it is an existing model's file.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): read main's current Image to 3D code first. Pixal3D (oss-pixal3d, scripts/comfy/hand-built/image-to-3d-pixal3d.json) is now the Image to 3D route for a photo, with the server's GLB finish (src/server/model3d-finish.ts) and a CPU turntable; TRELLIS.2 is the fallback and its graph was trimmed; Hunyuan3D 2.1 is shape only (src/lib/av/model3d.ts MODELS_3D). Names, orders and line numbers in this brief predate it. Since then (fd09201, b5ca728): accounts can't start any 3D model yet (POST /api/generations answers 403 own-gpu-tool, and createGenerations refuses it too). The server's finish (scripts/model3d/finish-glb.mjs) accepts only a self-contained binary glTF 2 (every buffer and image inside the file or a data: URI; otherwise it exits 3 with 'external file reference'), and for an account's model at most 32 textures, none over 4096 x 4096, so a new 3D route hands it one such GLB.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"o12-training-kit": {
"title": "O12: the training kit for Fuobe's own LoRAs and the motion library (specs, data-licence log, hosting), without training",
"phase": "Originals",
- "brief": "The plan's \"O12 · Train Fuobe's own LoRAs and the motion library\" (docs/research/fuobe-originals-recipes-5.md) and §6 \"LoRAs Fuobe should train itself\". START by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Nothing can be trained here (no GPU, no paid keys, no owned dataset), so this package builds everything up to the training run, honestly labelled as not yet run:\n1. scripts/train/: one job spec per §6 LoRA (fuobe-soul-core, fuobe-cctv, fuobe-ultrawide-05 first, then the Wan 2.2 I2V LoRAs for Eyes In / Mouth In, Timelapse and Drone Reveal), each with both routes: an AI-Toolkit config for the user's GPU and the fal trainer payload (fal-ai/wan-22-trainer/i2v-a14b etc., from the research JSON), dataset size and caption rules, steps, rank, trigger, and the target library entry.\n2. A data-licence log format (per LoRA: every image/clip source, its licence or ownership proof, consent where people appear) and a checker script that refuses to start a job whose dataset log is incomplete.\n3. The LoRA library: a test that rejects any library entry without a licence snapshot; the planned own LoRAs appear as \"planned\" entries that no preset uses until a trained file exists.\n4. The motion library: a manifest format for short CC0 or own-shot driving clips for the 13 sports moves (Wan Animate 2 / SCAIL-2), a checker for licence fields, and where those moves would pick the clips up once present (they keep their current route until then).\n5. Hosting: how trained files are published to a Fuobe Hugging Face org (a script that uploads a file plus its data-licence log, dry-run by default) and how gen:catalog then picks them up.\n6. A short guide in scripts/train/README.md. Tests for the specs, checkers and library rules.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "The plan's \"O12 · Train Fuobe's own LoRAs and the motion library\" (docs/research/fuobe-originals-recipes-5.md) and §6 \"LoRAs Fuobe should train itself\". START by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there. Nothing can be trained here (no GPU, no paid keys, no owned dataset), so this package builds everything up to the training run, honestly labelled as not yet run:\n1. scripts/train/: one job spec per §6 LoRA (fuobe-soul-core, fuobe-cctv, fuobe-ultrawide-05 first, then the Wan 2.2 I2V LoRAs for Eyes In / Mouth In, Timelapse and Drone Reveal), each with both routes: an AI-Toolkit config for the user's GPU and the fal trainer payload (fal-ai/wan-22-trainer/i2v-a14b etc., from the research JSON), dataset size and caption rules, steps, rank, trigger, and the target library entry.\n2. A data-licence log format (per LoRA: every image/clip source, its licence or ownership proof, consent where people appear) and a checker script that refuses to start a job whose dataset log is incomplete.\n3. The LoRA library: a test that rejects any library entry without a licence snapshot; the planned own LoRAs appear as \"planned\" entries that no preset uses until a trained file exists.\n4. The motion library: a manifest format for short CC0 or own-shot driving clips for the 13 sports moves (Wan Animate 2 / SCAIL-2), a checker for licence fields, and where those moves would pick the clips up once present (they keep their current route until then).\n5. Hosting: how trained files are published to a Fuobe Hugging Face org (a script that uploads a file plus its data-licence log, dry-run by default) and how gen:catalog then picks them up.\n6. A short guide in scripts/train/README.md. Tests for the specs, checkers and library rules.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"w2s-w5": {
"title": "Skills W5: Skills as canvases",
"phase": "Skills",
- "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W2 (the review screen).\n\n**Goal.** See and edit a skill's steps on the Canvas, and turn a canvas into a skill with a form, which makes canvases reachable from Assist, MCP, the CLI and schedules for the first time.\n\n**User story.** \"I open my skill as a canvas to swap a model visually, then save it back. Or I built a canvas and want my team to run it from a form.\"\n\n**Converter** (pure, in `src/lib/catalog/canvas.ts`): `recipeToCanvas(recipe)` and `canvasToRecipe(graph, page)`. Inputs become input nodes (prompt/text, image, video, audio, element); steps become model nodes, with edges from chain slots. Canvas → recipe (the canvas is the 'demo'): unconnected input nodes become inputs (Fixed by default), model nodes become generate steps (their request as `describeNode` builds it), and concatenator and Table nodes compile the way `runCanvas` does (`concatRequest`, `rowRequest`); Table rows become the Many tab's rows (text inputs only, at most 50 × 8, `TABLE_LIMITS`). Only when every slot maps to a port (prompt, images, endImage, video, videos, audio, voice ↔ voiceAudio): recipes using `audio2`, `audios`, `model3d`, `mask`, or chains with `stem`, `index` or `position` open read-only with \"This skill can't be drawn yet\"; a tool step shows as one read-only \"Studio step\" note.\n\n**UI.** The canvas list (`src/components/canvas/canvas-list.tsx`, tabs Mine | Templates at about line 212) gains **Skills**: recipe skills that can be drawn, each with \"Open as canvas\" (makes a new canvas). The canvas editor (`src/components/canvas/canvas-editor.tsx`) menu gets \"Save as skill…\", which opens W2's review screen with the canvas as source.\n\n**Checks and running.** A canvas saved as a skill goes through W1's plan and demo checks before it saves. Once saved it runs from every W1, W3 and W4 entry point, so a canvas can now be run from Assist, MCP, the CLI and schedules.\n\n**Storage.** None (`canvases.graph_json`).\n\n**Tests.** `tests/canvas-recipe.test.ts`: recipe → canvas → recipe is equal for drawable recipes; each refusal; Table rows → rows. Browser: Skills tab and Save as skill at 1440 and 390 px, light and dark (extend `tests/e2e/canvas-smoke.mjs`).\n\n**Demo mode.** Works as the Canvas does in demo mode.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W2 (the review screen).\n\n**Goal.** See and edit a skill's steps on the Canvas, and turn a canvas into a skill with a form, which makes canvases reachable from Assist, MCP, the CLI and schedules for the first time.\n\n**User story.** \"I open my skill as a canvas to swap a model visually, then save it back. Or I built a canvas and want my team to run it from a form.\"\n\n**Converter** (pure, in `src/lib/catalog/canvas.ts`): `recipeToCanvas(recipe)` and `canvasToRecipe(graph, page)`. Inputs become input nodes (prompt/text, image, video, audio, element); steps become model nodes, with edges from chain slots. Canvas → recipe (the canvas is the 'demo'): unconnected input nodes become inputs (Fixed by default), model nodes become generate steps (their request as `describeNode` builds it), and concatenator and Table nodes compile the way `runCanvas` does (`concatRequest`, `rowRequest`); Table rows become the Many tab's rows (text inputs only, at most 50 × 8, `TABLE_LIMITS`). Only when every slot maps to a port (prompt, images, endImage, video, videos, audio, voice ↔ voiceAudio): recipes using `audio2`, `audios`, `model3d`, `mask`, or chains with `stem`, `index` or `position` open read-only with \"This skill can't be drawn yet\"; a tool step shows as one read-only \"Studio step\" note.\n\n**UI.** The canvas list (`src/components/canvas/canvas-list.tsx`, tabs Mine | Templates at about line 212) gains **Skills**: recipe skills that can be drawn, each with \"Open as canvas\" (makes a new canvas). The canvas editor (`src/components/canvas/canvas-editor.tsx`) menu gets \"Save as skill…\", which opens W2's review screen with the canvas as source.\n\n**Checks and running.** A canvas saved as a skill goes through W1's plan and demo checks before it saves. Once saved it runs from every W1, W3 and W4 entry point, so a canvas can now be run from Assist, MCP, the CLI and schedules.\n\n**Storage.** None (`canvases.graph_json`).\n\n**Tests.** `tests/canvas-recipe.test.ts`: recipe → canvas → recipe is equal for drawable recipes; each refusal; Table rows → rows. Browser: Skills tab and Save as skill at 1440 and 390 px, light and dark (extend `tests/e2e/canvas-smoke.mjs`).\n\n**Demo mode.** Works as the Canvas does in demo mode.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"w2s-w6": {
"title": "Skills W6: Fuobe suggests skills and keeps them working",
"phase": "Skills",
- "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W2 (the builder).\n\n**Goal.** Notice repeated work and offer to save it (AWM-style online induction), and keep saved skills healthy as the catalog changes.\n\n**User story.** \"Fuobe notices I've made the same 'cut-out, scene, upscale' chain four times this week and offers to save it. My skill tells me when a step starts failing and suggests a fix.\"\n\n- **Suggestions (automatic 'recording').** A pure `shapeOf(dag)` (in `src/lib/recipe.ts`): the sorted model ids, ops and chain slots of a DAG from `request_json` and `depends_on`, ignoring prompts, inputs, helper features and `eval`. A sweep (when the Library opens, at most once a day, server side in `src/server/recipes.ts`) groups the last 14 days of DAGs by shape. When one shape appears 3 or more times and no saved recipe has it, the Library shows a card above the grid in the All view (`src/components/library-view.tsx`, under the filters; full width at 390 px): \"You've made 'cut-out → scene → turntable' 4 times. Save it as a skill?\" with **Make a skill** (W2 with the newest run's rows), **Not now** and **Don't suggest this**. Dismissed shapes live in a settings row `skills.suggestions` (JSON; no migration). Under public sign-up that row is the owner's (accounts can't change settings): the sweep reads the owner's own generations (accounts' runs stay out of the owner's lists), and accounts get no suggestions.\n- **Run history** per skill from generations whose `request_json` `$.skill.name` matches (`json_extract`; no new table): runs, success rate, spend, last run and favourites. Shown as a **History** section in the skill dialog (`src/components/assist/skills-view.tsx`, under Files): the last 10 runs with status, cost, date and a link to the run's batch in the Library.\n- **Fix suggestions (verification upkeep).** A step that failed in 2 of the last 5 runs, was moved by `REPLACED_BY`, or was switched off in Models & licences gets **Suggest a fix** on the skill's \"Needs a re-check\" line: models with the same op and kind that are on (the `search_models` logic), with their prices. The user picks one; W1's plan and demo checks run; then it saves. Never swapped automatically.\n- **Finding skills (Assist).** Past `SKILL_INDEX` (60, `src/server/assist/context.ts`), rank `list_skills` (`src/server/assist/context-tools.ts`, word match today) and the context index by word match, use count (from history) and recency, so the most used recipe skills are always in Assist's context.\n- **Evaluation.** `pnpm eval:from-skill <name>` writes a `scripts/eval` case from the recipe's examples and checks, so the harness can regression-test a skill on a GPU or the cloud under its spend cap.\n- **Storage.** None (a settings row and `request_json`).\n- **Demo mode.** Suggestions and history work on demo rows; a suggestion built from demo rows says so.\n- **Tests.** `tests/skill-suggest.test.ts`: the same chain with different prompts and inputs has one shape; helper and `eval` rows are ignored; the 3-in-14-days threshold; dismissal; no suggestion for a shape a saved recipe has. `tests/recipes.test.ts`: history from the `skill` stamp; fix candidates share op and kind and are switched on; ranking puts a used skill first. Browser: the suggestion card and the History section at 1440 and 390 px, light and dark, in demo mode.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W2 (the builder).\n\n**Goal.** Notice repeated work and offer to save it (AWM-style online induction), and keep saved skills healthy as the catalog changes.\n\n**User story.** \"Fuobe notices I've made the same 'cut-out, scene, upscale' chain four times this week and offers to save it. My skill tells me when a step starts failing and suggests a fix.\"\n\n- **Suggestions (automatic 'recording').** A pure `shapeOf(dag)` (in `src/lib/recipe.ts`): the sorted model ids, ops and chain slots of a DAG from `request_json` and `depends_on`, ignoring prompts, inputs, helper features and `eval`. A sweep (when the Library opens, at most once a day, server side in `src/server/recipes.ts`) groups the last 14 days of DAGs by shape. When one shape appears 3 or more times and no saved recipe has it, the Library shows a card above the grid in the All view (`src/components/library-view.tsx`, under the filters; full width at 390 px): \"You've made 'cut-out → scene → turntable' 4 times. Save it as a skill?\" with **Make a skill** (W2 with the newest run's rows), **Not now** and **Don't suggest this**. Dismissed shapes live in a settings row `skills.suggestions` (JSON; no migration). Under public sign-up that row is the owner's (accounts can't change settings): the sweep reads the owner's own generations (accounts' runs stay out of the owner's lists), and accounts get no suggestions.\n- **Run history** per skill from generations whose `request_json` `$.skill.name` matches (`json_extract`; no new table): runs, success rate, spend, last run and favourites. Shown as a **History** section in the skill dialog (`src/components/assist/skills-view.tsx`, under Files): the last 10 runs with status, cost, date and a link to the run's batch in the Library.\n- **Fix suggestions (verification upkeep).** A step that failed in 2 of the last 5 runs, was moved by `REPLACED_BY`, or was switched off in Models & licences gets **Suggest a fix** on the skill's \"Needs a re-check\" line: models with the same op and kind that are on (the `search_models` logic), with their prices. The user picks one; W1's plan and demo checks run; then it saves. Never swapped automatically.\n- **Finding skills (Assist).** Past `SKILL_INDEX` (60, `src/server/assist/context.ts`), rank `list_skills` (`src/server/assist/context-tools.ts`, word match today) and the context index by word match, use count (from history) and recency, so the most used recipe skills are always in Assist's context.\n- **Evaluation.** `pnpm eval:from-skill <name>` writes a `scripts/eval` case from the recipe's examples and checks, so the harness can regression-test a skill on a GPU or the cloud under its spend cap.\n- **Storage.** None (a settings row and `request_json`).\n- **Demo mode.** Suggestions and history work on demo rows; a suggestion built from demo rows says so.\n- **Tests.** `tests/skill-suggest.test.ts`: the same chain with different prompts and inputs has one shape; helper and `eval` rows are ignored; the 3-in-14-days threshold; dismissal; no suggestion for a shape a saved recipe has. `tests/recipes.test.ts`: history from the `skill` stamp; fix candidates share op and kind and are switched on; ranking puts a used skill first. Browser: the suggestion card and the History section at 1440 and 390 px, light and dark, in demo mode.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"w2s-w7": {
"title": "Skills W7: Skills that span studios",
"phase": "Skills",
- "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W3 (`run_skill`, `draftFromThread`).\n\n**Goal.** Let a studio step feed later steps, and a generate step feed a studio step (\"dub, then captions, then a 9:16 cut\"), which needs waiting across modules that `createPipeline` can't validate as one (studio tools run through STUDIO_ROUTES, `src/server/assist/studio-tools.ts` / `studio-routes.ts`, and return a StudioRun).\n\n**User story.** \"My 'Spanish short' skill dubs the clip, burns captions and cuts a 9:16 version. I start it once and each step starts by itself.\"\n\n- **Format.** Recipe version 2 (version 1 files still load): `{{steps.<key>.output}}` (the step's first output of the kind the field takes) in a tool step's input or a generate step's input, and tool steps anywhere in the order. `recipeProblems` checks that every reference points at an earlier step of a kind that fits.\n- **Builder.** W3's `draftFromThread` stops refusing cross-call references into and out of studio tools and writes them as step references.\n- **Runner.** `runRecipe` creates a `skill_runs` row, starts every step whose inputs exist (generate DAG parts through `createPipeline`, tool steps through `executeTool`, keeping each `StudioRun`'s ids and `href`), and a sweep (like the scheduled tasks' 30 s sweep, started with the generation runner) starts each waiting step when the generations it needs succeed. A failure fails the steps after it and says which step and why. `createPipeline`'s `existing` option may link later generate steps to a studio's result ids directly (a guess; untested).\n- **Checks.** Plan check per step, with stand-in files for step references. Studio dry runs: a new `src/server/demo-scope.ts` (`runAsDemo(fn)` and `inDemoScope()` on `AsyncLocalStorage`; neither exists yet); `chooseRoute` returns the demo route inside the scope and rows created inside it get `request.demo` (W1's flag), so studio modules run as demos with no change to their code; the check then deletes the studio records it made (dub session, Layers project…).\n- **Running** from every place W1, W3 and W4 added (Run dialog, `run_skill`, schedules, CLI): the result names the run and which steps wait; `run_skill`'s result says so to the agent.\n- **UI.** The Run toast links to the run's progress, shown in the skill dialog (`src/components/assist/skills-view.tsx`; in W6's History section when W6 has shipped, else a Runs section of its own): \"Dub · done → Captions · running → 9:16 cut · waiting\", each with \"Open in <Studio>\" when the studio gave a page.\n- **Storage.** One migration (the next `MIGRATIONS` entry in `src/server/db.ts`): `skill_runs` (id, skill, values_json, state_json with each step's status, generation ids and studio href, created_at, updated_at), with `values_json` and `state_json` in `ASSET_REFS`; documented in `docs/ARCHITECTURE.md`.\n- **Demo mode.** The whole chain runs on the mock provider.\n- **Tests.** `tests/skill-runs.test.ts`: a dub → captions → reframe recipe in demo mode starts the dub, waits, then starts the rest; a failed dub fails the rest with its reason; state survives a restart (reloaded from `skill_runs`); the studio dry run deletes its records. Browser: the run's progress in the skill dialog at 1440 and 390 px, light and dark.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "Context: Fuobe (branch claude/fuobe-parity-4; this plan was written against 7d7a765) is an open-source 1:1 alternative to Higgsfield (image, video and audio studios, Assist, MCP, CLI, Canvas, Library). This package comes from docs/research/work2skill-7.md (research on Work2Skill: keep its demo-to-skill idea and authoring rules, drop the screen recording; build skills from Fuobe's exact records, give them typed inputs, check them by running them before saving, and replay them without an LLM). All packages: typecheck, lint, the full vitest suite and the browser checks pass; demo mode works without keys; docs/cli.md is updated when the CLI changes (docs/STATUS.md and docs/ARCHITECTURE.md are left to the docs pass before each PR); read node_modules/next/dist/docs/ before writing route handlers (AGENTS.md) and follow the existing routes' pattern (RouteContext, await connection()); licences are information, not gates; a cloud route only where a model is actually hosted.\n\nBuilds on W1 (the recipe format in docs/research/work2skill-7.md §9 and W1's runner, checks and Run dialog) and W3 (`run_skill`, `draftFromThread`).\n\n**Goal.** Let a studio step feed later steps, and a generate step feed a studio step (\"dub, then captions, then a 9:16 cut\"), which needs waiting across modules that `createPipeline` can't validate as one (studio tools run through STUDIO_ROUTES, `src/server/assist/studio-tools.ts` / `studio-routes.ts`, and return a StudioRun).\n\n**User story.** \"My 'Spanish short' skill dubs the clip, burns captions and cuts a 9:16 version. I start it once and each step starts by itself.\"\n\n- **Format.** Recipe version 2 (version 1 files still load): `{{steps.<key>.output}}` (the step's first output of the kind the field takes) in a tool step's input or a generate step's input, and tool steps anywhere in the order. `recipeProblems` checks that every reference points at an earlier step of a kind that fits.\n- **Builder.** W3's `draftFromThread` stops refusing cross-call references into and out of studio tools and writes them as step references.\n- **Runner.** `runRecipe` creates a `skill_runs` row, starts every step whose inputs exist (generate DAG parts through `createPipeline`, tool steps through `executeTool`, keeping each `StudioRun`'s ids and `href`), and a sweep (like the scheduled tasks' 30 s sweep, started with the generation runner) starts each waiting step when the generations it needs succeed. A failure fails the steps after it and says which step and why. `createPipeline`'s `existing` option may link later generate steps to a studio's result ids directly (a guess; untested).\n- **Checks.** Plan check per step, with stand-in files for step references. Studio dry runs: a new `src/server/demo-scope.ts` (`runAsDemo(fn)` and `inDemoScope()` on `AsyncLocalStorage`; neither exists yet); `chooseRoute` returns the demo route inside the scope and rows created inside it get `request.demo` (W1's flag), so studio modules run as demos with no change to their code; the check then deletes the studio records it made (dub session, Layers project…).\n- **Running** from every place W1, W3 and W4 added (Run dialog, `run_skill`, schedules, CLI): the result names the run and which steps wait; `run_skill`'s result says so to the agent.\n- **UI.** The Run toast links to the run's progress, shown in the skill dialog (`src/components/assist/skills-view.tsx`; in W6's History section when W6 has shipped, else a Runs section of its own): \"Dub · done → Captions · running → 9:16 cut · waiting\", each with \"Open in <Studio>\" when the studio gave a page.\n- **Storage.** One migration (the next `MIGRATIONS` entry in `src/server/db.ts`): `skill_runs` (id, skill, values_json, state_json with each step's status, generation ids and studio href, created_at, updated_at), with `values_json` and `state_json` in `ASSET_REFS`; documented in `docs/ARCHITECTURE.md`.\n- **Demo mode.** The whole chain runs on the mock provider.\n- **Tests.** `tests/skill-runs.test.ts`: a dub → captions → reframe recipe in demo mode starts the dub, waits, then starts the rest; a failed dub fails the rest with its reason; state survives a restart (reloaded from `skill_runs`); the studio dry run deletes its records. Browser: the run's progress in the skill dialog at 1440 and 390 px, light and dark.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-kling-4": {
"title": "Kling 4.0 in the cloud: 3-30 s takes, multi-shot, references and video edit, now that fal's API is open",
@@ -272,57 +272,57 @@
"nm10-h3-any-gpu": {
"title": "MiniMax H3 on 8-24 GB GPUs, and faster H3 decoding: FastH3 V2 and Trim tiers, Sol-H3-VAE and the core H3 latent upscaler",
"phase": "New models 10",
- "brief": "WHY. Fuobe's open H3 graphs (Video studio, Cinema, Character swap, Person remover) ask for 32 GB (manifest vramGb 32: fl2va pruned int8 21 GB + Qwen3-VL 32B nvfp4 encoder + Turbo v4 LoRA + SLA attention). In October the community made H3 run on ordinary cards: FastVideo's FastH3 Trim ran at an 8 GB cap (nvfp4) and does a 5 s 480p clip in 13 s on a 5090 and 44 s on a 4090; FastH3 V2 fits 16 GB; ComfyUI core merged a distilled decoder (2K decode 14.5 s -> 0.89 s) and H3 latent upscalers. This turns 'Needs a bigger GPU' into 'Ready' for most owners.\nWHERE IT SHOWS UP. Video studio (H3 Quality / GPU tier), the /connect pre-flight board, Settings → Models & licences (tier rows), and every studio that runs open H3 (Cinema takes, Genjutsu, Character Swap Studio, Remove object) through the shared ModelDef.\nWhat exists: oss-minimax-h3 with graphs minimax-h3-{t2v,i2v,flf2v} (Turbo v4 LoRA, 8 steps, H3SLAAttention needs Triton), -hq variants (20 steps), minimax-h3-orbit, and the Character Swap / Person remover graphs (Ref2VA). Read workflows/comfyui/manifest.json entries and src/lib/catalog/models.ts first.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nNew pieces (record each in the research JSON with revision, sizes, licence):\n- FastVideo/FastVideo-FastH3-8-Step-V2 @ 3da2ddfe (MiniMax H3 Community; native templates since ComfyUI 0.36, 2026-09-15; fits 16 GB, not 12 GB, in FastVideo's tests).\n- FastVideo/FastVideo-FastH3-Trim-Comfy @ f66c13dc (2026-10-06; MiniMax H3 Community License; 42 of 50 blocks; 8 steps DMD2; res_multistep / simple; MiniMaxH3SigmaShift 10 video / 3 audio): fastvideo_fasth3_trim_8step_nvfp4 11.9 GB (Blackwell: RTX 50, RTX PRO 6000, DGX Spark), _fp8 19.7 GB (Ada+), _int8_convrot 18.9 GB (any recent NVIDIA; template default), _bf16 37.5 GB; plus Qwen3-VL encoders (bf16 / int8 / nvfp4-awq) and the H3 VAEs in the same repo. Measured end to end for 5 s with audio: 5090 13.4 s at 480p, 35.4 s at 768p; 4090 43.9 s / 132.8 s; 4090 capped at 8 GB 82 s at 480p. Labelled experimental: quality is below V2. Only a text-to-video template is named: test whether first-frame / first-last-frame conditioning works on Trim before offering i2v / flf2v on it, and report.\n- Sol-H3-VAE (Efficient-Large-Model/Sol-H3-VAE @ 6a8a33fc; licence tag empty: record 'unconfirmed') with its core loader, ComfyUI PR #17411, and the core H3 latent upscaler nodes, PR #17412, both merged 2026-10-28 into master (not in v0.43.1). LightVAE (ModelTC; Apache-2.0 per comfyui-wiki; up to 2.94x faster Wan/H3 decode) as an alternative if Sol needs the new loader.\n- Optional speed: Spark-H3 block sparse attention (Apache-2.0, prebuilt for RTX 40/50, 1.73x DiT at 10% density) and the Veda node (~3x claimed): offer only behind an 'Experimental speed' switch, never default.\nBuild:\n1. A pure, tested tier chooser (src/lib/gpu/h3-tier.ts or next to readiness.ts): device (VRAM, compute capability from the GPU status check: lastGpuDevice in src/server/account-gpu.ts for accounts, /system_stats for the owner) → tier: >= 32 GB 'Standard' (today's graphs); 16-31 GB 'FastH3 V2'; 12-15 GB 'Trim int8 / fp8' with offload; 8-11 GB Blackwell 'Trim nvfp4'; below 8 GB or pre-Ada 'Needs a bigger GPU'. The user can override in Options → GPU tier. The chooser also picks the encoder variant (nvfp4-awq vs int8) the way the repo pairs them.\n2. Graphs: minimax-h3-fast-t2v (FastH3 V2 template), minimax-h3-trim-t2v (Trim template), and i2v / flf2v variants only where step 1's test says they work. scripts/comfy hand-built specs, build, validate on the CPU ComfyUI; pins and sizes in model-pins.json; manifest vramGb per tier with a note that the 8 GB figure is FastVideo's capped-memory test.\n3. ComfyUI pin bump: Sol-H3-VAE and the H3 latent upscaler need a master commit at or after the 2026-10-28 merges. Bump scripts/comfy/install-comfyui.sh and the manifest's comfyuiCommit to a tested master commit, re-validate the whole library (report every graph's result), and add 'Fast decode (Sol-H3-VAE)' as an H3 option once it validates. Coordinate with n7-3-regenerate-2k: its brief installs the LBH latent-upscaler pack; with core #17412 that pack may be unnecessary: say so in your report and in docs/research/new-models-10.md §5.\n4. Studios that run Ref2VA (Character Swap, Person remover, the H3 Relay graphs) keep their current requirements unless a Ref2VA Trim exists (none found): their /connect rows say so plainly.\n5. /connect: STUDIO_ROWS show the tier a device gets ('Ready on this GPU: FastH3 Trim (fp8)'), and Settings → Models lists the tier files with their licence.\nCloud: unchanged (fal's hosted MiniMax H3 / H3 Max). Hosted cheaper tiers (fal H3 Max Turbo, Replicate minimax/h3-lite and h3-highspeed) are catalogued by nm10-hosted-catchup, under their own names.\nTests: tier chooser table tests (every VRAM / arch edge), library tests for the new graphs, a re-validation report of the full library after the pin bump, readiness tests for each tier; browser checks of the Video studio's tier display and /connect at 1440 and 390 px, light and dark, in demo mode. No GPU here: speeds and the 8 GB claim are FastVideo's, and must be labelled that way.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Fuobe's open H3 graphs (Video studio, Cinema, Character swap, Person remover) ask for 32 GB (manifest vramGb 32: fl2va pruned int8 21 GB + Qwen3-VL 32B nvfp4 encoder + Turbo v4 LoRA + SLA attention). In October the community made H3 run on ordinary cards: FastVideo's FastH3 Trim ran at an 8 GB cap (nvfp4) and does a 5 s 480p clip in 13 s on a 5090 and 44 s on a 4090; FastH3 V2 fits 16 GB; ComfyUI core merged a distilled decoder (2K decode 14.5 s -> 0.89 s) and H3 latent upscalers. This turns 'Needs a bigger GPU' into 'Ready' for most owners.\nWHERE IT SHOWS UP. Video studio (H3 Quality / GPU tier), the /connect pre-flight board, Settings → Models & licences (tier rows), and every studio that runs open H3 (Cinema takes, Genjutsu, Character Swap Studio, Remove object) through the shared ModelDef.\nWhat exists: oss-minimax-h3 with graphs minimax-h3-{t2v,i2v,flf2v} (Turbo v4 LoRA, 8 steps, H3SLAAttention needs Triton), -hq variants (20 steps), minimax-h3-orbit, and the Character Swap / Person remover graphs (Ref2VA). Read workflows/comfyui/manifest.json entries and src/lib/catalog/models.ts first.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nNew pieces (record each in the research JSON with revision, sizes, licence):\n- FastVideo/FastVideo-FastH3-8-Step-V2 @ 3da2ddfe (MiniMax H3 Community; native templates since ComfyUI 0.36, 2026-09-15; fits 16 GB, not 12 GB, in FastVideo's tests).\n- FastVideo/FastVideo-FastH3-Trim-Comfy @ f66c13dc (2026-10-06; MiniMax H3 Community License; 42 of 50 blocks; 8 steps DMD2; res_multistep / simple; MiniMaxH3SigmaShift 10 video / 3 audio): fastvideo_fasth3_trim_8step_nvfp4 11.9 GB (Blackwell: RTX 50, RTX PRO 6000, DGX Spark), _fp8 19.7 GB (Ada+), _int8_convrot 18.9 GB (any recent NVIDIA; template default), _bf16 37.5 GB; plus Qwen3-VL encoders (bf16 / int8 / nvfp4-awq) and the H3 VAEs in the same repo. Measured end to end for 5 s with audio: 5090 13.4 s at 480p, 35.4 s at 768p; 4090 43.9 s / 132.8 s; 4090 capped at 8 GB 82 s at 480p. Labelled experimental: quality is below V2. Only a text-to-video template is named: test whether first-frame / first-last-frame conditioning works on Trim before offering i2v / flf2v on it, and report.\n- Sol-H3-VAE (Efficient-Large-Model/Sol-H3-VAE @ 6a8a33fc; licence tag empty: record 'unconfirmed') with its core loader, ComfyUI PR #17411, and the core H3 latent upscaler nodes, PR #17412, both merged 2026-10-28 into master (not in v0.43.1). LightVAE (ModelTC; Apache-2.0 per comfyui-wiki; up to 2.94x faster Wan/H3 decode) as an alternative if Sol needs the new loader.\n- Optional speed: Spark-H3 block sparse attention (Apache-2.0, prebuilt for RTX 40/50, 1.73x DiT at 10% density) and the Veda node (~3x claimed): offer only behind an 'Experimental speed' switch, never default.\nBuild:\n1. A pure, tested tier chooser (src/lib/gpu/h3-tier.ts or next to readiness.ts): device (VRAM, compute capability from the GPU status check: lastGpuDevice in src/server/account-gpu.ts for accounts, /system_stats for the owner) → tier: >= 32 GB 'Standard' (today's graphs); 16-31 GB 'FastH3 V2'; 12-15 GB 'Trim int8 / fp8' with offload; 8-11 GB Blackwell 'Trim nvfp4'; below 8 GB or pre-Ada 'Needs a bigger GPU'. The user can override in Options → GPU tier. The chooser also picks the encoder variant (nvfp4-awq vs int8) the way the repo pairs them.\n2. Graphs: minimax-h3-fast-t2v (FastH3 V2 template), minimax-h3-trim-t2v (Trim template), and i2v / flf2v variants only where step 1's test says they work. scripts/comfy hand-built specs, build, validate on the CPU ComfyUI; pins and sizes in model-pins.json; manifest vramGb per tier with a note that the 8 GB figure is FastVideo's capped-memory test.\n3. ComfyUI pin bump: Sol-H3-VAE and the H3 latent upscaler need a master commit at or after the 2026-10-28 merges. Bump scripts/comfy/install-comfyui.sh and the manifest's comfyuiCommit to a tested master commit, re-validate the whole library (report every graph's result), and add 'Fast decode (Sol-H3-VAE)' as an H3 option once it validates. Coordinate with n7-3-regenerate-2k: its brief installs the LBH latent-upscaler pack; with core #17412 that pack may be unnecessary: say so in your report and in docs/research/new-models-10.md §5.\n4. Studios that run Ref2VA (Character Swap, Person remover, the H3 Relay graphs) keep their current requirements unless a Ref2VA Trim exists (none found): their /connect rows say so plainly.\n5. /connect: STUDIO_ROWS show the tier a device gets ('Ready on this GPU: FastH3 Trim (fp8)'), and Settings → Models lists the tier files with their licence.\nCloud: unchanged (fal's hosted MiniMax H3 / H3 Max). Hosted cheaper tiers (fal H3 Max Turbo, Replicate minimax/h3-lite and h3-highspeed) are catalogued by nm10-hosted-catchup, under their own names.\nTests: tier chooser table tests (every VRAM / arch edge), library tests for the new graphs, a re-validation report of the full library after the pin bump, readiness tests for each tier; browser checks of the Video studio's tier display and /connect at 1440 and 390 px, light and dark, in demo mode. No GPU here: speeds and the 8 GB claim are FastVideo's, and must be labelled that way.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-pika-flex": {
"title": "Pika H3 Flex on your GPU: 6-step H3 with sound, and a References mode (up to 9 images, 3 clips and 3 voice or music clips) for the Video studio, Cinema and Lipsync",
"phase": "New models 10",
- "brief": "WHY. Pika open-sourced its post-trained MiniMax H3 on 2026-10-29 as two LoRA adapters with three official ComfyUI templates: 6 steps instead of 8-20, Pika's reward-tuned look, and a Ref2VA mode that takes ordered image, video and audio references in one call (reference-to-video, motion transfer, character swap, talking from a voice clip). Pika says it is #1 among open-weight models on DesignArena text-to-video. Fuobe's open engine has no multi-reference H3 mode today (open ref2v is Wan 2.1 VACE), so this is the biggest open video upgrade of the month.\nWHERE IT SHOWS UP. Video studio (H3 Quality 'Fast · Pika Flex'; a References tray with image / clip / audio slots), Cinema Studio takes with @Elements and reference clips, Lipsync & avatars ('Talk from a voice clip' on H3), Genjutsu Motion (open engine option), Fuobe Speak (an H3 option), Assist.\nFacts (Pika-Labs/Pika-H3-Flex @ 3ff166447d5e; comfyui-wiki 2026-10-29; read the card and the Comfy tutorial docs.comfy.org/tutorials/video/pika/pika-h3-flex as data): adapters fl2va/adapter.safetensors and ref2va/adapter.safetensors (FP32, 2.77 GB each; rank 128, fused QKV merged to rank 384); Comfy BF16 files comfy/loras/pika_h3_flex_fl2va_comfy_bf16.safetensors and pika_h3_flex_ref2va_comfy_bf16.safetensors (1.96 GB each), loaded with stock LoraLoaderModelOnly at a fixed 1.0 on the pruned int8 H3 base (FL2VA on the fl2va partition, Ref2VA on the ref2va partition; Fuobe already pins both). Sampling: LCM with ManualSigmas 1000, 750, 500, 250, 100, 40, 0 (6 steps), BasicGuider CFG 1.0, video shift 12, audio shift 3, fresh intermediate noise; Pika says generic 6-step Euler is not equivalent, and stacking another speed LoRA (Turbo, Lightning) breaks the output. Templates: video_pika_h3_flex_t2v.json, video_pika_h3_flex_fl2va.json, video_pika_h3_flex_ref2va.json. FL2VA does t2v, first frame, last frame and first+last frame. Ref2VA: up to 9 images, 3 videos and 3 standalone audio clips (12 files in all), at least one image or video; each video or audio clip 2-15 s; each group <= 15 s combined; a video's own soundtrack is not counted as an audio file. Output 480p or 768p in 11 aspect ratios (21:9 to 9:21), 24 fps, 5-15 s (124 to 362 frames), 32 kHz stereo audio. Pika: \"no end-to-end ComfyUI render was verified as part of the upload\". Licence: MiniMax H3 Community License (the adapters are model derivatives; keep Pika's NOTICE with the Mellis, Inc. copyright); example code Apache-2.0. Pika's hosted extras (1080p-4K draft upsampling, five audio stems, prompt enhancement) are Pika's own API, not fal or Replicate.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nAlternatives to record (not build unless cheap): Taobao's MiniMax-H3-PTD-LoRAs (Ref2VA 4-step 5.58 GB, 8-step 11.11 GB; MiniMax H3 Community) and RefAsymOPD; FastVideo's FastH3 Omni (8-step references with audio).\nBuild:\n1. Graphs minimax-h3-flex-t2v, -flex-i2v / -flex-flf2v (FL2VA template with first and/or last frame bound) and -flex-ref2va (references bound as ordered lists: images[], videos[], audios[] with the template's own nodes). Specs, build, validate on the CPU ComfyUI, pin the two Comfy LoRA files with sizes and SHA-256 from the HF tree, manifest notes (6 steps, no other speed LoRA, 480p/768p, the 17n+5-style frame grid H3 uses: 124 frames = 5 s).\n2. oss-minimax-h3: a Quality choice 'Fast · Pika Flex (6 steps)' beside Standard (Turbo v4, 8) and Sharper (20). Since it needs the Ref2VA partition too, show the extra download on /connect.\n3. A References mode on the open engine for H3: the Video studio's existing reference images and clips gain an audio slot (voice or music) when the model is H3 Flex; validation of the limits above before upload; a clear order ('Image 1, Image 2, Clip 1, Voice 1') the prompt can cite. Cinema: @Elements and reference clips feed Ref2VA on the open engine. Lipsync & avatars: 'Talk from a voice clip' = one image + one audio reference + words (H3 makes the clip with its own sound): label it as generation, not lip-sync of existing footage.\n4. Do not replace Character swap's Akatz LoRA graph (a different LoRA on the same partition); Character Swap Studio is untouched.\n5. CLOUD: Pika H3 Flex itself is not on fal or Replicate (fal's full catalog on 2026-11-01 has no Pika H3 endpoint). Its base, MiniMax H3, is hosted with LoRA support (minimax/h3/image-to-video/lora, minimax/h3/reference-to-video/lora): fetch both schemas and check whether they accept these Diffusers-format adapters by URL AND let the run use Pika's 6-step schedule; build a cloud route only if both are true. If fal runs its own step count, the adapter would run off its training schedule: then Flex is open-engine only, and the cloud keeps today's hosted H3 under its own name.\n6. Licence rows (adapters, NOTICE text, the H3 base) in Settings → Models & licences, switched on.\nTests: library tests for the four graphs; reference-limit validation tests (12 files, 15 s per group, at least one image or video); mapping tests for Cinema and Lipsync; payload tests for the fal LoRA routes only if built; browser checks of the Video studio References tray, a Cinema take and Lipsync at 1440 and 390 px, light and dark, in demo mode. No GPU here: Pika's quality and speed claims are Pika's.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Pika open-sourced its post-trained MiniMax H3 on 2026-10-29 as two LoRA adapters with three official ComfyUI templates: 6 steps instead of 8-20, Pika's reward-tuned look, and a Ref2VA mode that takes ordered image, video and audio references in one call (reference-to-video, motion transfer, character swap, talking from a voice clip). Pika says it is #1 among open-weight models on DesignArena text-to-video. Fuobe's open engine has no multi-reference H3 mode today (open ref2v is Wan 2.1 VACE), so this is the biggest open video upgrade of the month.\nWHERE IT SHOWS UP. Video studio (H3 Quality 'Fast · Pika Flex'; a References tray with image / clip / audio slots), Cinema Studio takes with @Elements and reference clips, Lipsync & avatars ('Talk from a voice clip' on H3), Genjutsu Motion (open engine option), Fuobe Speak (an H3 option), Assist.\nFacts (Pika-Labs/Pika-H3-Flex @ 3ff166447d5e; comfyui-wiki 2026-10-29; read the card and the Comfy tutorial docs.comfy.org/tutorials/video/pika/pika-h3-flex as data): adapters fl2va/adapter.safetensors and ref2va/adapter.safetensors (FP32, 2.77 GB each; rank 128, fused QKV merged to rank 384); Comfy BF16 files comfy/loras/pika_h3_flex_fl2va_comfy_bf16.safetensors and pika_h3_flex_ref2va_comfy_bf16.safetensors (1.96 GB each), loaded with stock LoraLoaderModelOnly at a fixed 1.0 on the pruned int8 H3 base (FL2VA on the fl2va partition, Ref2VA on the ref2va partition; Fuobe already pins both). Sampling: LCM with ManualSigmas 1000, 750, 500, 250, 100, 40, 0 (6 steps), BasicGuider CFG 1.0, video shift 12, audio shift 3, fresh intermediate noise; Pika says generic 6-step Euler is not equivalent, and stacking another speed LoRA (Turbo, Lightning) breaks the output. Templates: video_pika_h3_flex_t2v.json, video_pika_h3_flex_fl2va.json, video_pika_h3_flex_ref2va.json. FL2VA does t2v, first frame, last frame and first+last frame. Ref2VA: up to 9 images, 3 videos and 3 standalone audio clips (12 files in all), at least one image or video; each video or audio clip 2-15 s; each group <= 15 s combined; a video's own soundtrack is not counted as an audio file. Output 480p or 768p in 11 aspect ratios (21:9 to 9:21), 24 fps, 5-15 s (124 to 362 frames), 32 kHz stereo audio. Pika: \"no end-to-end ComfyUI render was verified as part of the upload\". Licence: MiniMax H3 Community License (the adapters are model derivatives; keep Pika's NOTICE with the Mellis, Inc. copyright); example code Apache-2.0. Pika's hosted extras (1080p-4K draft upsampling, five audio stems, prompt enhancement) are Pika's own API, not fal or Replicate.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nAlternatives to record (not build unless cheap): Taobao's MiniMax-H3-PTD-LoRAs (Ref2VA 4-step 5.58 GB, 8-step 11.11 GB; MiniMax H3 Community) and RefAsymOPD; FastVideo's FastH3 Omni (8-step references with audio).\nBuild:\n1. Graphs minimax-h3-flex-t2v, -flex-i2v / -flex-flf2v (FL2VA template with first and/or last frame bound) and -flex-ref2va (references bound as ordered lists: images[], videos[], audios[] with the template's own nodes). Specs, build, validate on the CPU ComfyUI, pin the two Comfy LoRA files with sizes and SHA-256 from the HF tree, manifest notes (6 steps, no other speed LoRA, 480p/768p, the 17n+5-style frame grid H3 uses: 124 frames = 5 s).\n2. oss-minimax-h3: a Quality choice 'Fast · Pika Flex (6 steps)' beside Standard (Turbo v4, 8) and Sharper (20). Since it needs the Ref2VA partition too, show the extra download on /connect.\n3. A References mode on the open engine for H3: the Video studio's existing reference images and clips gain an audio slot (voice or music) when the model is H3 Flex; validation of the limits above before upload; a clear order ('Image 1, Image 2, Clip 1, Voice 1') the prompt can cite. Cinema: @Elements and reference clips feed Ref2VA on the open engine. Lipsync & avatars: 'Talk from a voice clip' = one image + one audio reference + words (H3 makes the clip with its own sound): label it as generation, not lip-sync of existing footage.\n4. Do not replace Character swap's Akatz LoRA graph (a different LoRA on the same partition); Character Swap Studio is untouched.\n5. CLOUD: Pika H3 Flex itself is not on fal or Replicate (fal's full catalog on 2026-11-01 has no Pika H3 endpoint). Its base, MiniMax H3, is hosted with LoRA support (minimax/h3/image-to-video/lora, minimax/h3/reference-to-video/lora): fetch both schemas and check whether they accept these Diffusers-format adapters by URL AND let the run use Pika's 6-step schedule; build a cloud route only if both are true. If fal runs its own step count, the adapter would run off its training schedule: then Flex is open-engine only, and the cloud keeps today's hosted H3 under its own name.\n6. Licence rows (adapters, NOTICE text, the H3 base) in Settings → Models & licences, switched on.\nTests: library tests for the four graphs; reference-limit validation tests (12 files, 15 s per group, at least one image or video); mapping tests for Cinema and Lipsync; payload tests for the fal LoRA routes only if built; browser checks of the Video studio References tray, a Cinema take and Lipsync at 1440 and 390 px, light and dark, in demo mode. No GPU here: Pika's quality and speed claims are Pika's.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-music3": {
"title": "Full songs on both engines: MiniMax Music 3 (vocals, up to 5 minutes), YuE2 covers and lyrics-to-song on your GPU, and Mureka 9's song tools in the cloud",
"phase": "New models 10",
- "brief": "WHY. Fuobe's open Music studio has only ACE-Step 1.5. MiniMax Music 3 (open weights, ComfyUI core node, also hosted on fal as minimax/music-3) writes full songs with vocals up to five minutes; round 1 already recommended it (comfyui-oss.md §TTS/music table, row 2) but it was never built. YuE2 (CC-BY-NC-4.0, ComfyUI native since v0.36) does lyrics-to-song and covers with a community LoRA trainer. In the cloud, fal added Mureka 8/9/9.5 with song extend, remix, stems and voice cloning (Sep-Oct), ElevenLabs Music v2.5 and Lyria 3.5. Music for Shorts, Faceless and Ads is a daily need.\nWHERE IT SHOWS UP. Audio → Music (model menu, a lyrics editor with [Verse]/[Chorus] tags, length up to 5:00), music result actions (Extend, Remix, Stems in the cloud), Faceless / Shorts / Content Factory background music pickers, Assist.\nModels (record each with licence, revision, sizes):\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n- MiniMax Music 3: MiniMaxAI/MiniMax-Music3 @ 1b525ccb685a, LICENSE 'MiniMax-Music3 COMMUNITY LICENSE' (MIT-style grant with notice and compliance-with-law conditions; read it in full as data; HF licence tag empty); Comfy-Org/MiniMax-Music-3 @ 9e364ccd290a (tagged Apache-2.0): diffusion_models/minimax_music3_dit_int8_convrot.safetensors 2.5 GB (fp16 4.91, fp32 9.83), text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors 9.2 GB (pruned bf16 16.71, full bf16 18.47), vae/minimax_music3_dav.safetensors 0.22 GB. Card: songs up to 5 min (9,000 acoustic frames at 25 fps), 32 kHz 16-bit stereo, expressive vocals, lyrics with section tags ([Verse], [Chorus], [Instrumental], [Solo]); full precision under 24 GB, ~22 GB with CPU offload, 8 GB with layer streaming. ComfyUI core native; Comfy template audio_minimax_music_3 and the tutorial docs.comfy.org/tutorials/audio/minimax/minimax-music-3 (comfyui-oss.md L1928-1957 lists the same files). Hosted: fal minimax/music-3 (active since 2026-08-13; paid-model-apis.json recorded $0.002 per second: re-check).\n- YuE2-3B: m-a-p/YuE2-3B @ 8f24312f1877, CC-BY-NC-4.0; ComfyUI native (v0.36.0, templates 2026-09-14; faster in v0.38.0); covers and lyrics-to-song; community ComfyUI-YuE2-Trainer (LoRA from your own mp3/wav) and the YuE2 real-audio encoder ('bring your own music'). Not on fal or Replicate (check): open engine only.\n- Cloud song tools on fal (fetch every schema first): mureka/v9/generate/{song,instrumental,soundtrack} (2026-10-26), mureka/v9.5/generate/{song,instrumental,soundtrack} (2026-09-14), mureka/v8/song/extend, mureka/v8/song/remix (2026-10-23/30), mureka/api/song/stem, mureka/api/song/edit, mureka/api/voice/clone, mureka/api/generate/lyrics; elevenlabs/music/v2.5 ($0.60 per output minute per research), google/lyria-3.5. Fuobe today calls mureka/api/generate/song (cloud id mureka-song): move it to the newest version the schema supports and keep the old id working (src/lib/catalog/replaced.ts pattern if the id changes).\nOpen engine: graphs music-minimax-3 (core nodes; bindings: tags/style prompt, lyrics, seconds up to 300, seed; tiled decode for long songs as the template does) and music-yue2-song / music-yue2-cover (core YuE2 nodes; cover takes an uploaded song). Validate on the CPU ComfyUI. ModelDefs oss-minimax-music-3 (op music) and oss-yue2. Manifest vramGb: 24 for Music 3 int8 (guess; the card's 8 GB needs layer streaming the core node may not do: check and say), YuE2 unverified.\nCloud engine: model lines for minimax-music-3 (same model as the open one: label it 'MiniMax Music 3 · both engines'), mureka-9 (song, instrumental, soundtrack), elevenlabs-music-2-5, lyria-3-5; result actions 'Extend', 'Remix' and 'Stems' on music results through Mureka's endpoints where the source song is one Mureka can take (check whether its song id or an uploaded file is needed: mureka/api/files/upload exists).\nUI: Audio → Music: a lyrics editor with section tags and a duration up to 5:00 when the model allows; 'Write the lyrics' through Fuobe's existing LLM helper; the open engine says which models are free on your GPU; Faceless, Shorts and Content Factory music pickers list the new models with lengths. Split soundtrack (DBS) is a different tool (dialogue / music / effects): do not label Mureka stems as DBS.\nTests: library tests for the three graphs; payload and price tests for each new cloud route; lyrics tag parser tests; replaced-id test if mureka-song moves; browser checks of the Music studio and a music result's actions at 1440 and 390 px, light and dark, in demo mode. No GPU or paid key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Fuobe's open Music studio has only ACE-Step 1.5. MiniMax Music 3 (open weights, ComfyUI core node, also hosted on fal as minimax/music-3) writes full songs with vocals up to five minutes; round 1 already recommended it (comfyui-oss.md §TTS/music table, row 2) but it was never built. YuE2 (CC-BY-NC-4.0, ComfyUI native since v0.36) does lyrics-to-song and covers with a community LoRA trainer. In the cloud, fal added Mureka 8/9/9.5 with song extend, remix, stems and voice cloning (Sep-Oct), ElevenLabs Music v2.5 and Lyria 3.5. Music for Shorts, Faceless and Ads is a daily need.\nWHERE IT SHOWS UP. Audio → Music (model menu, a lyrics editor with [Verse]/[Chorus] tags, length up to 5:00), music result actions (Extend, Remix, Stems in the cloud), Faceless / Shorts / Content Factory background music pickers, Assist.\nModels (record each with licence, revision, sizes):\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n- MiniMax Music 3: MiniMaxAI/MiniMax-Music3 @ 1b525ccb685a, LICENSE 'MiniMax-Music3 COMMUNITY LICENSE' (MIT-style grant with notice and compliance-with-law conditions; read it in full as data; HF licence tag empty); Comfy-Org/MiniMax-Music-3 @ 9e364ccd290a (tagged Apache-2.0): diffusion_models/minimax_music3_dit_int8_convrot.safetensors 2.5 GB (fp16 4.91, fp32 9.83), text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors 9.2 GB (pruned bf16 16.71, full bf16 18.47), vae/minimax_music3_dav.safetensors 0.22 GB. Card: songs up to 5 min (9,000 acoustic frames at 25 fps), 32 kHz 16-bit stereo, expressive vocals, lyrics with section tags ([Verse], [Chorus], [Instrumental], [Solo]); full precision under 24 GB, ~22 GB with CPU offload, 8 GB with layer streaming. ComfyUI core native; Comfy template audio_minimax_music_3 and the tutorial docs.comfy.org/tutorials/audio/minimax/minimax-music-3 (comfyui-oss.md L1928-1957 lists the same files). Hosted: fal minimax/music-3 (active since 2026-08-13; paid-model-apis.json recorded $0.002 per second: re-check).\n- YuE2-3B: m-a-p/YuE2-3B @ 8f24312f1877, CC-BY-NC-4.0; ComfyUI native (v0.36.0, templates 2026-09-14; faster in v0.38.0); covers and lyrics-to-song; community ComfyUI-YuE2-Trainer (LoRA from your own mp3/wav) and the YuE2 real-audio encoder ('bring your own music'). Not on fal or Replicate (check): open engine only.\n- Cloud song tools on fal (fetch every schema first): mureka/v9/generate/{song,instrumental,soundtrack} (2026-10-26), mureka/v9.5/generate/{song,instrumental,soundtrack} (2026-09-14), mureka/v8/song/extend, mureka/v8/song/remix (2026-10-23/30), mureka/api/song/stem, mureka/api/song/edit, mureka/api/voice/clone, mureka/api/generate/lyrics; elevenlabs/music/v2.5 ($0.60 per output minute per research), google/lyria-3.5. Fuobe today calls mureka/api/generate/song (cloud id mureka-song): move it to the newest version the schema supports and keep the old id working (src/lib/catalog/replaced.ts pattern if the id changes).\nOpen engine: graphs music-minimax-3 (core nodes; bindings: tags/style prompt, lyrics, seconds up to 300, seed; tiled decode for long songs as the template does) and music-yue2-song / music-yue2-cover (core YuE2 nodes; cover takes an uploaded song). Validate on the CPU ComfyUI. ModelDefs oss-minimax-music-3 (op music) and oss-yue2. Manifest vramGb: 24 for Music 3 int8 (guess; the card's 8 GB needs layer streaming the core node may not do: check and say), YuE2 unverified.\nCloud engine: model lines for minimax-music-3 (same model as the open one: label it 'MiniMax Music 3 · both engines'), mureka-9 (song, instrumental, soundtrack), elevenlabs-music-2-5, lyria-3-5; result actions 'Extend', 'Remix' and 'Stems' on music results through Mureka's endpoints where the source song is one Mureka can take (check whether its song id or an uploaded file is needed: mureka/api/files/upload exists).\nUI: Audio → Music: a lyrics editor with section tags and a duration up to 5:00 when the model allows; 'Write the lyrics' through Fuobe's existing LLM helper; the open engine says which models are free on your GPU; Faceless, Shorts and Content Factory music pickers list the new models with lengths. Split soundtrack (DBS) is a different tool (dialogue / music / effects): do not label Mureka stems as DBS.\nTests: library tests for the three graphs; payload and price tests for each new cloud route; lyrics tag parser tests; replaced-id test if mureka-song moves; browser checks of the Music studio and a music result's actions at 1440 and 390 px, light and dark, in demo mode. No GPU or paid key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-qwen21-fast": {
"title": "Qwen-Image 2.1 in 2-6 steps and on 16 GB cards: speed LoRAs, the 0.8B-encoder build, and the 2.1 Next-Scene LoRA in Storyboard",
"phase": "New models 10",
- "brief": "WHY. Qwen-Image 2.1 is Fuobe's open default for Edit and Inpaint (and the Image default for accounts and guests). In five weeks the community shipped official and third-party 2-6-step LoRAs, a cleaner VAE decoder and Zen Image Edit, which swaps the 17.5 GB Qwen3-VL-8B encoder for a 1.7 GB one. Together they make 2.1 several times faster and usable on 16 GB cards. akhaliq's 2.1 Next-Scene LoRA (Apache-2.0) lets Storyboard leave Qwen-Image-Edit 2509.\nWHERE IT SHOWS UP. Image, Edit, Inpaint / Outpaint studios (Options → Speed: Draft · Fast · Turbo · Full), /connect (a 'small GPU' route), Storyboard and Cinema 'next scene', the Canvas edit node.\nWhat exists: workflows qwen-image-21-{t2i,edit,inpaint,outpaint,turbo-edit}, the official Turbo checkpoint (8 steps, CFG 1), ModelDefs oss-qwen-image-21 and -turbo; Storyboard's next scene runs storyboard-qwen-edit-2509-next-scene. Read them first.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCandidates (record licence, revision, size, settings for each; pick by test on the validation server's graph check only, since there is no GPU):\n- lightx2v/Qwen-Image-2.1-Lightning @ 6b0a1176327c: 4-step DMD LoRA for t2i and multi-reference edit (Apache-2.0 per comfyui-wiki 2026-10-13; HF tag empty: confirm from the repo LICENSE).\n- linoyts/Qwen-Image-2.1-DMD2-2steps @ 5bae28369ece: 2 steps at CFG 1, t2i and multi-ref edit (Qwen Research License).\n- PrunaAI/P-Q-Image-2.1 v0.2 (2026-10-27; Qwen Research): two 6-step adapters (one with the prompt upsampler distilled in, one for preservation edits), strength 1.0, Euler, CFG 1, custom ManualSigmas schedules (not interchangeable with v0.1), six official ComfyUI workflows in P-Q-Image-2.1-Comfy.\n- The official Qwen-Image 2.1 Fun Acc 4-step LoRA (346 MB, own sigma schedule; Qwen Research).\n- AiArtLab/zen-image-edit @ 3d5717559ff5 (Qwen Research): Qwen3.5-0.8B encoder (1.7 GB fp16) + a 158M fusion adapter (adapter_v12.safetensors 0.64 GB) reproducing the 17.5 GB encoder's conditioning (cosine 0.95 text / 0.97 vision); a decoder-only VAE finetune (lattice artefacts 2.631 -> 0); ~17.5 GB resident at 1024 px; English only; numerals on signs can be wrong. Two ComfyUI routes, both custom: recoilme/zen-image-edit-comfyui (needs transformers >= 5.17: check the pinned environment) or the t8star single-file loader (Manager-installable).\n- Texture-Fix VAE for Qwen-Image 2.1 (2026-09-24): a retrained decoder that loads like any VAE.\n- akhaliq's Qwen-Image-2.1 Next-Scene LoRA (2026-10-07; Apache-2.0 per comfyui-wiki; the HF API refused an anonymous read: confirm) and Multiple-Angles LoRA (72 azimuth/elevation framings): the latter is only a note for qma-angles (the owner chose the QMA LoRA).\nBuild:\n1. Options → Speed on every Qwen-Image 2.1 graph: Draft (2 steps, DMD2), Fast (4 steps: Lightning, or Fun Acc if it validates better), Turbo (8, today), Full (base). One LoraLoaderModelOnly + ManualSigmas branch per tier, chosen by binding; the prompt-upsampler 6-step Pruna adapter as 'Fast · writes the details' if it validates. Defaults unchanged.\n2. A 'Small GPU (16 GB)' encoder route with Zen Image Edit for t2i and edit, picked automatically by the readiness chooser when VRAM < 24 GB (reuse the H3 tier chooser from nm10-h3-any-gpu if it has landed; otherwise a local function), with its English-only note in the model card.\n3. Texture-Fix VAE as Options → Decoder 'Clean' (default off until tested).\n4. Storyboard and Cinema 'next scene' on the open engine: a qwen-image-21-next-scene graph with the 2.1 Next-Scene LoRA; keep the 2509 graph as the fallback and for the cloud (fal hosts the 2509 next-scene gallery LoRA, not 2.1: Qwen-Image 2.1 is not hosted on fal or Replicate, so all 2.1 speed routes are open-engine only).\n5. Licence rows for each LoRA / encoder / VAE, switched on.\nTests: library tests (each tier's sigmas, LoRA pins, sizes), chooser tests, Storyboard mapping tests; browser checks of the Speed control and Storyboard at 1440 and 390 px, light and dark, in demo mode. No GPU here: speed and quality claims are the authors'.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Qwen-Image 2.1 is Fuobe's open default for Edit and Inpaint (and the Image default for accounts and guests). In five weeks the community shipped official and third-party 2-6-step LoRAs, a cleaner VAE decoder and Zen Image Edit, which swaps the 17.5 GB Qwen3-VL-8B encoder for a 1.7 GB one. Together they make 2.1 several times faster and usable on 16 GB cards. akhaliq's 2.1 Next-Scene LoRA (Apache-2.0) lets Storyboard leave Qwen-Image-Edit 2509.\nWHERE IT SHOWS UP. Image, Edit, Inpaint / Outpaint studios (Options → Speed: Draft · Fast · Turbo · Full), /connect (a 'small GPU' route), Storyboard and Cinema 'next scene', the Canvas edit node.\nWhat exists: workflows qwen-image-21-{t2i,edit,inpaint,outpaint,turbo-edit}, the official Turbo checkpoint (8 steps, CFG 1), ModelDefs oss-qwen-image-21 and -turbo; Storyboard's next scene runs storyboard-qwen-edit-2509-next-scene. Read them first.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nCandidates (record licence, revision, size, settings for each; pick by test on the validation server's graph check only, since there is no GPU):\n- lightx2v/Qwen-Image-2.1-Lightning @ 6b0a1176327c: 4-step DMD LoRA for t2i and multi-reference edit (Apache-2.0 per comfyui-wiki 2026-10-13; HF tag empty: confirm from the repo LICENSE).\n- linoyts/Qwen-Image-2.1-DMD2-2steps @ 5bae28369ece: 2 steps at CFG 1, t2i and multi-ref edit (Qwen Research License).\n- PrunaAI/P-Q-Image-2.1 v0.2 (2026-10-27; Qwen Research): two 6-step adapters (one with the prompt upsampler distilled in, one for preservation edits), strength 1.0, Euler, CFG 1, custom ManualSigmas schedules (not interchangeable with v0.1), six official ComfyUI workflows in P-Q-Image-2.1-Comfy.\n- The official Qwen-Image 2.1 Fun Acc 4-step LoRA (346 MB, own sigma schedule; Qwen Research).\n- AiArtLab/zen-image-edit @ 3d5717559ff5 (Qwen Research): Qwen3.5-0.8B encoder (1.7 GB fp16) + a 158M fusion adapter (adapter_v12.safetensors 0.64 GB) reproducing the 17.5 GB encoder's conditioning (cosine 0.95 text / 0.97 vision); a decoder-only VAE finetune (lattice artefacts 2.631 -> 0); ~17.5 GB resident at 1024 px; English only; numerals on signs can be wrong. Two ComfyUI routes, both custom: recoilme/zen-image-edit-comfyui (needs transformers >= 5.17: check the pinned environment) or the t8star single-file loader (Manager-installable).\n- Texture-Fix VAE for Qwen-Image 2.1 (2026-09-24): a retrained decoder that loads like any VAE.\n- akhaliq's Qwen-Image-2.1 Next-Scene LoRA (2026-10-07; Apache-2.0 per comfyui-wiki; the HF API refused an anonymous read: confirm) and Multiple-Angles LoRA (72 azimuth/elevation framings): the latter is only a note for qma-angles (the owner chose the QMA LoRA).\nBuild:\n1. Options → Speed on every Qwen-Image 2.1 graph: Draft (2 steps, DMD2), Fast (4 steps: Lightning, or Fun Acc if it validates better), Turbo (8, today), Full (base). One LoraLoaderModelOnly + ManualSigmas branch per tier, chosen by binding; the prompt-upsampler 6-step Pruna adapter as 'Fast · writes the details' if it validates. Defaults unchanged.\n2. A 'Small GPU (16 GB)' encoder route with Zen Image Edit for t2i and edit, picked automatically by the readiness chooser when VRAM < 24 GB (reuse the H3 tier chooser from nm10-h3-any-gpu if it has landed; otherwise a local function), with its English-only note in the model card.\n3. Texture-Fix VAE as Options → Decoder 'Clean' (default off until tested).\n4. Storyboard and Cinema 'next scene' on the open engine: a qwen-image-21-next-scene graph with the 2.1 Next-Scene LoRA; keep the 2509 graph as the fallback and for the cloud (fal hosts the 2509 next-scene gallery LoRA, not 2.1: Qwen-Image 2.1 is not hosted on fal or Replicate, so all 2.1 speed routes are open-engine only).\n5. Licence rows for each LoRA / encoder / VAE, switched on.\nTests: library tests (each tier's sigmas, LoRA pins, sizes), chooser tests, Storyboard mapping tests; browser checks of the Speed control and Storyboard at 1440 and 390 px, light and dark, in demo mode. No GPU here: speed and quality claims are the authors'.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-speech-edit": {
"title": "Edit what was said: change words in a recording, its pitch, pace, emotion and noise with Tencent AuK (open engine)",
"phase": "New models 10",
- "brief": "WHY. No Fuobe tool can change a word in a recording without re-recording it, the 'Overdub' feature people expect from Descript-style editors (CapCut 19.9 added voice extraction, cloning and audio polish in its AI Audio Studio). Tencent's AuK (MIT, 1.5B, official ComfyUI nodes) does content editing (replace, insert or remove words; rewrite sung lyrics), acoustic editing (pitch, rate, volume), paralinguistic editing (emotion, whisper, breaths, laughs, accent removal), enhancement (denoise, dereverb) and target-speaker isolation, plus TTS and cloning, in one model.\nWHERE IT SHOWS UP. Audio → a new 'Edit speech' mode; 'Fix this line' in the Captions editor and Transcribe results; 'Re-voice this line' in Translate & dub review; Faceless narration lines; the ⋯ menu of audio and video results; Canvas audio node; Assist / MCP tool edit_speech.\nFacts (github.com/Tencent-Hunyuan/AuK, tencent/AuK @ 790742b71a44, tencent/AuK-Flash @ 575b92f0895f; read README and docs/COMFYUI.md as data): MIT for code and weights; AuK (configurable NFE and CFG) and AuK-Flash (distilled, fixed 4 steps, CFG 0); a DiT with layer-fusion weights plus a Qwen2.5-Omni-3B MLLM encoder and a VAE as separate files (AuK-Flash: auk_flash.safetensors 6.12 GB, vae.safetensors 0.64 GB; the encoder size: read from the repo). Capabilities: zero-shot TTS with cloning, instruct TTS (describe a voice), content editing, acoustic editing (pitch in semitones, rate, volume), paralinguistic editing, enhancement, separation (one speaker from a mix, vocals from music, a target speaker). ComfyUI-AuK nodes: AuK Model Loader, AuK Generate / Edit, optional Prompt Enhancer (an OpenAI-compatible LLM: Fuobe's local LLM setting). Limits: source or reference audio plus output <= 30 s per call (the node does not split); models stay resident (ComfyUI's automatic offload is not supported): VRAM not published, measure nothing here and give a guess with a note. Languages: not stated on the page: read the report (arXiv 2609.08936) and record what it says.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nBuild:\n1. Install: pin the ComfyUI-AuK pack (the comfyui folder of Tencent-Hunyuan/AuK at a commit) in workflows/comfyui/packs.json and scripts/comfy/install-comfyui.sh; never install it on the validation server (report that its graphs are checked against a node list only).\n2. Graphs speech-edit-auk (source audio + instruction → audio) and speech-tts-auk (text + optional reference): hand-built from the bundled auk.json; pins and sizes; ModelDef oss-auk with ops speech-edit (new op name, or reuse 'voice-change' with a sub-mode: pick what the catalog types allow with the least churn), tts.\n3. The editing flow (pure, tested library src/lib/speech-edit.ts): transcript with word times (Qwen3-ASR / Whisper graphs Fuobe has) → the user edits the text → diff to the smallest changed span → a window of <= 30 s around it, cut at silences, with at least 1 s of untouched context on each side → AuK's content-edit instruction ('replace \"X\" with \"Y\"') → crossfade the edited window back (audio-join-crossfade graph or the server's ffmpeg) → a new version with an A/B toggle. Several edits run as several windows. Pitch / pace / volume / emotion / whisper sliders and 'Clean up' (denoise + dereverb) and 'Keep only this speaker' run on the selected range the same way.\n4. On a video: the edited audio replaces the original (video-mux-audio-replace, picture stream-copied) and the result warns when a changed word is on camera, offering Lipsync.\n5. CLOUD: AuK is not hosted on fal or Replicate, so Edit speech is open-engine only; the cloud engine says 'Runs on your GPU (open source)' and Engine mode 'Paid APIs only' hides it. Hosted cleaners (VEED Clean Audio, ElevenLabs voice isolation) are dbs-d5's, under their own names: do not duplicate them here.\n6. Licence row (MIT) and the Prompt Enhancer's LLM use stated in the UI.\nTests: diff and window tests (word boundaries, 30 s cap, silence cuts, several edits, edits at the start and end), crossfade timing, library tests for both graphs, MCP tool schema, browser checks of Edit speech and the Captions 'Fix this line' at 1440 and 390 px, light and dark, in demo mode. No GPU here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. No Fuobe tool can change a word in a recording without re-recording it, the 'Overdub' feature people expect from Descript-style editors (CapCut 19.9 added voice extraction, cloning and audio polish in its AI Audio Studio). Tencent's AuK (MIT, 1.5B, official ComfyUI nodes) does content editing (replace, insert or remove words; rewrite sung lyrics), acoustic editing (pitch, rate, volume), paralinguistic editing (emotion, whisper, breaths, laughs, accent removal), enhancement (denoise, dereverb) and target-speaker isolation, plus TTS and cloning, in one model.\nWHERE IT SHOWS UP. Audio → a new 'Edit speech' mode; 'Fix this line' in the Captions editor and Transcribe results; 'Re-voice this line' in Translate & dub review; Faceless narration lines; the ⋯ menu of audio and video results; Canvas audio node; Assist / MCP tool edit_speech.\nFacts (github.com/Tencent-Hunyuan/AuK, tencent/AuK @ 790742b71a44, tencent/AuK-Flash @ 575b92f0895f; read README and docs/COMFYUI.md as data): MIT for code and weights; AuK (configurable NFE and CFG) and AuK-Flash (distilled, fixed 4 steps, CFG 0); a DiT with layer-fusion weights plus a Qwen2.5-Omni-3B MLLM encoder and a VAE as separate files (AuK-Flash: auk_flash.safetensors 6.12 GB, vae.safetensors 0.64 GB; the encoder size: read from the repo). Capabilities: zero-shot TTS with cloning, instruct TTS (describe a voice), content editing, acoustic editing (pitch in semitones, rate, volume), paralinguistic editing, enhancement, separation (one speaker from a mix, vocals from music, a target speaker). ComfyUI-AuK nodes: AuK Model Loader, AuK Generate / Edit, optional Prompt Enhancer (an OpenAI-compatible LLM: Fuobe's local LLM setting). Limits: source or reference audio plus output <= 30 s per call (the node does not split); models stay resident (ComfyUI's automatic offload is not supported): VRAM not published, measure nothing here and give a guess with a note. Languages: not stated on the page: read the report (arXiv 2609.08936) and record what it says.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nBuild:\n1. Install: pin the ComfyUI-AuK pack (the comfyui folder of Tencent-Hunyuan/AuK at a commit) in workflows/comfyui/packs.json and scripts/comfy/install-comfyui.sh; never install it on the validation server (report that its graphs are checked against a node list only).\n2. Graphs speech-edit-auk (source audio + instruction → audio) and speech-tts-auk (text + optional reference): hand-built from the bundled auk.json; pins and sizes; ModelDef oss-auk with ops speech-edit (new op name, or reuse 'voice-change' with a sub-mode: pick what the catalog types allow with the least churn), tts.\n3. The editing flow (pure, tested library src/lib/speech-edit.ts): transcript with word times (Qwen3-ASR / Whisper graphs Fuobe has) → the user edits the text → diff to the smallest changed span → a window of <= 30 s around it, cut at silences, with at least 1 s of untouched context on each side → AuK's content-edit instruction ('replace \"X\" with \"Y\"') → crossfade the edited window back (audio-join-crossfade graph or the server's ffmpeg) → a new version with an A/B toggle. Several edits run as several windows. Pitch / pace / volume / emotion / whisper sliders and 'Clean up' (denoise + dereverb) and 'Keep only this speaker' run on the selected range the same way.\n4. On a video: the edited audio replaces the original (video-mux-audio-replace, picture stream-copied) and the result warns when a changed word is on camera, offering Lipsync.\n5. CLOUD: AuK is not hosted on fal or Replicate, so Edit speech is open-engine only; the cloud engine says 'Runs on your GPU (open source)' and Engine mode 'Paid APIs only' hides it. Hosted cleaners (VEED Clean Audio, ElevenLabs voice isolation) are dbs-d5's, under their own names: do not duplicate them here.\n6. Licence row (MIT) and the Prompt Enhancer's LLM use stated in the UI.\nTests: diff and window tests (word boundaries, 30 s cap, silence cuts, several edits, edits at the start and end), crossfade timing, library tests for both graphs, MCP tool schema, browser checks of Edit speech and the Captions 'Fix this line' at 1440 and 390 px, light and dark, in demo mode. No GPU here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-voice-design": {
"title": "Design a voice from a description, and clone at 48 kHz: Qwen3-TTS on both engines, VoxCPM2 on your GPU",
"phase": "New models 10",
- "brief": "WHY. Fuobe clones voices (Chatterbox, IndexTTS2, ElevenLabs, MiniMax) but cannot make a new voice from words ('a warm, gravelly 60-year-old narrator'). Qwen3-TTS 1.7B (Apache-2.0) does voice design and cloning and is hosted on fal with the same model, so it gives both engines one feature; VoxCPM2 (Apache-2.0, 8 GB, 30 languages incl. nine Chinese dialects, 48 kHz) is trending on Hugging Face with ComfyUI nodes. Both were researched in round 1 (comfyui-oss.md L1500-1531; paid-model-apis-2.md L282-311) and never built.\nWHERE IT SHOWS UP. Audio → Voice: a 'Design a voice' tab (describe → three takes → save as an Element voice); the voice pickers in Dialogue, Faceless narrator, AI Influencer and Translate & dub; Elements → Voices.\nModels:\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n- Qwen3-TTS 1.7B (12 Hz): Qwen/Qwen3-TTS-12Hz-1.7B-Base and its VoiceDesign / CustomVoice siblings (Apache-2.0; ~6-8 GB; read the cards for the voice-design model id and record revisions). ComfyUI: custom packs 1038lab/ComfyUI-QwenTTS (pick one, pin a commit; flybirdxx/ComfyUI-Qwen-TTS and DarioFT/ComfyUI-Qwen3-TTS are alternatives). Hosted on fal (active since 2026-01-26): fal-ai/qwen-3-tts/voice-design/1.7b (a prompt describes the voice; returns audio only, no reusable id: clone the result to reuse it), fal-ai/qwen-3-tts/clone-voice/1.7b (audio <= 5 min → a speaker_embedding file; $0.0008 per minute), fal-ai/qwen-3-tts/text-to-speech/1.7b (voice enum or speaker_voice_embedding_file_url; $0.09 per 1,000 characters). Fetch the schemas first.\n- VoxCPM2: openbmb/VoxCPM2 @ 32279effe8c1 (Apache-2.0; 2B; ~8 GB; 30 languages; 48 kHz output from 16 kHz references; voice design from a description; 'controllable' cloning from a short clip and 'ultimate' cloning with the clip's transcript). ComfyUI: Saganaki22/ComfyUI-VoxCPM2 (TTS with an optional voice-design field, Voice Clone, LoRA training nodes) or RunningHub's ComfyUI_RH_VoxCPM (one node for design and both clone modes; model folder models/voxcpm/VoxCPM2/). Not hosted on fal or Replicate: open engine only.\n- Considered, not built: Fish Audio Drama 3 (fishaudio/drama-3; Fish Audio Research License; 35B MoE ~40 GB; 16 speakers, bracketed directions, 83 languages): no local ComfyUI node (only the Fish Audio API partner node) and not on fal or Replicate; it would need an SGLang-Omni worker. Record it in the research JSON for a later package.\nBuild:\n1. Graphs tts-qwen3-design, tts-qwen3-clone, tts-voxcpm2 (design / clone / ultimate clone), pinned packs and files, validated against node lists (packs are not on the validation server: report it). ModelDefs oss-qwen3-tts and oss-voxcpm2 (ops tts, voice-design).\n2. Cloud model qwen-3-tts with routes voice-design, clone (two steps: clone-voice then text-to-speech with the embedding file; store the embedding as the Element voice's asset) and tts. Label it 'Qwen3-TTS · both engines'.\n3. Design a voice: a description box with starter chips (age, gender, accent, tone, pace), a test line, three takes, 'Save as voice' → an Element voice that stores the model, the description and (for reuse) a reference clip or embedding, so later lines reuse the same voice on either engine (on the cloud a designed voice is re-used by cloning the chosen take, as fal's page says).\n4. Voice pickers: designed voices appear wherever Element voices do, with their engine.\n5. Licence rows (Apache-2.0 for both; fal as a paid API), switched on.\nTests: Element voice storage tests, payload tests for the three fal routes and the two-step clone chain, library tests, browser checks of Design a voice and the Dialogue picker at 1440 and 390 px, light and dark, in demo mode. No GPU or fal key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Fuobe clones voices (Chatterbox, IndexTTS2, ElevenLabs, MiniMax) but cannot make a new voice from words ('a warm, gravelly 60-year-old narrator'). Qwen3-TTS 1.7B (Apache-2.0) does voice design and cloning and is hosted on fal with the same model, so it gives both engines one feature; VoxCPM2 (Apache-2.0, 8 GB, 30 languages incl. nine Chinese dialects, 48 kHz) is trending on Hugging Face with ComfyUI nodes. Both were researched in round 1 (comfyui-oss.md L1500-1531; paid-model-apis-2.md L282-311) and never built.\nWHERE IT SHOWS UP. Audio → Voice: a 'Design a voice' tab (describe → three takes → save as an Element voice); the voice pickers in Dialogue, Faceless narrator, AI Influencer and Translate & dub; Elements → Voices.\nModels:\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n- Qwen3-TTS 1.7B (12 Hz): Qwen/Qwen3-TTS-12Hz-1.7B-Base and its VoiceDesign / CustomVoice siblings (Apache-2.0; ~6-8 GB; read the cards for the voice-design model id and record revisions). ComfyUI: custom packs 1038lab/ComfyUI-QwenTTS (pick one, pin a commit; flybirdxx/ComfyUI-Qwen-TTS and DarioFT/ComfyUI-Qwen3-TTS are alternatives). Hosted on fal (active since 2026-01-26): fal-ai/qwen-3-tts/voice-design/1.7b (a prompt describes the voice; returns audio only, no reusable id: clone the result to reuse it), fal-ai/qwen-3-tts/clone-voice/1.7b (audio <= 5 min → a speaker_embedding file; $0.0008 per minute), fal-ai/qwen-3-tts/text-to-speech/1.7b (voice enum or speaker_voice_embedding_file_url; $0.09 per 1,000 characters). Fetch the schemas first.\n- VoxCPM2: openbmb/VoxCPM2 @ 32279effe8c1 (Apache-2.0; 2B; ~8 GB; 30 languages; 48 kHz output from 16 kHz references; voice design from a description; 'controllable' cloning from a short clip and 'ultimate' cloning with the clip's transcript). ComfyUI: Saganaki22/ComfyUI-VoxCPM2 (TTS with an optional voice-design field, Voice Clone, LoRA training nodes) or RunningHub's ComfyUI_RH_VoxCPM (one node for design and both clone modes; model folder models/voxcpm/VoxCPM2/). Not hosted on fal or Replicate: open engine only.\n- Considered, not built: Fish Audio Drama 3 (fishaudio/drama-3; Fish Audio Research License; 35B MoE ~40 GB; 16 speakers, bracketed directions, 83 languages): no local ComfyUI node (only the Fish Audio API partner node) and not on fal or Replicate; it would need an SGLang-Omni worker. Record it in the research JSON for a later package.\nBuild:\n1. Graphs tts-qwen3-design, tts-qwen3-clone, tts-voxcpm2 (design / clone / ultimate clone), pinned packs and files, validated against node lists (packs are not on the validation server: report it). ModelDefs oss-qwen3-tts and oss-voxcpm2 (ops tts, voice-design).\n2. Cloud model qwen-3-tts with routes voice-design, clone (two steps: clone-voice then text-to-speech with the embedding file; store the embedding as the Element voice's asset) and tts. Label it 'Qwen3-TTS · both engines'.\n3. Design a voice: a description box with starter chips (age, gender, accent, tone, pace), a test line, three takes, 'Save as voice' → an Element voice that stores the model, the description and (for reuse) a reference clip or embedding, so later lines reuse the same voice on either engine (on the cloud a designed voice is re-used by cloning the chosen take, as fal's page says).\n4. Voice pickers: designed voices appear wherever Element voices do, with their engine.\n5. Licence rows (Apache-2.0 for both; fal as a paid API), switched on.\nTests: Element voice storage tests, payload tests for the three fal routes and the two-step clone chain, library tests, browser checks of Design a voice and the Dialogue picker at 1440 and 390 px, light and dark, in demo mode. No GPU or fal key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-keying": {
"title": "Green screen and fine hair: CorridorKey 2.0 keying and Bria VRMBG 3.0 matting on your GPU, FeyNoBg for stills, Bria's despill and guided cut-outs in the cloud",
"phase": "New models 10",
- "brief": "WHY. Fuobe's video matte uses BiRefNet or SAM 3.1 on the open engine and Bria VRMBG 3.0 in the cloud; none of them keys green-screen footage with despill, and none is tuned for hair. In October Corridor Digital released CorridorKey 2.0 (native-resolution neural keying, linear EXR, 4-6 GB), ComfyUI-RMBG 3.3.0 brought Bria's VRMBG 3.0 (the same model Fuobe's cloud matte calls) and FeyNoBg hair matting to ComfyUI, and fal added Bria's green-screen despill and a guided cut-out that takes 'keep the shadow'.\nWHERE IT SHOWS UP. Video tools → Matte: a 'Green screen' mode and a 'VRMBG 3.0' choice on the open engine; Image and Layers cut-outs: 'Fine hair' (open) and 'Guided' (cloud, with a what-to-keep box); exports through the existing ProRes 4444 / EXR export; Canvas matte node; Character Swap Studio Finish (person cut-outs).\nModels (record licence, revision, size):\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n- CorridorKey 2.0: nikopueringer/CorridorKey2.0 @ cf44a8db3f02, corridorkey_v2.safetensors 2.66 GB (+ foundation_stats.safetensors); licence 'corridor-key-licence-2.0' (a CC BY-NC-SA 4.0 variant: free use including commercial projects; selling it or offering it as a paid API or inference service is not allowed; derivatives under the same licence; organisations above US$20M revenue need a seat per user): record it as information and keep it on the open engine. Per-frame matte plus clean foreground, optional hints, scene-linear OpenEXR; NVIDIA RTX 30+; 4 GB up to 1440p, 6 GB for 4K. ComfyUI: community wrappers pixelworldai/ComfyUI-CorridorKeyWrapper (loader, Chroma Key Prepass, Greenscreen node with alpha, despilled foreground, RGBA; it auto-downloads CorridorKey_v1.0.pth), TrentHunter82/TrentNodes (CorridorKey Green Screen Keyer, linear-input switch), SeanBRVFX/ComfyUI-CorridorKey. CHECK which loads the 2.0 weights; if none does, build on v1.0 and say v2 waits for a wrapper.\n- Bria VRMBG 3.0 open weights: briaai/VRMBG-3.0 (gated, manual approval; licence bria-vrmbg-3.0) through ComfyUI-RMBG v3.3.0's AILab_VRMBG node (2026-10-20; conditions each frame on the previous frame; reset_state for batches; weights downloaded by hand to models/RMBG/VRMBG-3.0/). It is the model behind Fuobe's cloud bria/video/background-removal/v3, so the matte becomes the same model on both engines when the owner has access.\n- FeyNoBg: 1038lab/FeyNobg (263M Swin-L matting, 1.05 GB, built-in foreground refine, no trimap; licence not stated: record 'unknown') via ComfyUI-RMBG 3.3.0. Also in the pack: Finegrain Box Segmenter, YOLO26-seg.\n- LTX-2.5 IC-LoRA Alpha-Gen (Lightricks, LTX-2.x Community License, gated; beta 0.9 at step 25,000; a grayscale matte the same size as the input; aimed at hair, fur, smoke, glass, water; one tester saw ~90 GB at 3200x1900 for 49 frames): offer as 'Best · Alpha-Gen' only on 48 GB+ and only if the LTX-2.5 IC-LoRA graph validates; otherwise record it for later.\n- Cloud (fal; fetch schemas): bria/video/background-removal/green-screen-despill (2026-08-27: chroma footage with spill suppression) and bria/guided-remove-background (2026-10-10; $0.03 per image; plain-language corrections such as 'keep the shadow', 'remove the hand'; optional autocrop).\nBuild:\n1. Graphs video-key-corridorkey (video → RGBA / matte / despilled foreground; chunked like video-bg-remove-*), video-matte-vrmbg3, image-matte-feynobg; packs pinned (ComfyUI-RMBG at the 3.3.0 tag; the chosen CorridorKey wrapper); validation against node lists where the packs are missing on the server.\n2. Video tools → Matte gains 'Green screen' (open: CorridorKey; cloud: Bria green-screen despill, labelled as Bria) and 'VRMBG 3.0' (open, when the gated weights are present; /connect explains the gate). Outputs: transparent WebM as today, plus 'ProRes 4444' and 'EXR (linear)' through video-export-pro / video-export-exr.\n3. Image cut-outs (Image tools, Layers 'Cut out', Save as element): 'Fine hair (FeyNoBg)' on the open engine; 'Guided' in the cloud with a 'what to keep or drop' text box.\n4. Character Swap Studio Finish and Remove object reuse the new matte where it is better (offer, do not switch defaults).\n5. Licence rows (CorridorKey's paid-API restriction stated plainly; VRMBG gated; FeyNoBg unknown), switched on.\nTests: library tests, chunking tests, export path tests, payload tests for both Bria routes, browser checks of Matte and the image cut-out at 1440 and 390 px, light and dark, in demo mode. No GPU here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Fuobe's video matte uses BiRefNet or SAM 3.1 on the open engine and Bria VRMBG 3.0 in the cloud; none of them keys green-screen footage with despill, and none is tuned for hair. In October Corridor Digital released CorridorKey 2.0 (native-resolution neural keying, linear EXR, 4-6 GB), ComfyUI-RMBG 3.3.0 brought Bria's VRMBG 3.0 (the same model Fuobe's cloud matte calls) and FeyNoBg hair matting to ComfyUI, and fal added Bria's green-screen despill and a guided cut-out that takes 'keep the shadow'.\nWHERE IT SHOWS UP. Video tools → Matte: a 'Green screen' mode and a 'VRMBG 3.0' choice on the open engine; Image and Layers cut-outs: 'Fine hair' (open) and 'Guided' (cloud, with a what-to-keep box); exports through the existing ProRes 4444 / EXR export; Canvas matte node; Character Swap Studio Finish (person cut-outs).\nModels (record licence, revision, size):\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n- CorridorKey 2.0: nikopueringer/CorridorKey2.0 @ cf44a8db3f02, corridorkey_v2.safetensors 2.66 GB (+ foundation_stats.safetensors); licence 'corridor-key-licence-2.0' (a CC BY-NC-SA 4.0 variant: free use including commercial projects; selling it or offering it as a paid API or inference service is not allowed; derivatives under the same licence; organisations above US$20M revenue need a seat per user): record it as information and keep it on the open engine. Per-frame matte plus clean foreground, optional hints, scene-linear OpenEXR; NVIDIA RTX 30+; 4 GB up to 1440p, 6 GB for 4K. ComfyUI: community wrappers pixelworldai/ComfyUI-CorridorKeyWrapper (loader, Chroma Key Prepass, Greenscreen node with alpha, despilled foreground, RGBA; it auto-downloads CorridorKey_v1.0.pth), TrentHunter82/TrentNodes (CorridorKey Green Screen Keyer, linear-input switch), SeanBRVFX/ComfyUI-CorridorKey. CHECK which loads the 2.0 weights; if none does, build on v1.0 and say v2 waits for a wrapper.\n- Bria VRMBG 3.0 open weights: briaai/VRMBG-3.0 (gated, manual approval; licence bria-vrmbg-3.0) through ComfyUI-RMBG v3.3.0's AILab_VRMBG node (2026-10-20; conditions each frame on the previous frame; reset_state for batches; weights downloaded by hand to models/RMBG/VRMBG-3.0/). It is the model behind Fuobe's cloud bria/video/background-removal/v3, so the matte becomes the same model on both engines when the owner has access.\n- FeyNoBg: 1038lab/FeyNobg (263M Swin-L matting, 1.05 GB, built-in foreground refine, no trimap; licence not stated: record 'unknown') via ComfyUI-RMBG 3.3.0. Also in the pack: Finegrain Box Segmenter, YOLO26-seg.\n- LTX-2.5 IC-LoRA Alpha-Gen (Lightricks, LTX-2.x Community License, gated; beta 0.9 at step 25,000; a grayscale matte the same size as the input; aimed at hair, fur, smoke, glass, water; one tester saw ~90 GB at 3200x1900 for 49 frames): offer as 'Best · Alpha-Gen' only on 48 GB+ and only if the LTX-2.5 IC-LoRA graph validates; otherwise record it for later.\n- Cloud (fal; fetch schemas): bria/video/background-removal/green-screen-despill (2026-08-27: chroma footage with spill suppression) and bria/guided-remove-background (2026-10-10; $0.03 per image; plain-language corrections such as 'keep the shadow', 'remove the hand'; optional autocrop).\nBuild:\n1. Graphs video-key-corridorkey (video → RGBA / matte / despilled foreground; chunked like video-bg-remove-*), video-matte-vrmbg3, image-matte-feynobg; packs pinned (ComfyUI-RMBG at the 3.3.0 tag; the chosen CorridorKey wrapper); validation against node lists where the packs are missing on the server.\n2. Video tools → Matte gains 'Green screen' (open: CorridorKey; cloud: Bria green-screen despill, labelled as Bria) and 'VRMBG 3.0' (open, when the gated weights are present; /connect explains the gate). Outputs: transparent WebM as today, plus 'ProRes 4444' and 'EXR (linear)' through video-export-pro / video-export-exr.\n3. Image cut-outs (Image tools, Layers 'Cut out', Save as element): 'Fine hair (FeyNoBg)' on the open engine; 'Guided' in the cloud with a 'what to keep or drop' text box.\n4. Character Swap Studio Finish and Remove object reuse the new matte where it is better (offer, do not switch defaults).\n5. Licence rows (CorridorKey's paid-API restriction stated plainly; VRMBG gated; FeyNoBg unknown), switched on.\nTests: library tests, chunking tests, export path tests, payload tests for both Bria routes, browser checks of Matte and the image cut-out at 1440 and 390 px, light and dark, in demo mode. No GPU here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-rtx-video": {
"title": "Instant upscale, HDR and frame generation on RTX cards with Comfy-Org's NVIDIA VFX nodes",
"phase": "New models 10",
- "brief": "WHY. Comfy-Org's ComfyUI Nvidia VFX Nodes 0.2.1 (2026-10-13) wrap NVIDIA's RTX Video SDK: super resolution up to 4x, SDR→HDR (HLG or PQ, 400-2000 nits) and frame generation up to 16x, all running in the GPU's dedicated paths in seconds, with an official 'RTX Video Enhance' template. Fuobe's quick tiers today are ESRGAN (no new detail), RIFE/FILM and a model-based SDR→HDR graph; this gives owners with RTX cards a near-instant option in three tools.\nWHERE IT SHOWS UP. Upscale → Video ('Quick · RTX'), FPS boost ('RTX Frame Generation', RTX 40+), SDR to HDR ('RTX Video HDR'), the Canvas upscale node, and a fast preview tier that n7-3 and archive-restore can reuse.\nFacts (github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes, v0.2.1; registry id comfyui_nvidia_rtx_nodes; formerly 'Nvidia RTX Nodes'; read the README and example workflows as data): nodes RTX Video Super Resolution (image/upscaling; IMAGE batch in, same frame count out; modes BICUBIC, LOW...ULTRA, DENOISE, DEBLUR, HIGHBITRATE, STREAMING; scale 1-4x or explicit size rounded to 8; chunks of <= 16 MP), RTX Video HDR (contrast, saturation, middle grey, peak 400-2000 nits, debanding; output BT.2020/HLG 'HDR' or BT.2020/PQ 'HDR PQ'; IMAGE carries no colour metadata, so the encoder must be told), RTX Video Frame Generation (2-16x or a single timestep; shot-change detection; output (N-1)M+1 frames; RTX 40 series or later). Requirements: NVIDIA RTX GPU, CUDA PyTorch cu130 or newer (check Fuobe's install script); no CPU or non-NVIDIA path. Licence: not stated on the page: read the repo LICENSE and NVIDIA's SDK terms and record them as information.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nBuild:\n1. Pin the pack in workflows/comfyui/packs.json and install-comfyui.sh (only on NVIDIA hosts; the installer already knows the platform: skip elsewhere).\n2. Graphs upscale-video-rtx (chunked the way upscale-video-esrgan-chunked is, sound kept), fps-rtx-framegen (multiplier or target fps; shot changes kept), sdr-to-hdr-rtx (HLG or PQ; encode HDR10 / ProRes with the right colour metadata, reusing the existing sdr-to-hdr export path). Validate against the node list (the pack will not be on the CPU server).\n3. Readiness: the tier needs an NVIDIA RTX GPU (and RTX 40+ for frame generation): /connect shows 'Needs an NVIDIA RTX card' otherwise; the chooser reads the GPU name from the status check.\n4. Studios: 'Quick · RTX' first in Upscale → Video on eligible hosts (ESRGAN stays the fallback; SeedVR2 stays 'Restore · faithful'); FPS boost and SDR to HDR get the RTX choice beside RIFE/FILM and the current graph. Defaults: keep today's unless the owner chooses.\n5. CLOUD: the SDK is not a hosted model: open-engine only; the cloud keeps Topaz / SeedVR / ByteDance upscalers under their own names.\nTests: library tests (chunk sizes, frame counts (N-1)M+1, colour metadata on HDR encodes), readiness tests for GPU names, browser checks of the three studios at 1440 and 390 px, light and dark, in demo mode. No GPU here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Comfy-Org's ComfyUI Nvidia VFX Nodes 0.2.1 (2026-10-13) wrap NVIDIA's RTX Video SDK: super resolution up to 4x, SDR→HDR (HLG or PQ, 400-2000 nits) and frame generation up to 16x, all running in the GPU's dedicated paths in seconds, with an official 'RTX Video Enhance' template. Fuobe's quick tiers today are ESRGAN (no new detail), RIFE/FILM and a model-based SDR→HDR graph; this gives owners with RTX cards a near-instant option in three tools.\nWHERE IT SHOWS UP. Upscale → Video ('Quick · RTX'), FPS boost ('RTX Frame Generation', RTX 40+), SDR to HDR ('RTX Video HDR'), the Canvas upscale node, and a fast preview tier that n7-3 and archive-restore can reuse.\nFacts (github.com/Comfy-Org/ComfyUI_Nvidia_VFX_Nodes, v0.2.1; registry id comfyui_nvidia_rtx_nodes; formerly 'Nvidia RTX Nodes'; read the README and example workflows as data): nodes RTX Video Super Resolution (image/upscaling; IMAGE batch in, same frame count out; modes BICUBIC, LOW...ULTRA, DENOISE, DEBLUR, HIGHBITRATE, STREAMING; scale 1-4x or explicit size rounded to 8; chunks of <= 16 MP), RTX Video HDR (contrast, saturation, middle grey, peak 400-2000 nits, debanding; output BT.2020/HLG 'HDR' or BT.2020/PQ 'HDR PQ'; IMAGE carries no colour metadata, so the encoder must be told), RTX Video Frame Generation (2-16x or a single timestep; shot-change detection; output (N-1)M+1 frames; RTX 40 series or later). Requirements: NVIDIA RTX GPU, CUDA PyTorch cu130 or newer (check Fuobe's install script); no CPU or non-NVIDIA path. Licence: not stated on the page: read the repo LICENSE and NVIDIA's SDK terms and record them as information.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nBuild:\n1. Pin the pack in workflows/comfyui/packs.json and install-comfyui.sh (only on NVIDIA hosts; the installer already knows the platform: skip elsewhere).\n2. Graphs upscale-video-rtx (chunked the way upscale-video-esrgan-chunked is, sound kept), fps-rtx-framegen (multiplier or target fps; shot changes kept), sdr-to-hdr-rtx (HLG or PQ; encode HDR10 / ProRes with the right colour metadata, reusing the existing sdr-to-hdr export path). Validate against the node list (the pack will not be on the CPU server).\n3. Readiness: the tier needs an NVIDIA RTX GPU (and RTX 40+ for frame generation): /connect shows 'Needs an NVIDIA RTX card' otherwise; the chooser reads the GPU name from the status check.\n4. Studios: 'Quick · RTX' first in Upscale → Video on eligible hosts (ESRGAN stays the fallback; SeedVR2 stays 'Restore · faithful'); FPS boost and SDR to HDR get the RTX choice beside RIFE/FILM and the current graph. Defaults: keep today's unless the owner chooses.\n5. CLOUD: the SDK is not a hosted model: open-engine only; the cloud keeps Topaz / SeedVR / ByteDance upscalers under their own names.\nTests: library tests (chunk sizes, frame counts (N-1)M+1, colour metadata on HDR encodes), readiness tests for GPU names, browser checks of the three studios at 1440 and 390 px, light and dark, in demo mode. No GPU here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-hosted-catchup": {
"title": "Hosted catch-up: Vidu Q4, H3 Max lip-sync, relight, insert and styles, H3 Max Turbo, H3 Lite and HighSpeed, Meshy retexture and Tripo P2",
"phase": "New models 10",
- "brief": "WHY. fal added (or Fuobe's research recorded) a dozen hosted models in September-October that fill real gaps but never reached the catalog: an H3 lip-sync that takes 15 minutes of audio, H3 relight of real footage, inserting a generated moment into the middle of a clip, five H3 looks, cheap H3 Max Turbo, Vidu Q4 with references, 3D retexturing and Tripo's production tier. Each is a catalog line plus a placement.\nWHERE IT SHOWS UP. Lipsync & avatars, Video tools → Relight, Edit video ('Insert a moment'), Effects / Mixed Media looks, the Video studio menu, Image to 3D ('Retexture'), Assist.\nFor every endpoint: fetch the OpenAPI schema with the existing scripts, add or update the record in the research JSON (prices from the page), add model() lines in scripts/gen-cloud-models.py, regenerate the catalog, add mock results and payload tests. These are closed hosted models: cloud-only, hidden by 'Open source only'; the open engine keeps its own tools.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n1. minimax/h3-max/lip-sync/image-to-video (2026-09-17): image (aspect 0.4-2.5) + audio 5 s to 15 min → video the audio's length; 480P / 768P (default) / 1080P / 2K; optional enable_transcription; $0.05 / 0.08 / 0.16 / 0.32 per second, x1.2 over 15 s. Lipsync & avatars model menu ('H3 Max Lip Sync · up to 15 min'); priced on the audio length.\n2. minimax/h3-max/relight (2026-10-07): source <= 15 s (resampled to 24 fps) + reference_image_url, which is a render of a lit sphere showing the target light (paid-model-apis-2.json notes): render the sphere in the browser from Fuobe's light presets (the relight tools already have presets); $0.05/s at 480p and up. Video tools → Relight cloud choice.\n3. minimax/h3-max/insert-video (2026-09-28): generates a scene between start_time and resume_time inside a clip ($0.05-0.06 per generated second). Edit video → 'Insert a moment' with a two-handle range on the timeline.\n4. minimax/h3-max/styles/{16bit-pixel, hand-drawn, low-poly, retro-toon-70s, vhs} (2026-09-17): text or first frame → 5-15 s clip in the look, with audio; VHS has damage_level light | medium | heavy; $0.08/s at 768p. Effects / Mixed Media 'looks' as generation (not video-to-video: say so in the card).\n5. minimax/h3-max-turbo/{text-to-video, image-to-video, reference-to-video, extend-video} (2026-09-02 / 10-01 / 10-09): $0.01625-0.052 per second by resolution: 'H3 Max Turbo' in the Video studio menu and as Cinema's cheap draft model.\n6. Replicate minimax/h3-lite and minimax/h3-highspeed (listed as latest on replicate.com/explore on 2026-11-01): fetch the schemas; add if they map onto existing ops.\n7. fal-ai/vidu/q4/image-to-video and reference-to-video (2026-10-05; $0.0315/s at 540p and up; Vidu says Q4 takes up to 15 image and 3 audio references with synced audio up to 4K: record what the fal schema actually exposes). Video studio menu; references through the existing ref2v plumbing.\n8. meshy/v7/retexture and meshy/v6/retexture (2026-10-14): a 3D model + text or image style → retextured model. Image to 3D: a 'Retexture' action on 3D results (cloud). Tripo P2 (tripo3d/p2/image-to-3d, $1.00-1.30 per model) as a production-tier choice in Image to 3D.\n9. Not in this package: Kandinsky 6 (nm10-kandinsky6), Kling 4 (nm10-kling-4), FLUX 3 Klein (nm10-flux3-klein), Mureka / ElevenLabs Music / Lyria (nm10-music3), Bria despill / guided (nm10-keying), Idol on fal (see §5 of the research note: idol-1's brief decides), H3 Max Director / reference-director (realtime WebRTC; record only), the fal 'worlds' models (record only).\n10. Licence rows: proprietary paid API for each, switched on.\nTests: payload and price tests for every route (H3 lip-sync x1.2 over 15 s; insert-video's range; the sphere render's size), the timeline range control, browser checks of Lipsync, Relight, Edit video and Image to 3D at 1440 and 390 px, light and dark, in demo mode. No paid key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. fal added (or Fuobe's research recorded) a dozen hosted models in September-October that fill real gaps but never reached the catalog: an H3 lip-sync that takes 15 minutes of audio, H3 relight of real footage, inserting a generated moment into the middle of a clip, five H3 looks, cheap H3 Max Turbo, Vidu Q4 with references, 3D retexturing and Tripo's production tier. Each is a catalog line plus a placement.\nWHERE IT SHOWS UP. Lipsync & avatars, Video tools → Relight, Edit video ('Insert a moment'), Effects / Mixed Media looks, the Video studio menu, Image to 3D ('Retexture'), Assist.\nFor every endpoint: fetch the OpenAPI schema with the existing scripts, add or update the record in the research JSON (prices from the page), add model() lines in scripts/gen-cloud-models.py, regenerate the catalog, add mock results and payload tests. These are closed hosted models: cloud-only, hidden by 'Open source only'; the open engine keeps its own tools.\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\n1. minimax/h3-max/lip-sync/image-to-video (2026-09-17): image (aspect 0.4-2.5) + audio 5 s to 15 min → video the audio's length; 480P / 768P (default) / 1080P / 2K; optional enable_transcription; $0.05 / 0.08 / 0.16 / 0.32 per second, x1.2 over 15 s. Lipsync & avatars model menu ('H3 Max Lip Sync · up to 15 min'); priced on the audio length.\n2. minimax/h3-max/relight (2026-10-07): source <= 15 s (resampled to 24 fps) + reference_image_url, which is a render of a lit sphere showing the target light (paid-model-apis-2.json notes): render the sphere in the browser from Fuobe's light presets (the relight tools already have presets); $0.05/s at 480p and up. Video tools → Relight cloud choice.\n3. minimax/h3-max/insert-video (2026-09-28): generates a scene between start_time and resume_time inside a clip ($0.05-0.06 per generated second). Edit video → 'Insert a moment' with a two-handle range on the timeline.\n4. minimax/h3-max/styles/{16bit-pixel, hand-drawn, low-poly, retro-toon-70s, vhs} (2026-09-17): text or first frame → 5-15 s clip in the look, with audio; VHS has damage_level light | medium | heavy; $0.08/s at 768p. Effects / Mixed Media 'looks' as generation (not video-to-video: say so in the card).\n5. minimax/h3-max-turbo/{text-to-video, image-to-video, reference-to-video, extend-video} (2026-09-02 / 10-01 / 10-09): $0.01625-0.052 per second by resolution: 'H3 Max Turbo' in the Video studio menu and as Cinema's cheap draft model.\n6. Replicate minimax/h3-lite and minimax/h3-highspeed (listed as latest on replicate.com/explore on 2026-11-01): fetch the schemas; add if they map onto existing ops.\n7. fal-ai/vidu/q4/image-to-video and reference-to-video (2026-10-05; $0.0315/s at 540p and up; Vidu says Q4 takes up to 15 image and 3 audio references with synced audio up to 4K: record what the fal schema actually exposes). Video studio menu; references through the existing ref2v plumbing.\n8. meshy/v7/retexture and meshy/v6/retexture (2026-10-14): a 3D model + text or image style → retextured model. Image to 3D: a 'Retexture' action on 3D results (cloud). Tripo P2 (tripo3d/p2/image-to-3d, $1.00-1.30 per model) as a production-tier choice in Image to 3D.\n9. Not in this package: Kandinsky 6 (nm10-kandinsky6), Kling 4 (nm10-kling-4), FLUX 3 Klein (nm10-flux3-klein), Mureka / ElevenLabs Music / Lyria (nm10-music3), Bria despill / guided (nm10-keying), Idol on fal (see §5 of the research note: idol-1's brief decides), H3 Max Director / reference-director (realtime WebRTC; record only), the fal 'worlds' models (record only).\n10. Licence rows: proprietary paid API for each, switched on.\nTests: payload and price tests for every route (H3 lip-sync x1.2 over 15 s; insert-video's range; the sphere render's size), the timeline range control, browser checks of Lipsync, Relight, Edit video and Image to 3D at 1440 and 390 px, light and dark, in demo mode. No paid key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-kandinsky6": {
"title": "Kandinsky 6.0 on both engines: MIT-licensed 5 s clips with dialogue and sound, and Kandinsky VSR as an upscaler",
"phase": "New models 10",
- "brief": "WHY. Kandinsky 6.0 Video (Kandinsky Lab, 2026-10-06, MIT) is the only new open video model with synchronised 44 kHz audio and lip-synced dialogue under a fully permissive licence, in a 29B Pro and a 3B Lite, with a first-party ComfyUI extension and the same models hosted on fal (Pro, Lite and the VSR upscaler). Round 4 judged it 'unproven vs Wan 2.2'; the Lite model is a sound-on option for smaller GPUs, and the VSR is the cheapest hosted video upscaler on fal ($0.08-0.09 for 5 s 480p→1080p).\nWHERE IT SHOWS UP. Video studio model menu (both engines), Lipsync & avatars ('talking characters from words'), Upscale → Video ('Kandinsky VSR', both engines).\nFacts (github.com/kandinskylab/kandinsky-6; kandinskylab/Kandinsky-6.0-Pro-distill-5s-Diffusers @ 80d5e6c7f646, MIT; read the README, the technical report and the ComfyUI extension as data): Pro 29B and Lite 3B, each as base, 10-step distilled (PiFlow, CFG 1) and pretrained checkpoints; 5 s clips at 24 fps (examples 480x864); 44 kHz synchronised audio (dialogue, ambience, music) with lip sync; modes T2AV and TI2AV (the image is the first frame); sample_audio False gives video only; expand_prompts rewrites short prompts (Qwen3.5-9B 'beautification', can be turned off). Architecture: Qwen2.5-VL embeddings + CLIP pooled, Hunyuan Video VAE, MMAudio VAE + BigVGAN vocoder, flow matching shift 5. Kandinsky6SRPipeline: x2, x2.25 or x4 by tiled diffusion in K-VAE latent space (4 steps per tile; the distilled VSR 2 steps), up to Full HD. ComfyUI: not native yet (core PR #16825 under review); first-party Registry packages kandinsky6 and kandinsky6-sr (ComfyUI >= 0.38; Fuobe pins 0.42.0), two templates (T2AV, TI2AV) defaulting to Pro distilled, MagCache supported (bypassed for distilled), a 'Download models' button. Files named in the templates: Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer, Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers, qwen3.5_9b_bf16, qwen_2.5_vl_7b, v1-44.pth, bigvgan_generator.pt. VRAM: not published (round 4 recorded 27.7 / 90.0 GB on disk for Lite / Pro: re-check from the HF trees and give a guess with a note).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nHosted on fal (fetch schemas): fal-ai/kandinsky6-pro/{text-to-video,image-to-video} ($1.35 / $1.40 per 5 s at 480p at 50 steps; $0.24-0.25 at 8 steps; upscale_factor to 1080p $1.53), fal-ai/kandinsky6-lite/{text-to-video,image-to-video} (2026-10-05; price: read the page), fal-ai/kandinsky6-vsr (upscale_factor 2 | 2.25 | 4; $0.00036 per output MP per frame at 5 steps ≈ $0.09 for 5 s 480p→1080p) and /lite (2 steps ≈ $0.08).\nBuild:\n1. Packs kandinsky6 and kandinsky6-sr pinned in packs.json and install-comfyui.sh; graphs kandinsky6-t2av, kandinsky6-i2av (Pro and Lite via a binding), video-upscale-kandinsky6-vsr; validate against node lists (packs not on the server). If core PR #16825 merges before you start, prefer core nodes and say so.\n2. ModelDefs oss-kandinsky6 (t2v, i2v, with sound) and the cloud model kandinsky-6 (Pro / Lite as a quality option; steps exposed as Fast 8 / Standard 20 / Best 50 with the per-step price), both labelled 'Kandinsky 6.0 · both engines'.\n3. Upscale → Video: 'Kandinsky VSR' (2x, 2.25x, 4x) on both engines (the same model), priced per output megapixel per frame in the cloud.\n4. Lipsync & avatars: list Kandinsky as a 'talking character from words' generator (dialogue in the prompt), not as lip-sync of existing footage.\n5. Licence rows (MIT for the weights; the Qwen and BigVGAN components as their cards say), switched on.\nTests: library tests, payload and price tests (steps x resolution; VSR per-frame megapixels), browser checks of the Video studio and Upscale at 1440 and 390 px, light and dark, in demo mode. No GPU or fal key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. Kandinsky 6.0 Video (Kandinsky Lab, 2026-10-06, MIT) is the only new open video model with synchronised 44 kHz audio and lip-synced dialogue under a fully permissive licence, in a 29B Pro and a 3B Lite, with a first-party ComfyUI extension and the same models hosted on fal (Pro, Lite and the VSR upscaler). Round 4 judged it 'unproven vs Wan 2.2'; the Lite model is a sound-on option for smaller GPUs, and the VSR is the cheapest hosted video upscaler on fal ($0.08-0.09 for 5 s 480p→1080p).\nWHERE IT SHOWS UP. Video studio model menu (both engines), Lipsync & avatars ('talking characters from words'), Upscale → Video ('Kandinsky VSR', both engines).\nFacts (github.com/kandinskylab/kandinsky-6; kandinskylab/Kandinsky-6.0-Pro-distill-5s-Diffusers @ 80d5e6c7f646, MIT; read the README, the technical report and the ComfyUI extension as data): Pro 29B and Lite 3B, each as base, 10-step distilled (PiFlow, CFG 1) and pretrained checkpoints; 5 s clips at 24 fps (examples 480x864); 44 kHz synchronised audio (dialogue, ambience, music) with lip sync; modes T2AV and TI2AV (the image is the first frame); sample_audio False gives video only; expand_prompts rewrites short prompts (Qwen3.5-9B 'beautification', can be turned off). Architecture: Qwen2.5-VL embeddings + CLIP pooled, Hunyuan Video VAE, MMAudio VAE + BigVGAN vocoder, flow matching shift 5. Kandinsky6SRPipeline: x2, x2.25 or x4 by tiled diffusion in K-VAE latent space (4 steps per tile; the distilled VSR 2 steps), up to Full HD. ComfyUI: not native yet (core PR #16825 under review); first-party Registry packages kandinsky6 and kandinsky6-sr (ComfyUI >= 0.38; Fuobe pins 0.42.0), two templates (T2AV, TI2AV) defaulting to Pro distilled, MagCache supported (bypassed for distilled), a 'Download models' button. Files named in the templates: Kandinsky-6.0-Pro-distill-5s-Diffusers/transformer, Kandinsky-6.0-VSR-distilled2steps-5s-Diffusers, qwen3.5_9b_bf16, qwen_2.5_vl_7b, v1-44.pth, bigvgan_generator.pt. VRAM: not published (round 4 recorded 27.7 / 90.0 GB on disk for Lite / Pro: re-check from the HF trees and give a guess with a note).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nHosted on fal (fetch schemas): fal-ai/kandinsky6-pro/{text-to-video,image-to-video} ($1.35 / $1.40 per 5 s at 480p at 50 steps; $0.24-0.25 at 8 steps; upscale_factor to 1080p $1.53), fal-ai/kandinsky6-lite/{text-to-video,image-to-video} (2026-10-05; price: read the page), fal-ai/kandinsky6-vsr (upscale_factor 2 | 2.25 | 4; $0.00036 per output MP per frame at 5 steps ≈ $0.09 for 5 s 480p→1080p) and /lite (2 steps ≈ $0.08).\nBuild:\n1. Packs kandinsky6 and kandinsky6-sr pinned in packs.json and install-comfyui.sh; graphs kandinsky6-t2av, kandinsky6-i2av (Pro and Lite via a binding), video-upscale-kandinsky6-vsr; validate against node lists (packs not on the server). If core PR #16825 merges before you start, prefer core nodes and say so.\n2. ModelDefs oss-kandinsky6 (t2v, i2v, with sound) and the cloud model kandinsky-6 (Pro / Lite as a quality option; steps exposed as Fast 8 / Standard 20 / Best 50 with the per-step price), both labelled 'Kandinsky 6.0 · both engines'.\n3. Upscale → Video: 'Kandinsky VSR' (2x, 2.25x, 4x) on both engines (the same model), priced per output megapixel per frame in the cloud.\n4. Lipsync & avatars: list Kandinsky as a 'talking character from words' generator (dialogue in the prompt), not as lip-sync of existing footage.\n5. Licence rows (MIT for the weights; the Qwen and BigVGAN components as their cards say), switched on.\nTests: library tests, payload and price tests (steps x resolution; VSR per-frame megapixels), browser checks of the Video studio and Upscale at 1440 and 390 px, light and dark, in demo mode. No GPU or fal key here.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
},
"nm10-hy-nomas-world": {
"title": "World mode on your GPU: Hy-Nomas, a world you describe once and then steer turn by turn with words and camera moves",
"phase": "New models 10",
- "brief": "WHY. 'Worlds' became a hot category in October: fal opened a worlds section (H3 Max Director, Abot World 0, Lingbot World 2, VAST Eden Live) and Tencent open-sourced Hy-Nomas (Apache-2.0, 2026-10-21), an interactive world model that keeps generating 720p video at 24 fps while you change the action in words and fly the camera on a trajectory. A community ComfyUI port loads it with stock loaders and measured ~21 s per 3 s turn on a 5090. Fuobe's Cinema already has camera paths (fly path) to drive it.\nWHERE IT SHOWS UP. Cinema Studio: a 'World' take type (opening description, then turns with words and a camera move from the fly-path library), a turn timeline with redo, export as one film; Assist ('make a 60 s world walk-through').\nFacts (tencent/Hy-Nomas @ bb6a8ca451bf, Apache-2.0 per the HF tag: read the LICENSE file and record it; github.com/Tencent-Hunyuan/Hy-Nomas; port github.com/Nynxz/ComfyUI-HyNomas with converted weights at huggingface.co/nynxz/Hy-Nomas; read all as data): 720x1280 at 24 fps; 8-step distilled config, Euler ODE, text and camera guidance 1.0; a JSON prompt file of segments (start/end times, a long opening description, short change descriptions for later turns, timed actions; inference.video_length=event derives lengths from event times); a trajectory file of camera-to-world matrices and intrinsics (trajectory_translation_scale 1.0, trajectory_rotation_scale 2.5 by default); keyboard/mouse control only in Tencent's hosted demo. The gallery example is 60 s from five 12 s text-only turns. Hardware: reference 8 GPUs with sequence parallelism; a single-4090 config uses INT8 DiT and KV cache, an FP8 decoder, stage-by-stage CPU offload and GPU history capped at 18 latent frames (speed unverified by Tencent); the port measured ~21 s per 3 s turn plus ~4 s decode per window on a 5090 at 1280x704 INT8. Files: DiT/distilled_int8 9.06 GB (port: INT8 DiT 9.0 GB in diffusion_models; BF16 17.1 GB for LoRA merges), PixelUMM VAE (31.55 GB in Tencent's repo; 15.8 GB converted by the port), a cinematic LoRA adapter 6.12 GB, the prompt enhancer PE (~55 GB, optional: offline inference reads prepared prompt files), the text encoder Qwen2.5-VL 7B loaded as type qwen_image from Comfy-Org/Qwen-Image_ComfyUI (Fuobe may already pin it: check).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nBuild:\n1. Pin the port (Nynxz/ComfyUI-HyNomas at a commit) and the converted weights in packs.json / model-pins.json; graph world-hy-nomas-turn: one turn = the previous turn's state (the port's history mechanism: read how it carries history between queue runs) + the turn's words + the turn's camera trajectory → 3-12 s of video; validate against the node list. If the port cannot carry history between separate /prompt calls, build the whole film as one graph with N turns and say so.\n2. A pure, tested converter src/lib/world-path.ts: Fuobe's camera paths (scene3d keyframes / the fly-path library: orbits, dollies, trucks, figure-8) → Hy-Nomas camera-to-world matrices and intrinsics at 24 fps, with the default scales.\n3. Cinema 'World' take: opening description, turns list (words + a camera move chip + seconds), Preview the path, Run turn, Redo from here (keeps earlier turns), Export (join with video-concat). Sound: Hy-Nomas makes none: offer the existing Foley / music tools after.\n4. CLOUD: Hy-Nomas is not hosted on fal or Replicate: open engine only ('Runs on your GPU (open source)'; 'Paid APIs only' hides it). fal's worlds models (H3 Max Director realtime WebRTC sessions with a 60 s minimum; Abot World 0; Lingbot World 2 'research' licence; Eden Live) are different models, not stand-ins: record them in the research JSON; whether to offer any of them under its own name is the owner's call.\n5. Relation to queued work: n7-9-worldcast-worker (WorldCast fly-around from one photo) is a different model and stays; reuse its camera-path pieces if they landed first.\n6. /connect row: 'World mode' with the 24 GB+ (guess) requirement and the ~25 GB of files; licence row Apache-2.0 (and the PE and VAE licences as their cards say).\nTests: converter tests (matrix conventions, intrinsics, frame counts, scales), turn-state tests, library test, browser checks of the World take at 1440 and 390 px, light and dark, in demo mode. No GPU here: every speed figure is the port author's.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys or GPU: an account runs studio generations through POST /api/generations on its own ComfyUI (onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without a GPU any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
+ "brief": "WHY. 'Worlds' became a hot category in October: fal opened a worlds section (H3 Max Director, Abot World 0, Lingbot World 2, VAST Eden Live) and Tencent open-sourced Hy-Nomas (Apache-2.0, 2026-10-21), an interactive world model that keeps generating 720p video at 24 fps while you change the action in words and fly the camera on a trajectory. A community ComfyUI port loads it with stock loaders and measured ~21 s per 3 s turn on a 5090. Fuobe's Cinema already has camera paths (fly path) to drive it.\nWHERE IT SHOWS UP. Cinema Studio: a 'World' take type (opening description, then turns with words and a camera move from the fly-path library), a turn timeline with redo, export as one film; Assist ('make a 60 s world walk-through').\nFacts (tencent/Hy-Nomas @ bb6a8ca451bf, Apache-2.0 per the HF tag: read the LICENSE file and record it; github.com/Tencent-Hunyuan/Hy-Nomas; port github.com/Nynxz/ComfyUI-HyNomas with converted weights at huggingface.co/nynxz/Hy-Nomas; read all as data): 720x1280 at 24 fps; 8-step distilled config, Euler ODE, text and camera guidance 1.0; a JSON prompt file of segments (start/end times, a long opening description, short change descriptions for later turns, timed actions; inference.video_length=event derives lengths from event times); a trajectory file of camera-to-world matrices and intrinsics (trajectory_translation_scale 1.0, trajectory_rotation_scale 2.5 by default); keyboard/mouse control only in Tencent's hosted demo. The gallery example is 60 s from five 12 s text-only turns. Hardware: reference 8 GPUs with sequence parallelism; a single-4090 config uses INT8 DiT and KV cache, an FP8 decoder, stage-by-stage CPU offload and GPU history capped at 18 latent frames (speed unverified by Tencent); the port measured ~21 s per 3 s turn plus ~4 s decode per window on a 5090 at 1280x704 INT8. Files: DiT/distilled_int8 9.06 GB (port: INT8 DiT 9.0 GB in diffusion_models; BF16 17.1 GB for LoRA merges), PixelUMM VAE (31.55 GB in Tencent's repo; 15.8 GB converted by the port), a cinematic LoRA adapter 6.12 GB, the prompt enhancer PE (~55 GB, optional: offline inference reads prepared prompt files), the text encoder Qwen2.5-VL 7B loaded as type qwen_image from Comfy-Org/Qwen-Image_ComfyUI (Fuobe may already pin it: check).\nSTART by mapping what already exists against the plan: earlier packages built parts of this (read git log --oneline on the base for the files the plan names, the catalog, the studio code and its tests). Build only the gaps, extend what exists rather than duplicating it, and say in your report which plan items were already there.\nBuild:\n1. Pin the port (Nynxz/ComfyUI-HyNomas at a commit) and the converted weights in packs.json / model-pins.json; graph world-hy-nomas-turn: one turn = the previous turn's state (the port's history mechanism: read how it carries history between queue runs) + the turn's words + the turn's camera trajectory → 3-12 s of video; validate against the node list. If the port cannot carry history between separate /prompt calls, build the whole film as one graph with N turns and say so.\n2. A pure, tested converter src/lib/world-path.ts: Fuobe's camera paths (scene3d keyframes / the fly-path library: orbits, dollies, trucks, figure-8) → Hy-Nomas camera-to-world matrices and intrinsics at 24 fps, with the default scales.\n3. Cinema 'World' take: opening description, turns list (words + a camera move chip + seconds), Preview the path, Run turn, Redo from here (keeps earlier turns), Export (join with video-concat). Sound: Hy-Nomas makes none: offer the existing Foley / music tools after.\n4. CLOUD: Hy-Nomas is not hosted on fal or Replicate: open engine only ('Runs on your GPU (open source)'; 'Paid APIs only' hides it). fal's worlds models (H3 Max Director realtime WebRTC sessions with a 60 s minimum; Abot World 0; Lingbot World 2 'research' licence; Eden Live) are different models, not stand-ins: record them in the research JSON; whether to offer any of them under its own name is the owner's call.\n5. Relation to queued work: n7-9-worldcast-worker (WorldCast fly-around from one photo) is a different model and stays; reuse its camera-path pieces if they landed first.\n6. /connect row: 'World mode' with the 24 GB+ (guess) requirement and the ~25 GB of files; licence row Apache-2.0 (and the PE and VAE licences as their cards say).\nTests: converter tests (matrix conventions, intrinsics, frame counts, scales), turn-state tests, library test, browser checks of the World take at 1440 and 390 px, light and dark, in demo mode. No GPU here: every speed figure is the port author's.\nCLOUD ONLY WHERE IT IS HOSTED (the owner's rule): a feature gets a cloud route only when the model itself (or its base model with LoRA support, for a LoRA) is hosted on fal or Replicate with the inputs it needs. If it isn't, the feature is on the open engine (ComfyUI) only: no substitute recipe on the cloud. The cloud engine says plainly that it runs on your GPU (open source), and Engine mode \"Paid APIs only\" hides or refuses it with that reason. EACH ENGINE DOES ALL IT CAN (the owner, 10-30): the cloud uses only hosted models, with what the hosted endpoint supports; the open engine keeps every capability it has (LoRAs, custom nodes, longer clips, reference images) even when the cloud can't match it. Never remove or weaken a local capability because the cloud lacks it: a LoRA that only works locally runs locally, and the cloud runs the same hosted model without it. The UI says plainly what each engine does.\nMAIN CHANGED THIS AREA (10-30): main's GPU pre-flight board (/connect; STUDIO_ROWS and the preset map in src/server/gpu/tools.ts; chips from /api/gpu/badges) shows every studio, app and model as Ready / One step away / Needs setup / Needs a bigger GPU. Give a new studio page, hub tool or app its row there, and make sure its ComfyUI graphs reach workflows/comfyui/requirements.json (the library build writes it; pin a new node pack in workflows/comfyui/packs.json and new model files in workflows/comfyui/model-pins.json).\nPUBLIC SIGN-UP (the owner's, on main: docs/public-signup.md at your base, which wins where it says more than this; the accounts lane acc-* was dropped on 2026-10-30, and docs/research/accounts-8.md is background research only): every route, tool, page and run you add follows it the way main's own routes do. Read src/lib/guest-access.ts, src/proxy.ts, src/server/tenant.ts and tests/public-signup.test.ts first. Guests browse read-only (changes answer 401). Accounts see the owner's library as a guest does: the owner's lists come back empty (EMPTY_LISTS), other reads of them are refused, a change to the library or projects goes in LIBRARY_CHANGES (403 code library), and a visitor is never told whether one of the owner's records exists. Install-wide settings, keys and tokens stay the owner's (OWNER_WRITES, OWNER_ALL). Only the owner's runs reach the install's keys: an account runs studio generations through POST /api/generations on its own GPU (a linked ComfyUI, its own computer through its tab, or a ComfyUI paired with Fuobe Connect, docs/gpu-workers.md; onOwnGpu in src/server/providers/comfyui.ts; accountRun in src/server/generations.ts keeps chained steps the account's own); without one any run answers connect-gpu, and a tool that plans with the studio's own AI helpers or keeps projects of its own answers own-gpu-tool (so does every 3D model for now). Hosted runs (FUOBE_HOSTED_RUNS=1, off by default; \"Hosted runs\" in docs/public-signup.md): an account's studio run through POST /api/generations may run on the install's own ComfyUI server instead (decidePlace in src/server/hosted-run.ts, src/server/hosted.ts), priced and set aside by an optional billing service and checked by an optional moderation service; a model or op you add on that path plans and prices there too (poolQuote; test it in the style of tests/hosted-runs.test.ts), while Image to 3D, extra LoRAs, and clips and sound as inputs stay on the account's own GPU, and every other tool still answers own-gpu-tool. An account's run reads only its own files: it runs inside runAsTenant, src/server/tenant.ts says what work inside a tenant may use, and src/server/account-inputs.ts checks every input (input-not-allowed, input-not-yours, input-gone, input-too-big). A new server path that reads, fetches or chains a file for a run goes through them, with a test in the style of tests/account-tenant.test.ts and the other tests/account-*.test.ts. A price check (an estimate route, or ?preview=1 on a run route) goes in ESTIMATES or PREVIEWS and runs through priceAs (src/server/visitor.ts), so a visitor is priced for its own GPU on the open engine, never a demo. The sign-in proxy holds a request body only up to 4 MB (main, 10-31: proxyClientMaxBodySize in next.config.ts; a bigger body reaches the route cut short, with no error), so a route that takes a large file takes an uploaded file's reference instead (POST /api/uploads skips the proxy through src/server/direct-gate.ts). A route that must take a file itself skips the proxy the way main's do: the matcher in src/proxy.ts, then gateAsProxy and readBodyWithin or readFormWithin from src/server/direct-gate.ts, and a row in tests/request-body-limits.test.ts. Add each new route to those rules and to tests/public-signup.test.ts (tools in the style of tests/public-signup-tools.test.ts). A new ComfyUI workflow or node pack goes into the GPU pre-flight's requirement index (workflows/comfyui/packs.json and model-pins.json, then node scripts/comfy/build-requirements.mjs), and a new studio or tool gets a row on the pre-flight board (/connect; STUDIO_ROWS in src/server/gpu/tools.ts)."
}
}
}