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.

Docs: README, STATUS, ARCHITECTURE and the research index describe round 4, part 1

Claude5201b962e76b
diff --git a/README.md b/README.md
index 1531d372..423a1711 100644
--- a/README.md
+++ b/README.md
@@ -4,19 +4,22 @@
Use the same frontier paid models Higgsfield uses (Nano Banana Pro, Seedance 2.5, Kling 3.0, Veo 3.1, Seedream 5, GPT Image 2.5, FLUX.3, Gemini Omni, MiniMax, ElevenLabs…, and Higgsfield's own Soul and Cinema Studio) with your own fal.ai / Replicate / Higgsfield key, **or** run the equivalent open-weight workflows on your own GPU through **ComfyUI**. Same studio, same apps, same camera motions — flip one switch.
- **Assist:** describe the whole job in a chat; the agent picks models, shows the plan and its cost, runs it when you approve, checks the results and chains the next step. Free / Smart / Manual modes, 20 built-in **skills** (SKILL.md playbooks, or upload your own), **projects** with instructions and up to 20 sources (links, files and PDFs, elements, notes), and **memory**. Runs on Claude, a local Ollama model, or an offline planner
-- **MCP:** other agents (Claude Code, Claude Desktop, any MCP client) can drive the studio through `/api/mcp`, including whole studio jobs (layers, restyle, dub, faceless episode, ads, captions, Katana; they run as plain pipelines and don't open a studio session yet) and the skills as prompts
-- **Create:** Image · Video (text, image, start/end frame, reference images and clips, multi-shot, draft mode) · Edit · **Layers** (split a flat image into editable layers, edit text, regional edits, cropped or positioned zips) · Inpaint & Draw to Edit · Color grading · Camera motions · Effects · Storyboard (and turn it into a film) · **Canvas** (wire prompts, files and models into node workflows; every template in a cloud and an open-source version) · Apps
+- **MCP:** other agents (Claude Code, Claude Desktop, any MCP client) can drive the studio through `/api/mcp`, including whole studio jobs that open in their studio (a Layers project, a Shorts session, a dub to review, a Faceless episode, an Ads Studio batch, the Captions editor, a Katana edit; Genjutsu and Remove object aren't tools yet) and the skills as prompts. `npx skills add workingprototype/Fuobe` installs the skills in other agents
+- **Command line:** `fuobe` lists models, prices a run, generates, waits and downloads from a terminal, a script or a coding agent; see [`docs/cli.md`](docs/cli.md)
+- **Create:** Image · Video (text, image, start/end frame, **Frames**: up to 10 stills on a timeline, reference images and clips, multi-shot, draft mode) · Edit · **Layers** (split a flat image into editable layers, edit text, regional edits, cropped or positioned zips) · Inpaint & Draw to Edit · Color grading · Camera motions · Effects · Storyboard (and turn it into a film) · **Canvas** (wire prompts, files and models into node workflows; every template in a cloud and an open-source version) · Apps
- **Studios:**
- - **Cinema Studio** — projects and scenes, Director's Panel (camera, lens, 50 palettes, lighting rig, Emotion Wheel), 33 camera moves (# in the prompt bar), AI Director, image grids, Soul Cast and Soul Location
+ - **Cinema Studio** — projects and scenes, Director's Panel (camera, lens, 50 palettes, lighting rig, Emotion Wheel), 33 camera moves (# in the prompt bar), AI Director, image grids, Soul Cast and Soul Location, and **3D scenes**: turn a still into a scene you fly through, set the lens and frame, and Capture a re-rendered take from that view
- **Shorts Studio** — restyle up to 2 minutes of your own footage with 44 looks (or your own references), in segments you can regenerate, stitched back under your sound; **Mixed Media** — 33 looks for 1–10 s clips with per-preset settings and a preview frame
+ - **Genjutsu** — keep a 4–30 s clip's motion, camera and framing and change what is in it: motion transfer, object swap, restyle or insert, with reference images, priced before it runs
- **Marketing Studio** (84 templates), **Click to Ad**, **Ads Studio** (brand kit from your website, up to 20 ads per product in 1:1 / 4:5 / 9:16) and **Ad Multiplier**
- **Moodboards**, **Color signature** (Soul HEX palettes), **Photodump / Instadump**, **Fashion Factory**, **Character Sheet**
- - **Faceless Studio** and **Explainer** — channels, scripts, narrated and subtitled episodes with a timeline editor
- - **Translate & dub** (your voice, lip-synced, over the original background on the open engine), **Captions** (transcribe, edit, burn in), **Trim**, **Katana** (recreate a reference edit with your subject), **Image to 3D**, Lipsync & avatars, Motion control, Edit / Extend / Reframe video, Video tools (matte, relight, depth, join clips, match colors), Upscale, Audio (speech with voice picker and cloning, dialogue, voice change, sound effects, music, sound for video), and a Virality predictor (a labelled heuristic)
-- **Library:** all your results (images, videos, audio, text, 3D) with layouts, filters, folders, bulk zip download and a Trash with 30-day restore; results arrive live
+ - **Faceless Studio** and **Explainer** — channels, scripts, narrated and subtitled episodes with a timeline editor; "Frame by frame" moves the camera slowly over each still (a Ken Burns move), the music loops to cover long films, and Explainer reads PDF and Word sources
+ - **Translate & dub** (your voice, lip-synced, over the original music and effects on both engines), **Captions** (transcribe, edit, burn in), **Trim**, **Katana** (recreate a reference edit with your subject), **Image to 3D**, Lipsync & avatars, Motion control, Edit / Extend / Reframe video, Video tools (**Remove object**: type it, paint it or, on the cloud, click it, and it's erased from the clip; matte, relight, depth, join clips, match colors), Upscale (images and video, **FPS Boost** and slow motion, **SDR to HDR**, and **Export** to ProRes, H.265 10-bit, FFV1 or EXR frames on the open engine), Audio (speech with voice picker and cloning, dialogue, voice change, sound effects, music, sound for video, transcribe, **loop / extend** and **join**), and a Virality predictor (a labelled heuristic)
+- **Library:** all your results (images, videos, audio, text, 3D) with layouts, filters, nested folders, pins, a review status (In progress, Needs review, Approved, Rejected), Select all, bulk zip download and a Trash with 30-day restore. Helper steps stay hidden until you ask (Show steps), and an upload is deleted only when nothing uses it. Results arrive live, and a browser notification can tell you when a job finishes while Fuobe is in the background
+- **Getting around:** a **Get started** card on Home and Settings (use paid models, use your GPU, or just try the demo); a **⌘K / Ctrl+K palette** that searches pages, settings, apps, motions, effects, models and recent creations; Start on Home runs the job and says first what it costs; **Settings → About & licences** lists every open model's licence
- **Elements:** save characters, locations, props, styles and voices once, then `@mention` them in any prompt; train a character (Soul ID, a fal LoRA, or AI-Toolkit on your GPU) for a consistent face
-- **Catalog:** 157 cloud models + 73 open-source models (plus 32 hidden ones: chain steps, self-tests, browser tools, and four open models no studio offers yet), 123 apps, 108 camera motions (mix any two), 255 effects
-- **Open-source engine:** 115 API-format ComfyUI workflows (official templates, community packs and hand-built graphs) validated against real ComfyUI node definitions, plus 43 researched LoRAs (camera moves, VFX) attached to 55 motion, effect and app presets
+- **Catalog:** 193 cloud models + 84 open-source models (plus 42 hidden ones: chain steps and studio helpers, self-tests, browser tools, and four that no studio uses yet: Gemma 4 speech translate and the cloud Overlay image, Extract frames and Images to video), 124 apps, 108 camera motions (mix any two), 255 effects
+- **Open-source engine:** 139 API-format ComfyUI workflows (official templates, community packs and hand-built graphs) validated against real ComfyUI node definitions, plus 43 researched LoRAs (camera moves, VFX) attached to 55 motion, effect and app presets
- **No keys? No GPU?** Demo mode lets you click through everything with clearly-labelled placeholder outputs.
> Project status, what works, what's verified and what's left: **[docs/STATUS.md](docs/STATUS.md)** (also in-app at `/status`).
@@ -44,12 +47,14 @@ The mode can also be set with `FUOBE_ENGINE_MODE=both|open|cloud`. Then connect
|---|---|---|
| A [fal.ai](https://fal.ai/dashboard/keys) key | `fal.ai API key` (or `FAL_KEY`) | Every cloud model and cloud app |
| A Replicate token | `Replicate API token` (or `REPLICATE_API_TOKEN`) | Fallback route for models Replicate hosts; **Preferred provider** (or `FUOBE_CLOUD_PROVIDER`: `auto`, `fal`, `replicate` or `higgsfield`) picks which one goes first |
-| A [Higgsfield API](https://console.higgsfield.ai) key | `Higgsfield API key` as `KEY_ID:KEY_SECRET` (or `HIGGSFIELD_API_KEY`, `HF_KEY`, or `HF_API_KEY` + `HF_API_SECRET`) | Soul 2.0 / Soul Cinema / Soul v1 with live presets, Soul ID training, Genjutsu, Cinema Studio 4.0, Marketing Studio, Ads Studio, plus extra routes for Seedance, Kling, Wan, MiniMax… |
+| A [Higgsfield API](https://console.higgsfield.ai) key | `Higgsfield API key` as `KEY_ID:KEY_SECRET` (or `HIGGSFIELD_API_KEY`, `HF_KEY`, or `HF_API_KEY` + `HF_API_SECRET`) | Soul 2.0 / Soul Cinema / Soul v1 with live presets, Soul ID training, Genjutsu and Genjutsu Lite, Cinema Studio 4.0, Marketing Studio, Ads Studio, plus extra routes for Seedance, Kling, Wan, MiniMax… |
| A GPU running ComfyUI | `ComfyUI server URL` (or `COMFYUI_URL`, default `http://127.0.0.1:8188`; `COMFYUI_TOKEN` if it sits behind a proxy) | Every open-source model, app, motion, effect and studio route |
| An Anthropic key | `Anthropic API key` (or `ANTHROPIC_API_KEY`) | The full **Assist** agent (Smart and Manual modes), text steps (translate, write, scripts, ad copy, brand research), prompt **Enhance** and storyboard splitting with Claude |
| Ollama | `Prompt enhancement` → Ollama (`OLLAMA_URL`, `OLLAMA_MODEL`, default `qwen3:8b`; `FUOBE_ENHANCE_PROVIDER`) | The same text steps and the Assist agent on a local model (tool calling) |
| AI-Toolkit (ostris) on your GPU | `AI_TOOLKIT_URL` (+ `AI_TOOLKIT_AUTH`, `AI_TOOLKIT_DATASET_DIR`) and `COMFYUI_LORAS_DIR` | Train character and style LoRAs from an element's photos or a moodboard; the result is copied into ComfyUI and used whenever you @mention it |
+Each connection field in Settings has **Save & test**: what you typed is tested before it is saved, and a failure says why. Until something is connected (or you hide it), Home and Settings show a **Get started** card with the three ways in.
+
Keys are stored in a local SQLite database (`data/fuobe.db`) and never sent to the browser. Generated media is saved under `data/files/`. Fuobe is single-user.
### Self-hosting and security
@@ -76,32 +81,36 @@ Uploads up to 200 MB work with sign-in on. Inputs given as URLs are fetched only
### Upgrading from an earlier version
-- **Your data upgrades on its own.** The database migrations run once each at start-up, in order, and an existing `data/` folder (or `FUOBE_DATA_DIR`) keeps everything it holds. The list is in [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md#storage-srcserverdbts-storagets-settingsts).
+- **Get the new code and rebuild.** Pull `main`. On Windows, run `start.bat` as usual: it installs packages on every start and rebuilds because the code changed. On Mac or Linux, run `pnpm install`, then `pnpm build` (or just `pnpm dev`). Round 4 adds only one dependency, `@types/three` (for development); round 3 added `@xyflow/react`, `@google/model-viewer`, `three` and `unpdf`. In a checkout without `.next`, run `pnpm exec next typegen` (or a dev or build run) before `pnpm typecheck`.
+- **Your data upgrades on its own.** The database migrations run once each at start-up, in order, and an existing `data/` folder (or `FUOBE_DATA_DIR`) keeps everything it holds. Round 4 adds one migration, for the Library's nested folders, pins and review status (PR #6); PR #7 adds none. The list is in [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md#storage-srcserverdbts-storagets-settingsts).
- **If you ran one of the round-3 package branches** (`r3/*`, `r3b/*`) before they were merged, start with a fresh data folder. Those branches numbered their migrations differently, so tables can be missing. Move the old folder aside rather than deleting it if it holds results you want.
-- **Install the new dependencies:** `pnpm install` (round 3 adds `@xyflow/react`, `@google/model-viewer`, `three` and `unpdf`), then `npx next typegen` before `pnpm typecheck`.
-- **Password-less installs reached by a domain name** (a reverse proxy, a tunnel, a Tailscale name) now get 403. Set a password, or add the name to `FUOBE_ALLOWED_ORIGINS`.
-- **Inputs from LAN addresses** (an image URL on your NAS, say) are refused unless `FUOBE_ALLOW_PRIVATE_URLS=1`.
-- **ComfyUI:** re-run `scripts/comfy/install-comfyui.sh` for the three node packs round 3 adds (ComfyUI-MelBandRoFormer, ComfyUI-QwenASR, ComfyUI-HunyuanVideo-Foley) at their pinned commits.
+- **Start on Home now runs the job** in Image, Video or Edit instead of only opening the studio. With a saved key for the default model this is a paid run; the line under the box says first what will run and what it costs. **⌘K / Ctrl+K** opens the search palette instead of going Home.
+- **Topaz Video is priced by size:** $0.01/s at 720p, $0.02/s at 1080p and $0.06/s above, doubled at 60 fps (it was a flat $0.02/s at 2×). The default target is 1080p, and a size that wouldn't enlarge the clip moves up, so a 1080p clip now goes to 1440p at $0.06/s. Open-source video upscaling (SeedVR2, Real-ESRGAN) also asks for a size now, 720p to 2160p, instead of 2× or 4×.
+- **Password-less installs reached by a domain name** (a reverse proxy, a tunnel, a Tailscale name) get 403 since round 3. Set a password, or add the name to `FUOBE_ALLOWED_ORIGINS`.
+- **Inputs from LAN addresses** (an image URL on your NAS, say) are refused unless `FUOBE_ALLOW_PRIVATE_URLS=1` (also since round 3).
+- **ComfyUI node packs:** re-run `scripts/comfy/install-comfyui.sh` (it keeps what's installed and pins each pack to the commit Fuobe was validated with). Round 3 added ComfyUI-MelBandRoFormer, ComfyUI-QwenASR and ComfyUI-HunyuanVideo-Foley; round 4 adds ComfyUI-ToSVG for the open Vectorize app. Open-source video upscaling and FPS Boost now also need ComfyUI-VideoHelperSuite (before, core ComfyUI was enough), which the script installs too. If you set up ComfyUI another way (ComfyUI Desktop, for example), install these packs yourself. ComfyUI itself needs no upgrade: the library still targets 0.41.0.
+- **Models for the new tools.** Round 4 adds about 28 GB of model files to the library, all in PR #6 (PR #7 adds none): VOID with its CogVideoX VAE (22.73 GB, Remove object's "Shadows and reflections too"), MoGe 2 (0.66 GB, 3D scenes), and OvisOCR3 and TripoSplat for graphs no studio uses yet. The new tools also use files the library already listed, which you may not have downloaded: Wan 2.1 VACE 14B (34.68 GB) and SAM 3.1 (Remove object; Genjutsu's swap and insert), Wan Animate 2 (Genjutsu's motion transfer), Qwen-Image-Edit 2511 with the Multiple-Angles LoRA (3D scenes) and RIFE 4.26 (FPS Boost). The **Workflows** page lists them with their install commands. GPU memory, from the manifest and not measured: Wan VACE 24 GB, VOID 24–40 GB, SeedVR2 in passes 16 GB.
### Setting up the open-source engine
-1. Install ComfyUI on a machine with a GPU (24 GB VRAM covers almost every workflow; Z-Image Turbo, Wan 2.2 5B and SDXL run in 8–16 GB). `scripts/comfy/install-comfyui.sh` installs ComfyUI and the 14 custom node packs at the commits Fuobe was validated with (`NC_PACKS=1` adds the non-commercial ComfyUI-Whisper).
+1. Install ComfyUI on a machine with a GPU (24 GB VRAM covers almost every workflow; Z-Image Turbo, Wan 2.2 5B and SDXL run in 8–16 GB; VOID, Remove object's "Shadows and reflections too", may need up to 40 GB). `scripts/comfy/install-comfyui.sh` installs ComfyUI and the 15 custom node packs at the commits Fuobe was validated with (`NC_PACKS=1` adds the non-commercial ComfyUI-Whisper).
2. Open **ComfyUI workflows** in Fuobe. Each workflow lists the model files it needs, which are already installed (✓) and a **Copy install commands** button that produces the exact `wget` / `git clone` lines.
3. Switch the engine toggle (top-right of every studio) to **Open source**.
-LatentSync 1.6 and ThinkSound are optional and run on a separate, isolated ComfyUI (`scripts/comfy/install-isolated-worker.sh`, port 8189); see [`scripts/comfy/README.md`](scripts/comfy/README.md). Their workflows are validated, but they are hidden models that no studio offers yet (the API takes them by `modelId`). Open dubbing, Faceless and UGC narration clone a voice with Chatterbox, so they need a voice sample (record or upload one).
+LatentSync 1.6 and ThinkSound are optional and run on a separate, isolated ComfyUI (`scripts/comfy/install-isolated-worker.sh`, port 8189); see [`scripts/comfy/README.md`](scripts/comfy/README.md). Lipsync offers LatentSync 1.6 and Sound effects offers ThinkSound, marked in the model picker as running on the isolated worker. Set its address as **Isolated worker URL** in Settings (or `COMFYUI_ISOLATED_URL`); without it, those jobs fail with a message naming the setting. Their workflows are validated, but not run with real weights. Open dubbing, Faceless and UGC narration clone a voice with Chatterbox, so they need a voice sample (record or upload one). Open-source translation uses Ollama when it's running, and Qwen3.5 4B on your ComfyUI when it isn't.
To check a ComfyUI connection end to end without downloading any models:
```bash
pnpm dev &
pnpm test:e2e:comfyui http://localhost:3000 # runs the weight-free workflows through the full pipeline (mux, trim, segment, captions, meta-batch), checked with ffprobe when installed
+node tests/e2e/comfyui-faceless-plus.mjs http://localhost:3000 # Ken Burns, the packet-copy join, a crossfaded audio loop and join; needs ffmpeg and ffprobe and demo mode off; on Linux it also samples ComfyUI's memory (found with pgrep, or set COMFYUI_PID)
```
## Development
```bash
-pnpm typecheck && pnpm lint && pnpm test # TypeScript, ESLint, Vitest (79 files, 1128 tests)
+pnpm typecheck && pnpm lint && pnpm test # TypeScript, ESLint, Vitest (116 files, 1813 tests)
pnpm build # production build
pnpm gen:catalog # regenerate cloud models, Higgsfield models and presets, LoRA map and icon map from docs/research/*.json
pnpm dev:clean # clear the Turbopack cache if the dev server gets stuck reloading or serves stale CSS
@@ -112,20 +121,27 @@ Browser checks (the app must be running; demo mode is fine; Playwright and Chrom
```bash
pnpm test:e2e:mobile [url] [--light|--dark] # no route may scroll sideways at 390 px (every route, hub mode and sample id)
-pnpm test:e2e:shell [url] # sidebar drawer, collapsed groups, settings deep links, keyboard Show more
+pnpm test:e2e:shell [url] # skip link and landmarks, ⌘K palette, phone drawer and Search, full-screen studios, settings deep links, keyboard Show more
+pnpm test:e2e:library [url] # helper steps, pins, review status, nested folders, zips, upload delete, phone layout (cleans up after itself; --keep leaves its data)
pnpm test:e2e:comfyui [url] # the open engine against a live ComfyUI
-node tests/e2e/composer-flows.mjs [url] # first paint, typing before hydration, paste, upload cancel, phone toolbar
+node tests/e2e/composer-flows.mjs [url] # first paint, typing before hydration, paste, upload cancel, phone toolbar and blocker line
+node tests/e2e/notifications.mjs [url] # job notifications and the running count in the tab title
+node tests/e2e/clipboard.mjs [url] # Copy buttons on a plain-http LAN address (no Clipboard API)
node tests/e2e/layers.mjs [url] # Layers regressions
+node tests/e2e/cinema-scene.mjs [url] # 3D scene: ask first, point cloud, fly, Capture → re-render, 390 px
node tests/e2e/canvas-smoke.mjs [url] --perf=60 # Canvas save, rename, trash → re-run, keystroke timing
-node tests/e2e/cinema-shortcuts.mjs [url] # Ctrl/Cmd+Enter only from Cinema's prompt bar
+node tests/e2e/cinema-shortcuts.mjs [url] # Ctrl/Cmd+Enter only from Cinema's prompt bar; new project names, phone Director chip
node tests/e2e/assist-flows.mjs [url] # skills, memory, projects, skill upload, modes, phone sheet
```
+`layers.mjs` and `cinema-scene.mjs` expect their open-engine step to run in demo mode: with a reachable ComfyUI they fail (demo stills are SVG placeholders ComfyUI can't read, and Layers needs the Qwen-Image-Layered weights).
+
- `docs/ARCHITECTURE.md` — how requests flow from the composer to providers and back, pipelines, live updates, security, each studio's modules
-- `docs/research/` — the research this is built on (Higgsfield inventory, studios, image studios, marketing and agents, API; paid model APIs parts 1–3; ComfyUI equivalents parts 1–3; workflow library; Liner UI language)
+- `docs/cli.md` — the `fuobe` command line: install, sign in, every command, MCP and skills for other agents
+- `docs/research/` — the research this is built on (Higgsfield inventory, studios, image studios, marketing and agents, API, round-4 changes, in-house products; paid model APIs parts 1–4; ComfyUI equivalents parts 1–4; workflow library; the round-4 UX and speed audit; open recipes for Fuobe Originals; Liner UI language); [`docs/research/README.md`](docs/research/README.md) says what each file covers
- `docs/workers/tribe-v2.md` — the optional, non-commercial TRIBE v2 worker contract for the Virality predictor
- `scripts/comfy/` — the pipeline that exports and validates the ComfyUI workflow library
-- `skills/` — Assist's built-in skills (`<name>/SKILL.md` with frontmatter: name, title, description, when_to_use, icon, studio, tags, offline hints)
+- `skills/` — Assist's built-in skills (`<name>/SKILL.md` in the Agent Skills format: name, description and compatibility, with Fuobe's own fields under `metadata`: title, when_to_use, icon, studio, tags, offline hints); `.agents/skills/fuobe/` teaches another agent to drive Fuobe through MCP or the CLI
## Tech
@@ -133,4 +149,4 @@ Next.js 16 (App Router, Cache Components) · React 19 · Tailwind CSS v4 · shad
## License notes
-Fuobe's code is open source. Model weights have their own licenses: several open models used here are **non-commercial** (FLUX.1/FLUX.2 [dev], inswapper, MMAudio weights, USO's FLUX.1 base, some LoRAs, ComfyUI-Whisper's node code, TRIBE v2), HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea, and Stable Audio 3 is free under US$1M revenue (Stability Community licence). The Workflows page and `docs/research/comfyui-oss*.md` list each license. Cloud models are billed by your provider.
+Fuobe's code is open source. Model weights have their own licenses: several open models used here are **non-commercial** (FLUX.1/FLUX.2 [dev], inswapper, MMAudio weights, USO's FLUX.1 base, some LoRAs, ComfyUI-Whisper's node code, TRIBE v2), HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea, Stable Audio 3 is free under US$1M revenue (Stability Community licence), and VOID (Remove object's "Shadows and reflections too" on the open engine) is built on CogVideoX-5B, whose licence asks you to register before commercial use. The Workflows page, **Settings → About & licences** and `docs/research/comfyui-oss*.md` list each license. Cloud models are billed by your provider.
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index 00d08b45..b59ecff2 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -1,9 +1,10 @@
# Architecture
-Fuobe is a single Next.js 16 app. The browser talks only to Fuobe's own API; the server talks to providers (fal.ai, Replicate, Higgsfield, ComfyUI, and Claude or Ollama for text) and stores every input and output locally, so the library never depends on a provider's expiring URLs.
+Fuobe is a single Next.js 16 app. The browser (and the `fuobe` command line) talks only to Fuobe's own API; the server talks to providers (fal.ai, Replicate, Higgsfield, ComfyUI, and Claude or Ollama for text) and stores every input and output locally, so the library never depends on a provider's expiring URLs.
```
proxy.ts: hostAllowed() (no password set) → crossSite() → sign-in (session cookie or API token)
+ → a real 404 for an unknown app, hub mode or record id (src/server/records.ts)
│
Composer / studio (React) ──POST /api/generations (or a studio route that builds a pipeline)
│
@@ -31,7 +32,8 @@ Composer / studio (React) ──POST /api/generations (or a studio route that bu
runner (started at boot by src/instrumentation.ts; every 1.5 s, plus a 500 ms lane for jobs near the end)
│ adapter.poll() → queued / running (progress) / succeeded / failed
│ timeouts: 45 min running or 4 h queued (generation_runs), cancel at the provider first
- │ on success: outputs downloaded → data/files → assets table (text inlined, meta kept)
+ │ on success: outputs downloaded → data/files → assets table (text inlined, meta kept,
+ │ files linked in meta.artifacts copied too: persistArtifacts)
│ also: poll trainings, launch dependent steps whose inputs are ready
▼
SQLite TEMP triggers → src/server/live.ts ──GET /api/generations/stream (SSE)──▶ one stream per browser
@@ -43,43 +45,54 @@ Feed, Library, studios (React Query caches patched by id; polls every 10 s while
| file | what |
|---|---|
-| `types.ts` | `ModelDef`, `ModelRoute`, `FieldMap`, `ModelOptions`, `Pricing`, `Preset`, `GenerationRequest`, `ChainSlot`, `GenInput`, `Generation`, `OutputFile` |
-| `cloud-models.generated.ts` | fal / Replicate models. **Generated** by `scripts/gen-cloud-models.py` from the verified API schemas in `docs/research/paid-model-apis.json`, `-2.json` and `-3.json` (key fields merged, per-route options, sliders and controls read from the research, required inputs filled from their documented defaults) — field names, enums, defaults and prices are never typed by hand |
-| `higgsfield-models.generated.ts` | Higgsfield-only models (Soul, Genjutsu, Cinema Studio, Marketing Studio, Ads Studio…) and extra Higgsfield routes for models also on fal. **Generated** by `scripts/gen-higgsfield-models.py` from `docs/research/higgsfield-api.json` |
+| `types.ts` | `ModelDef`, `ModelRoute`, `FieldMap`, `ModelOptions`, `Pricing`, `Preset`, `GenerationRequest`, `ChainSlot`, `GenInput`, `Generation`, `OutputFile`; since round 4 `VideoFormat`, `MatteOutput`, `PixelPoint`, `FocusPoint`, `COLORMAPS` and `ReviewStatus` |
+| `cloud-models.generated.ts` | fal / Replicate models. **Generated** by `scripts/gen-cloud-models.py` from the verified API schemas in `docs/research/paid-model-apis.json`, `-2.json`, `-3.json` and `-4.json` (key fields merged, per-route options, sliders and controls read from the research, required inputs filled from their documented defaults) — field names, enums, defaults and prices are never typed by hand |
+| `higgsfield-models.generated.ts` | Higgsfield-only models (Soul, Genjutsu and Genjutsu Lite, Cinema Studio, Marketing Studio, Ads Studio…) and extra Higgsfield routes for models also on fal (`HIGGSFIELD_ROUTES`, e.g. Kling O3 video edit). **Generated** by `scripts/gen-higgsfield-models.py` from `docs/research/higgsfield-api.json` |
| `higgsfield-presets.generated.ts` | 106 Soul + 33 Soul 2.0 presets (ids, categories, descriptions), the 14 Photodump / Instadump packs and the 6 Fashion Factory templates. **Generated** by `scripts/gen-higgsfield-presets.py` from `higgsfield-image-studios.json`; the fallback for the style picker |
-| `models.ts` | Open-source models (ComfyUI workflow ids), fal utility models (Join clips, and the hidden Extract frame, Crop to size, Mix voice and music, Level audio, Forced Alignment), the browser-only models (`local` provider: Color Grade, Ad compositor) + the generated cloud lists (whose hidden chain helpers include Trim video, Add soundtrack, Voice timeline and Extract soundtrack) |
-| `llm-models.ts` | `text-llm` (cloud: Claude, else Ollama) and `oss-text-llm` (open: Ollama only), kind `text`, ops `translate` and `write` |
+| `models.ts` | Open-source models (ComfyUI workflow ids), fal utility models (Join clips, and the hidden Extract frame, Crop to size, Mix voice and music, Level audio, Forced Alignment), the browser-only models (`local` provider: Color Grade, Ad compositor) + the generated cloud lists (whose hidden chain helpers include Trim video, Add soundtrack, Voice timeline and Extract soundtrack). A launch price (`Pricing.promo`) is applied when the list loads (`withCurrentPrice` → `pricingAt`) |
+| `llm-models.ts` | `text-llm` (cloud: Claude, else Ollama) and `oss-text-llm` (open: Ollama, never Claude; since round 4 its translations run on ComfyUI's Qwen3.5 4B, `oss-qwen35-translate`, when Ollama isn't running), kind `text`, ops `translate` and `write` |
| `elements.ts` | Elements (character / location / prop / style / voice), `@handle` parsing and `applyMentions` |
| `sketch.ts` | `applySketch` (masks and drawings → the right operation and inputs) |
| `storyboard.ts` | Storyboard models per engine, scene splitting and frame prompts |
| `training.ts` | Training targets (Soul ID, fal Z-Image LoRA, AI-Toolkit), `aiToolkitJob` (character or style preset) and `trainingCaption` |
-| `apps.ts`, `motions.ts` | 123 apps, 108 camera motions, 255 effects: prompt templates, input slots, option pickers, cloud and open routes. `APP_ALIASES` keeps renamed app ids working |
+| `apps.ts`, `motions.ts` | 124 apps, 108 camera motions, 255 effects: prompt templates, input slots, option pickers, cloud and open routes. `APP_ALIASES` keeps renamed app ids working |
| `oss-loras.generated.ts` | Higgsfield preset name → researched Wan LoRAs + trigger words (`scripts/gen-oss-loras.py`) |
| `index.ts` | Lookup helpers; attaches LoRAs / Wan Fun Camera poses / ReActor to open routes; registers the LLM models |
-| `plan.ts` | Pure planning logic (operation inference, prompt composition, batching, input validation, cost estimate) |
-| `payload.ts` | `buildPayload(FieldMap, GenInput)`, `extractMedia(response)`, `extractOutputs(response, op)` (structured outputs) and `noOutputsError` |
+| `plan.ts` | Pure planning logic (operation inference, prompt composition, batching, input validation, cost estimate, `pricingAt`) |
+| `payload.ts` | `buildPayload(FieldMap, GenInput)`, `extractMedia(response)`, `extractOutputs(response, op)` (structured outputs), `keepMatte` and `noOutputsError` |
| `palettes.ts` | `applySignature` (Color signature / Moodboard picks → native palette, style id, or words) and `withSignatureWords` |
-| `cinema.ts`, `canvas.ts`, `shorts.ts`, `shorts-models.ts`, `mixed-media.ts`, `marketing.ts`, `faceless.ts`, `packs.ts` | Each studio's data and pure planner, shared by client and server (see Studios) |
+| `keyframes.ts` | Frames mode: which models take keyframes and how (`frameSupport`, `FRAMES_MODELS`), the strip's blockers and notes, gap checks (`chainGapProblem`) and the open film's clip plan (`planKeyframeClips`) |
+| `cinema.ts`, `canvas.ts`, `shorts.ts`, `shorts-models.ts`, `mixed-media.ts`, `marketing.ts`, `faceless.ts`, `packs.ts`, `remove-object.ts`, `genjutsu.ts` | Each studio's data and pure planner, shared by client and server (see Studios) |
A **model** has one **route** per (operation, provider). A route's `FieldMap` translates Fuobe's canonical input (`prompt`, `images`, `image2`, `endImage`, `video`, `videos`, `audio`, `audios`, `aspectRatio`, `duration`, `voice`, `voiceAudio`, `dialogue`, `shots`, `draft`, `startTime` / `endTime`, `fps`, `palette`, `styleId`, `numLayers`, `sourceLanguage`, `targetLanguage`…) to the provider's field names. Dotted keys (`voice_settings.stability`) are written as nested objects; `setPath` ignores `__proto__`, `constructor` and `prototype`. `defaults` are sent unless the request sets them (applied before the canonical fields), `fixed` always wins (applied after). `sourceLanguage` may be `{key, values}`, matched to the API's list. `palette {key, format, background}` converts hex colours to each API's shape (Recraft on fal, Recraft on Higgsfield, Ideogram members with falling weights, plain lists). `tracks` and `timeline` build fal FFmpeg compose timelines. Masks are converted to each API's convention (white = change, black = change, or alpha) by a small PNG codec (`src/server/png.ts`).
-`ModelOptions` describe what the composer shows: aspect ratios, resolutions, durations, audio, end frame, multi-shot, draft mode, voices and voice cloning, languages, sliders, enum controls, provider-fetched preset lists, motion paths, and since round 3 `minImages` + `imageLabels` (try-on: "Person photo", "Add garment"), `promptless`, `maxVideos` / `maxAudios` (reference clips), `sourceLanguages` and `requires` ({images?, prompt?, msg}, checked in `planGeneration` before any job is created). `Pricing` gains `byResolution` (a price per `params.resolution`) and `inputSeconds` (per-second prices doubled for edits billed on input + output).
+Round 4 adds 17 operations (`remove-object`, `video-swap`, `video-insert`, `keyframes`, `sdr-to-hdr`, `export-video`, `ocr`, `still-motion`, `audio-loop`, `audio-join`, `scene-3d`, `splat`, `text-to-3d`, `rig-3d`, `extract-frames`, `images-to-video`, `overlay`) with labels, output kinds and NEEDS, and the canonical params they use: `points` (clicked on the first frame), `keyframeTimes`, `format` (a `VideoFormat`: H.264, 10-bit H.265, ProRes 422 HQ or 4444, FFV1, EXR, and on the open engine HLG or PQ 10-bit), Ken Burns `zoomFrom` / `zoomTo` / `panFrom` / `panTo` / `easing`, `crossfade`, `sourceDuration`, `frameInterval`, `targetFps`, `slowdown`, `colormap`, `sideBySide`, `matteOutput`, `position`, `scale`, `animation`, and `inputs.model3d`. `FieldMap` gains a key for each (`points` in Bria's or SAM's shape, `keyframes` as image + frame index at the API's fps, `zoom` for fal's zoompan, `loop` by repetition, `numFrames` from the clip's length, `upscaleFactor` from the target size and the clip's shorter edge…), plus `ranges` (clamped and rounded before sending), `maxImages`, `omitEmptyPrompt` and `ignore`. `EnumField.accepts` sends the closest value an API takes when a model runs on two APIs (Grok Imagine on fal and Higgsfield). `GenInput.sourceSize` and `sourceFps` (and `sourceDuration`, unless the request set it) are filled on the server from the input clip's header (`src/server/media-facts.ts`: MP4 / MOV, then WebM / Matroska).
-`plan.ts` adds `promptOptional(model, op)` (promptless ops such as trim, mux, captions, layers, image-to-3d, vectorize), NEEDS entries with `oneOf` and `media` (transcribe and separate-audio take audio or video), a server-only check that rejects inputs no route can send (it needs the field maps the slim client catalog strips), and `inferOperation` picking `ref2v` when clips are attached.
+`ModelOptions` describe what the composer shows: aspect ratios, resolutions, durations, audio, end frame, multi-shot, draft mode, voices and voice cloning, languages, sliders, enum controls, provider-fetched preset lists, motion paths, and since round 3 `minImages` + `imageLabels` (try-on: "Person photo", "Add garment"), `promptless`, `maxVideos` / `maxAudios` (reference clips), `sourceLanguages` and `requires` ({images?, prompt?, msg}, checked in `planGeneration` before any job is created). `Pricing` gains `byResolution` (a price per `params.resolution`) and `inputSeconds` (per-second prices doubled for edits billed on input + output). Round 4 adds `promptOptional` (the box shows, but the model also runs without words), `requires.mask` / `points` (video erasers), `formats`, `colormaps`, `sideBySide`, `matteOutputs`, `keepsNamed`, `fpsTargets`, `slowdowns` and `labels` on controls; `ModelDef.worker: "isolated"`; `ModelRoute.chained` (a route the server builds as several jobs: the open keyframe film) and `ModelRoute.preview` (the parts of the map the composer previews a result with, kept in the slim client catalog). `Pricing` gains `promo` (a launch price to a date: FLUX 3 Max at 720p is $0.0425/s until 2026-11-07, then $0.17/s) and `factors` (multipliers by a setting: Topaz 60 fps ×2, ByteDance Pro ×10, FLUX.3 Creative about ×1.4).
+
+`plan.ts` adds `promptOptional(model, op)` (promptless ops such as trim, mux, captions, layers, image-to-3d, vectorize), NEEDS entries with `oneOf` and `media` (transcribe and separate-audio take audio or video), a server-only check that rejects inputs no route can send (it needs the field maps the slim client catalog strips), and `inferOperation` picking `ref2v` when clips are attached. Since round 4, two or more images are `keyframes` when they carry `keyframeTimes` (or the model has no `ref2v` and no chained route), checked by `checkKeyframes` (on a chained route: up to 10, the first at 0 s, every gap within the model's clip lengths); a `format` the model doesn't write is refused; `checkVideoToolOptions` refuses colour maps and matte outputs the model can't make, and Remove background fills `params.matteOutput` with the model's first; a remove-object request can name its target with a mask or points instead of words when a route reads them (`markedTarget`). `estimateCost(model, params, jobs, op)` prices upscale-video, interpolate, sdr-to-hdr and export-video by the clip's seconds (`params.sourceDuration`; slow motion by the stretched length) and applies `Pricing.factors`. `chooseRoute` (in `src/server/generations.ts`) passes over a route whose image list takes fewer images than the run sends (`FieldMap.maxImages`).
+
+Round-4 open models in `models.ts`: the erasers `oss-vace-remove`, `oss-vace-remove-painted` and `oss-void-remove`; `oss-vace-swap` and `oss-vace-insert`; `oss-rife` (now `interpolate-rife-fps`), `oss-seedvr2` and `oss-upscale-video-esrgan` (now the chunked graphs, by target size), `oss-sdr-to-hdr` and `oss-export-video`; `oss-scene-moge`; `oss-vtracer`; and the hidden helpers `oss-ken-burns`, `oss-join-encoded`, `oss-audio-loop` and `oss-audio-join`. Wan 2.2 14B and Wan 2.2 14B Lightning get a chained `keyframes` route (`KEYFRAME_FILM` on `wan22-flf2v-14b`). `oss-latentsync` and `oss-thinksound` are no longer hidden; they carry `worker: "isolated"`.
A **preset** (app / motion / effect) has a `cloud` and an `open` route, each naming a model and operation, optional fixed params and LoRAs. Apps pin their model; motions and effects add their camera / effect prompt to whichever video model the user picks (LoRAs only apply to the preset's own open model). `PresetChoice.extra` lets an option set model `params.extra`.
## Providers (`src/server/providers/`)
-Every adapter implements `isConfigured`, `prepareFile`, `submit` and `poll`, and optionally `cancel` and `test`. `RemoteOutput` carries optional `text` and `meta`.
+Every adapter implements `isConfigured`, `prepareFile`, `submit` and `poll`, and optionally `cancel` and `test`. `RemoteOutput` carries optional `text` and `meta`. `prepareFile(data, type, name, route)` gets the route the file is for (ComfyUI sends an isolated-worker workflow's inputs to that worker). `test({ focus })` names the setting being checked, for a provider whose settings reach more than one server (the Anthropic key, the isolated worker's address).
-- **fal** — queue API (`queue.fal.run/<endpoint>`); always uses the `status_url` / `response_url` returned at submit. Files go to fal storage via `@fal-ai/client`.
+- **fal** — queue API (`queue.fal.run/<endpoint>`); always uses the `status_url` / `response_url` returned at submit. Files go to fal storage via `@fal-ai/client`. The key test (15 s timeout) counts only 2xx, 400, 404 and 422 as "accepted"; a proxy or an outage (405, 407, 5xx) reads "Couldn't check the key".
- **replicate** — predictions API; small files as data URIs, larger via the Files API. Outputs are copied immediately (Replicate deletes them after an hour).
-- **higgsfield** — `api.higgsfield.ai` with `Key id:secret` auth: submit with idempotency keys, poll `/requests/<id>/status` (only the documented result fields are read; extra files such as zip or fbx land in `meta.artifacts`), cancel, signed-URL uploads, live style / template lists, and Soul ID training.
+- **higgsfield** — `api.higgsfield.ai` with `Key id:secret` auth: submit with idempotency keys, poll `/requests/<id>/status` (only the documented result fields are read; extra files such as zip or fbx land in `meta.artifacts`, which the runner now copies into the Library), cancel, signed-URL uploads, live style / template lists, and Soul ID training. The key test counts 401 and 403 as rejected, 400 / 404 / 422 as accepted, anything else as "Couldn't check".
- **comfyui** — loads `workflows/comfyui/manifest.json`. `prepareWorkflow()` turns a `GenInput` into the prompt: canonical keys → bindings, uploads it makes itself (including media refs in `params.extra`), LoRA nodes after each diffusion-model loader, width / height from aspect ratio + tier, frame counts as `n·step+1`, the palette as a hex sentence plus a 512×512 swatch rendered on the server, `SLOT_RULES` (repeat, required, hints) per workflow, and graph rewrites for `expand: "captions"` (`expandCaptionWorkflow` in `src/lib/comfy.ts`) and `expand: "timeline"` (`expandTimelineWorkflow` in `src/lib/av/timeline.ts`). A left-out reference in a FLUX.2 ReferenceLatent chain is removed by `bypassReference()`. The second audio track is read from `inputs.audio2` (else `params.extra.audio2`); a mux with no background picks the one-track graph. `prepareFile` records each upload's header facts (`src/lib/media-probe.ts`: MP4 / MOV / M4A with rotation, WAV, FLAC, MP3) so the "auto" shape, trim checks, lip-sync frames, the mux bed length, caption windows and the Whisper RAM guard use them. Progress comes over the websocket (reset when the URL changes), results from `/history`; `collectOutputs()` maps them in manifest order (text with cues and language, `model3d`, stems with `meta.stem`, layers back to front with `meta.z / name / bbox`, roles, VHS meta-batch passes followed by their `fuobe/<generationId>` filename prefix). A 502 or a missing prompt is retried; a prompt fails only after it is missing three polls in a row. The first `isConfigured()` per URL waits for a real probe from a worker thread (`probeComfySync`, at most 1.5 s).
+
+ Round 4:
+ - **Isolated worker routing.** `workerFor(endpoint)` reads the manifest's `worker: "isolated"`; that workflow's uploads, prompt, progress socket (a second websocket), polls and cancels go to Settings → Isolated worker URL (`comfyIsolatedUrl`, `COMFYUI_ISOLATED_URL`) instead of the main ComfyUI. With no address, or a worker that doesn't answer, the job fails with a message naming the setting; the connection test reports the worker beside the main server.
+ - **Per-request graph work** in `prepareWorkflow()`: EXR requests switch to their own graph (`exrWorkflow`); `videoFinishValues()` sets export formats, the HDR colour space, FPS Boost's multiplier and frame step (FrameInterpolate is bypassed when the multiplier is 1) and the size of each pass of a chunked graph (`framesPerPass`, about 1.5 GB of frames); Ken Burns zoom / pan / easing are bound; a graph with `limits.maxDurationSec` refuses longer jobs; a crossfade uploads a small fade-curve WAV (`fadeCurveWav`) and refuses clips too short for it (`crossfadeProblem`). Remove object turns the words into SAM 3.1's target (`targetPhrase`), fills the gap with a neutral scene prompt (`REMOVE_SCENE`) and keeps the painted graph's hand-off mask output only when `params.extra.handOffMask` asks; swap and insert take SAM's target from `maskPrompt` or the prompt (`swapTarget`) and refuse clicks. Depth maps bind `colormap` and `sideBySide`; Remove background deletes the save node not asked for (`matteOutput`). Graphs that hold a whole clip in memory are refused above half the server's RAM (`wholeClipProblem`; `comfyRam()` reads `/system_stats`).
+ - **Graph rewrites** in `src/lib/comfy.ts`: `tagMetaBatch` gives every VideoHelperSuite batch manager a per-job tag, and `dropVhsAudio` removes the sound link from VHS video loaders when the clip header says it is silent (both for every workflow that has those nodes, old ones too). `expand: "videos"` and `expand: "audios"` rewrite a join for every clip in one prompt (`expandVideoJoinWorkflow`, `expandAudioJoinWorkflow` in `src/lib/av/joins.ts`).
+ - **Results and cancel.** EXR frames (output role `frames`) are fetched one at a time into a stored zip in the scratch folder and ride on the preview clip as `meta.artifacts.exr` (`bundleFrames`). Cancel (`stopPrompts`) deletes every queued prompt carrying the job's filename prefix and interrupts the running one; a meta-batch job is swept again up to 5 times, 1 s apart (`sweepPasses`). Uploads of `.webm` and `.mkv` are probed too.
- **llm** — text steps in this process (below).
- **local** — results made in the browser (Color grading's PNG / WebM, Ads Studio composites; `/api/generations/local` records them).
-- **mock** — demo outputs for every operation (SVG art, bundled sample clips, a tone, layers with meta, cue lists, two stems, a GLB with a turntable from `scripts/gen-demo-3d.mjs`), so the product works with zero setup.
+- **mock** — demo outputs for every operation (SVG art, bundled sample clips, a tone, layers with meta, cue lists, two stems, a GLB with a turntable from `scripts/gen-demo-3d.mjs`), so the product works with zero setup. Round-4 operations answer too: a scene-3d job gets the GLB plus a grey depth PNG on the open engine and a Spectral-coloured depth PNG on the cloud, and an EXR job a sample clip with a zip that holds only a README.
## Structured outputs
@@ -93,8 +106,18 @@ Outputs are not only media. `extractOutputs(response, op)` in `payload.ts` (fal,
| `meta.textBlocks`, `meta.textHtml` on the background | Ideogram text layers |
| `meta.stem` (`voice` / `background`, aliases vocals, accompaniment…) | separate-audio |
| `meta.styleId`, `meta.mask`, `meta.role`, `meta.artifacts` | Recraft styles, Bria cut-outs, ComfyUI roles, Higgsfield extra files |
+| scene-3d: a GLB (`meta.role` `scene`) + a depth PNG (`depth`) on the open engine; a depth image (`meta.role` `depth`) on the cloud (`sceneOutputs`) | MoGe 2 (`scene-mesh-moge`), Marigold (`marigold-depth`) |
+| `model3d` with `meta.format` (`ply` / `spz`) and `meta.preview` | splat |
+| `model3d` with `meta.rigged`, `meta.animated`, `meta.formats` (fbx files, clips) | rig-3d |
+| `text` with `meta.lines [{text, bbox}]`, `meta.size` | ocr |
+| images with `meta.index` (source frame = index × frameInterval) | extract-frames |
+| a preview clip with `meta.artifacts.exr` (a zip of EXR frames) | sdr-to-hdr on LTX 2.3 HDR; open EXR export and HDR (`bundleFrames`) |
+| `meta.role` `cutout` / `matte` (one kept, `keepMatte`) | Remove background (bg-remove-video) |
+| `meta.role` `mask` (a window's last tracked mask) | the open painted eraser |
-A media operation that only answers in words fails with "The model replied: …" (`noOutputsError`). `OutputFile.text` is inlined up to `MAX_INLINE_TEXT` (64,000 characters, `meta.truncated` beyond); chained steps read the full text from the file. `outputKind(op, model)` decides a generation's kind (color-match and timeline follow the model's kind). Results without a prompt are titled after the operation ("Transcribe · ElevenLabs Scribe v2").
+A media operation that only answers in words fails with "The model replied: …" (`noOutputsError`). `OutputFile.text` is inlined up to `MAX_INLINE_TEXT` (64,000 characters, `meta.truncated` beyond); chained steps read the full text from the file. `outputKind(op, model)` decides a generation's kind (color-match, timeline and scene-3d follow the model's kind: a 3D scene is a mesh on the open engine and an image on the cloud). Results without a prompt are titled after the operation ("Transcribe · ElevenLabs Scribe v2").
+
+Files a result links to in `meta.artifacts` (LTX HDR's EXR zip, Higgsfield's fbx and zip) are copied into the Library when the job finishes (`persistArtifacts` in `generations.ts`): a link is streamed to the scratch folder by `fetchRemoteToFile` and moved into `files/outputs` (`adoptFile`); one that can't be fetched stays as it was.
## Pipelines and chained jobs (`src/server/chains.ts`)
@@ -105,23 +128,27 @@ A generation can depend on others (`CreateOptions.dependsOn`, one id or a list).
| `images` (first / last), `endImage`, `video`, `videos`, `audio` | the matching input, from the dependency's first output of that kind (an `audio` slot fed by a clip takes its soundtrack) |
| `voiceAudio` | the voice to clone (tts) or the target voice (voice change) |
| `audio2` | the second track mixed under `inputs.audio` (mux): `inputs.audio2` / `GenInput.audio2` |
-| `audios` | a list of clips (the spoken lines a voice timeline places at their start times) |
+| `audios` | a list of clips (the spoken lines a voice timeline places at their start times; the clips of an audio join) |
+| `model3d` | a 3D model (a mesh to rig) |
+| `mask` | what to change (remove-object): the output marked `meta.role` `mask` (the open painted eraser's last tracked frame, handed to the next window), else a mask video (SAM 3.1's track), else a still |
| `prompt` | the dependency's text: replaces `{text}` in the prompt, or becomes it; a translate step gets the cue list (decided by the step's planned op) |
An audio slot can carry `stem` to take the output whose `meta.stem` matches ("voice" also matches vocals / speech / target; "background" also accompaniment / instrumental / residual / no_vocals). `pickOutput()` in `generations.ts` does the choosing; a missing stem fails the step with a clear message.
-**`createPipeline(steps, opts)`** creates any DAG of steps `{key, request, after?, chain?}`. Before a single row exists it checks duplicate or unknown keys, self-waits, loops (Kahn sort), chain-slot counts, that a step others depend on makes one job, and previews every step with placeholders; a mix of demo and real steps is refused (`assertOneMode`). Rows are created in topological order with `dependsOn`, labelled "Step n of N", and it returns `{batchId, items, byKey}`; if creation fails partway, what it started is canceled. Its TSDoc example is a whole dub. Layers, Shorts, Mixed Media, the palette lock, Photodump / Fashion / Character Sheet, Marketing Studio / Click to Ad / Ad Multiplier, dub, Katana and the Assist studio tools build their jobs this way; Cinema, Canvas, Faceless / Explainer, Ads Studio and moodboards call `createGenerations` (with `dependsOn` for chained steps) directly; Cinema, Canvas and Faceless preview every step first.
+**`createPipeline(steps, opts)`** creates any DAG of steps `{key, request, after?, chain?}`. Before a single row exists it checks duplicate or unknown keys, self-waits, loops (Kahn sort), chain-slot counts, that a step others depend on makes one job, and previews every step with placeholders; a mix of demo and real steps is refused (`assertOneMode`). Rows are created in topological order with `dependsOn`, labelled "Step n of N", and it returns `{batchId, items, byKey}`; if creation fails partway, what it started is canceled. Its TSDoc example is a whole dub. Layers, Shorts, Mixed Media, the palette lock, Photodump / Fashion / Character Sheet, Marketing Studio / Click to Ad / Ad Multiplier, dub, Katana, Remove object, Genjutsu, the Audio hub's Loop / extend and Join, and the Assist studio tools build their jobs this way; Cinema, Canvas, Faceless / Explainer, Ads Studio and moodboards call `createGenerations` (with `dependsOn` for chained steps) directly; Cinema, Canvas and Faceless preview every step first.
At launch the runner fills the slots (`slotsFor` pads short chains, `chainValue` reads text files when the text isn't inline) and checks the mode again (`chainMode`: a real step after demo steps runs as a demo, or fails with what to connect when demo mode is off). Built on that:
-- **Join clips** (`joinClips`): fal's FFmpeg `merge-videos` on the cloud, ComfyUI's `video-concat-{2,3,4}` on the open engine (folded four at a time). `oss-join-sound1/2` are joins that keep one clip's own sound at 25 fps (marketing films).
+- **Join clips** (`joinClips`): fal's FFmpeg `merge-videos` on the cloud, ComfyUI's `video-concat-{2,3,4}` on the open engine (folded four at a time). `oss-join-sound1/2` are joins that keep one clip's own sound at 25 fps (marketing films). `oss-join-encoded` (`video-concat-encoded`, `expand: "videos"`) joins up to 100 clips in one prompt by packet copy when they share size and frame rate; Faceless Frame by frame films use it, 24 clips per join.
- **Open multi-shot** (`createShotFilm`), **storyboard film** (`createStoryboardFilm`), **last-frame extend** (`createExtendChain`: extract frame → the model's image-to-video → join; `oss-extract-frame` on the open engine).
+- **Keyframe film** (`createKeyframeFilm`): Frames mode on an open model whose `keyframes` route is `chained`. `createGenerations` hands a keyframes request on Wan 2.2 14B (or Lightning) to it: one `wan22-flf2v-14b` clip per pair of neighbouring frames, each as long as its gap in the workflow's frame steps (`planKeyframeClips`), then an image-to-video clip after the last frame when it isn't at the end, then a join. The whole request is previewed first, and clips already made are canceled when one fails. A chained route can't be a step that waits for another step's output: `createGenerations`, `previewChained` and Canvas's `describeNode` refuse it with one message (`chainedWaitMessage`).
+- **Pieces and windows** (`src/lib/catalog/remove-object.ts`, shared by Remove object and Genjutsu): a long clip is cut into pieces each cloud model takes (`planCloudPieces`), or into frame-exact windows for the open graphs (`planWindows`, `planFrameCuts`; `VACE_WINDOW` is 4n+1 frames, up to 81). Each piece is trimmed and made, the pieces are joined, and the clip's own sound is put back (`joinWithSound`), with the helpers in `REMOVE_TOOLS` (fal trim / join / mux, or `oss-trim` / `oss-join-clips` / `oss-mux`). Open windows are joined with hard cuts; the seams have not been checked on real models.
## LLM provider (`src/server/providers/llm.ts`)
-Text steps (`translate`, `write`) run inside the server and are polled like any job; cancel aborts the call and a restart fails the job as "Interrupted" (retryable). `llmBackends(route)` lists the backends in order: Claude (claude-opus-5-5, low effort, server-side fallback) when an Anthropic key is set and Prompt enhancement is Claude, or Auto on an install that isn't open-only; then Ollama when it answers, unless Prompt enhancement is pinned to Claude. Claude errors fall back to the next backend; endpoint `ollama` (`oss-text-llm`) never uses Claude; Prompt enhancement → Offline rewriter (`none`) turns text steps off. The first check for a new Ollama URL is a blocking worker-thread probe (`probeOllama`), later checks refresh a 15 s cache in the background. A text step on Ollama costs 0.
+Text steps (`translate`, `write`) run inside the server and are polled like any job; cancel aborts the call and a restart fails the job as "Interrupted" (retryable). `llmBackends(route)` lists the backends in order: Claude (claude-opus-5-5, low effort, server-side fallback) when an Anthropic key is set and Prompt enhancement is Claude, or Auto on an install that isn't open-only; then Ollama when it answers, unless Prompt enhancement is pinned to Claude. Claude errors fall back to the next backend; endpoint `ollama` (`oss-text-llm`) never uses Claude; Prompt enhancement → Offline rewriter (`none`) turns text steps off. Since round 4 an open-source **translation** with no Ollama answering runs on ComfyUI instead, when ComfyUI answers: `viaComfy()` submits and polls the hidden `oss-qwen35-translate` model (Qwen3.5 4B, workflow `translate-qwen35-textgen`) with the same numbered batches, one prompt at a time, so cues keep their timing; writing still needs Ollama, and the message with neither running names both. The first check for a new Ollama URL is a blocking worker-thread probe (`probeOllama`), later checks refresh a 15 s cache in the background. A text step on Ollama costs 0. The connection test asks the servers themselves: the Anthropic key with a free one-model list call (`testClaude`), Ollama with `/api/tags` and whether the model Settings names is pulled (`testOllama`).
-`translateCues()` translates JSON cue lists, SRT and WebVTT (`src/lib/cues.ts`) in numbered batches of 30 (multi-line cues kept together); a batch that comes back merged or short is redone in pieces of 10, then cue by cue through a pool (1 request in flight on Ollama, 4 on Claude). The output keeps `meta.cues`. `write` uses `params.extra.system` when given. Studios that need free text (brand research, the AI Director, storyboard splitting, ad copy, Click to Ad scripts) call `llmText()` in `src/server/enhance.ts`, with offline fallbacks. Faceless and Explainer names, topics and scripts go through the llm provider itself (`askLlm()` in `src/server/faceless.ts` submits and polls a `text-llm` / `oss-text-llm` job), so they follow the episode's engine.
+`translateCues()` translates JSON cue lists, SRT and WebVTT (`src/lib/cues.ts`) in numbered batches of 30 (multi-line cues kept together); a batch that comes back merged or short is redone in pieces of 10, then cue by cue through a pool (1 request in flight on Ollama, 4 on Claude). The output keeps `meta.cues`. `write` uses `params.extra.system` when given. Studios that need free text (brand research, the AI Director, storyboard splitting, ad copy, Click to Ad scripts) call `llmText()` in `src/server/enhance.ts`, with offline fallbacks. Faceless and Explainer names, topics and scripts go through the llm provider itself (`askLlm()` in `src/server/faceless.ts` submits and polls a `text-llm` / `oss-text-llm` job), so they follow the episode's engine. The Explainer also reads PDF and Word sources (`POST /api/explainer/document`, up to 20 MB; `readDocument()` in `faceless.ts`): PDFs through Assist's unpdf reader, `.docx` through `src/server/assist/docx.ts` (`word/document.xml` via the bounded unzip, which skips entries it doesn't need); a document longer than the script writer reads is summarised by the engine's text model first. The file itself isn't kept.
## Live updates (`src/server/live.ts`, `src/lib/api.ts`)
@@ -129,14 +156,19 @@ Server: `watchGenerations(db)` installs TEMP SQLite triggers on `generations` th
Client: one stream per browser. Tabs elect a leader with `navigator.locks` (`fuobe-generation-stream`); only the leader reads the stream and re-broadcasts events and its connected state on a `BroadcastChannel` (`fuobe-generations`, messages event | state | hello). The next tab takes over when the leader closes; a tab hidden for 30 s lets go, and every reconnect after the first invalidates the caches. Without Web Locks each tab reads its own stream. State lives on `globalThis.__fuobeClientStream`; the decision logic (`streamResponse`, `needsCatchUp`, `toChannelMessage`) and the cache reducers are pure, in `src/lib/generation-stream.ts`. `applyEvent()` patches `["generations", filter]`, `["library", filter]`, `["assist", id]` and `["canvases", id]` (`applyToCanvasView`) by id, with id-based structural sharing (`shareById`). Other views subscribe with `useGenerationEvents(cb)` (Cinema, Layers, Shorts, Mixed Media, Marketing, Faceless, dub, Katana) instead of opening an EventSource. Polling slows to 10 s while connected (1.5 s otherwise); a 404 means no stream, retried every 5 minutes.
-## Library: Trash, folders, bulk, zip (`src/server/library.ts`)
+Notifications (round 4): `src/components/job-notifications.tsx`, with the decisions pure in `src/lib/job-watch.ts` and the per-browser opt-in in `src/lib/notification-prefs.ts` (Settings → Notifications). A job is a batch (a pipeline's steps count as one), and it counts as done only after it has stayed finished for 6 s, so steps a studio adds meanwhile belong to it. Only the stream's leader tab notifies, after asking the other tabs on the channel whether one is on screen. While notifications are on and a job hasn't had its notification yet, a hidden leader keeps its stream past the 30 s grace (`keepStreamWhileHidden`). The tab title counts running jobs ("(2) Library · Fuobe").
+
+## Library: Trash, folders, pins, review, bulk, zip (`src/server/library.ts`)
-- **Trash** is the `generation_trash` table (soft delete). Every reader (`listGenerations`, `getGeneration(id, {includeDeleted})`, and through them Assist, MCP, storyboards, studios) leaves trashed rows out; `toGeneration` fills `deletedAt` / `folderId` even for rows read without the join. `trashGenerations` cancels queued and running jobs; `restoreGenerations` brings rows back (to the root when their folder is gone). `deleteForever` / `emptyTrash` call `deleteGeneration`, which removes the row, its trash and folder entries and every output file that `assetInUse()` doesn't find in a table listed in `ASSET_REFS` (generations, elements, trainings, Assist threads, Cinema, Canvas, Layers, Shorts, marketing, image studios, Faceless). When a table starts storing file URLs, add it there. `ensureTrashPurge()` empties what has been in the Trash for 30 days, at startup and then daily.
-- **Folders**: `folders` + `folder_items`, one folder per generation, flat; deleting a folder sends its items back to the root.
-- **Lists** take `kinds`, `models`, `statuses`, `since` / `until`, `folder`, `trash`, `q` (also the request prompt) and a compound cursor `before=<ts>:<id>` (ordered by ts DESC, id DESC; `deletedAt` in the Trash), so rows sharing a timestamp are never skipped. `libraryFacets()` gives the tab counts.
-- **Bulk**: `POST /api/generations/bulk` (trash | restore | delete | favorite | unfavorite | move), sent in batches of 500.
-- **Zip**: `GET /api/generations/zip?ids=` streams a stored zip (`zipStream` / `zipSize` in `src/server/zip.ts`: a CRC pass first, flat memory, refused over 4 GB).
-- Client: pure helpers in `src/lib/library.ts` (filters, date sections, batch stacks, `cursorAfter`), `outputActions()` in `src/lib/output-actions.ts` (one action list for tiles, viewer and Library), `ForeverConfirmProvider` in `src/components/studio/result-actions.tsx`. `GenerationRequest.title` / `.batchTitle` (server-set) name results and Library stacks.
+- **Trash** is the `generation_trash` table (soft delete). Every reader (`listGenerations`, `getGeneration(id, {includeDeleted})`, and through them Assist, MCP, storyboards, studios) leaves trashed rows out; `toGeneration` fills `deletedAt` / `folderId` even for rows read without the join. `trashGenerations` cancels queued and running jobs; `restoreGenerations` brings rows back (to the root when their folder is gone). `deleteForever` / `emptyTrash` call `deleteGeneration`, which removes the row, its trash and folder entries and every output file that `assetInUse()` doesn't find in a table listed in `ASSET_REFS` (in `generations.ts`: generations, elements, trainings, Assist chats with their frozen context and project sources, Cinema, Canvas, Layers with its tools' inputs, Shorts, marketing, image studios, Faceless channels and episodes with their scripts and plans, dub sessions, Katana jobs). Each entry also says what a row is and how to name it, so `assetUses()` can say where a file is used ("2 results and the element “Maya”"). `ASSET_FREE` lists columns that look like file columns but never hold one; a test checks that every `_json`, `_url`, `url` and `_file` column is in one list or the other. When a table starts storing file URLs, add it there. `ensureTrashPurge()` empties what has been in the Trash for 30 days, at startup and then daily.
+- **Folders**: `folders` + `folder_items`, one folder per generation. Since round 4 folders nest (`folders.parent_id`, up to `MAX_FOLDER_DEPTH` = 8 levels); names are unique among siblings, and a move into the folder itself or one of its subfolders is refused. Deleting a folder moves its results and subfolders up to its parent (to the root for a top-level folder). A folder's count and cover leave out the Trash and helper steps. `GET /api/folders/[id]/zip` zips a folder with its subfolders as paths (`?check=1` asks first, `?steps=1` adds helper steps).
+- **Pins and review**: `pinned_at` on folders (pinned folders list first, in the order they were pinned) and on generations (`pinned=1` lists the most recently pinned first, with the cursor on the pin time; the Library shows them in a Pinned section) and `generations.review` (`in-progress`, `needs-review`, `approved`, `rejected`, or none), set through `PATCH /api/generations/[id]` (`pinned`, `review`) and the bulk route.
+- **Helper steps**: a list that names no feature and no batch (the Library, the home feed, Assist's `list_recent`) leaves out chain steps (features ending in `-step`) and the helper features in `HELPER_FEATURES` (`src/lib/library.ts`) unless `steps=1`; studio feeds that name their features still get them, and the facets count them apart.
+- **Lists** take `kinds`, `models`, `statuses`, `since` / `until`, `folder` (or `folders`, a subtree), `trash`, `pinned`, `reviews`, `steps`, `q` (also the request prompt) and a compound cursor `before=<ts>:<id>` (ordered by ts DESC, id DESC; `deletedAt` in the Trash), so rows sharing a timestamp are never skipped. `libraryFacets()` gives the tab counts.
+- **Bulk**: `POST /api/generations/bulk` (trash | restore | delete | favorite | unfavorite | move | pin | unpin | review), sent in batches of 500.
+- **Zip**: `GET /api/generations/zip?ids=` streams a stored zip (`zipStream` / `zipSize` in `src/server/zip.ts`: a CRC pass first, flat memory, refused over 4 GB). `zipToFile` writes one to disk from files that arrive one at a time (EXR frames).
+- **Uploads**: `DELETE /api/assets/[id]` deletes a stored file for good, its file on disk included, only when nothing uses it (`deleteUnusedAsset`); otherwise it answers 409 with where it is used. `GET` returns the uses.
+- Client: pure helpers in `src/lib/library.ts` (filters, date sections, batch stacks, `cursorAfter`, `toggleAll` for Select all and per-day select, `describeUses`), `outputActions()` in `src/lib/output-actions.ts` (one action list for tiles, viewer and Library), `ForeverConfirmProvider` in `src/components/studio/result-actions.tsx`, and `components/library/{folders,review,upload-delete}.tsx` (folder tree with breadcrumbs and drag-and-drop, the review picker, the checked upload delete). `GenerationRequest.title` / `.batchTitle` (server-set) name results and Library stacks.
## Security (`src/proxy.ts`, `src/server/auth.ts`, `src/server/remote-fetch.ts`)
@@ -144,8 +176,9 @@ Client: one stream per browser. Tabs elect a leader with `navigator.locks` (`fuo
- **Host allowlist** (`hostAllowed`), for every method when no password is set, before anything else: IP literals, localhost and `*.localhost`, single-label names, `.local` / `.lan` / `.home.arpa` / `.internal` / `.localdomain`, this machine's hostname, and `FUOBE_ALLOWED_ORIGINS` (`*` allows any). This stops DNS rebinding. `X-Forwarded-Host` is not trusted here.
- **Cross-site writes** (`crossSite`): non-GET/HEAD/OPTIONS requests get 403 when `Origin` matches neither Host, `X-Forwarded-Host` nor `FUOBE_ALLOWED_ORIGINS`, when it is `null`, or when `Sec-Fetch-Site` is cross-site — with or without a password.
- **Login throttle** (`LoginGuard`): 5 misses per client and 20 a minute overall, bounded map, `Retry-After`. Route handlers can't see the socket address, so the client key is the last `X-Forwarded-For` hop only with `FUOBE_TRUST_PROXY=1` (then a 60 s lock per client); otherwise everyone shares a key that is slowed to one attempt every 4 s and never locked.
-- **Remote fetch** (`fetchRemote`): every caller-supplied URL (references, brand research, product links, YouTube oEmbed, Assist sources) is fetched only from public addresses. The check runs inside the socket lookup (DNS can't change after it) and again on each of at most 5 redirects; it blocks loopback, RFC 1918, link-local / metadata, CGNAT, multicast, ULA and mapped / NAT64 / 6to4 IPv4. 60 s deadline, 200 MB cap. `FUOBE_ALLOW_PRIVATE_URLS=1` turns it off for LAN installs.
-- Uploads up to 200 MB pass the proxy (`experimental.proxyClientMaxBodySize: "210mb"` in `next.config.ts`, room for the multipart overhead). `/api/files` sends `nosniff` and a UTF-8 charset for text. The MCP endpoint refuses a foreign `Origin`. Unknown `/apps/<id>` is rewritten to a real 404.
+- **Remote fetch** (`fetchRemote`): every caller-supplied URL (references, brand research, product links, YouTube oEmbed, Assist sources) is fetched only from public addresses. The check runs inside the socket lookup (DNS can't change after it) and again on each of at most 5 redirects; it blocks loopback, RFC 1918, link-local / metadata, CGNAT, multicast, ULA and mapped / NAT64 / 6to4 IPv4. 60 s deadline, 200 MB cap. `fetchRemoteToFile` makes the same checks but streams to a file (16 GB cap, 30-minute deadline; a failed download leaves no file); it fetches the extra files a result links to. `FUOBE_ALLOW_PRIVATE_URLS=1` turns both off for LAN installs.
+- **Connection tests** (`POST /api/providers/test`, `src/lib/connections.ts`): Settings' Save & test sends the typed, unsaved values; the route runs the provider's `test()` inside `withCandidates()` (an `AsyncLocalStorage` override of `getSetting`, `src/server/settings.ts`) and stores nothing. Testing a different, unsaved ComfyUI address doesn't send the saved token to it (`isCandidate` / `savedSetting`). Like saving an address, a test makes the server fetch the ComfyUI or Ollama address it is given.
+- Uploads up to 200 MB pass the proxy (`experimental.proxyClientMaxBodySize: "210mb"` in `next.config.ts`, room for the multipart overhead). `/api/files` sends `nosniff` and a UTF-8 charset for text. The MCP endpoint refuses a foreign `Origin`. **Real 404s**: the proxy rewrites an unknown `/apps/<id>`, an unknown hub mode (`unknownHubMode`) and a record page whose id isn't stored (`recordForPath` in `src/lib/record-pages.ts`, then `recordExists` in `src/server/records.ts`, one primary-key lookup; a database that can't be read counts as "exists") to the not-found page with a 404, because a page's `loading.tsx` streams a 200 before the page knows. Every `[id]` page also calls `notFound()`.
## Studios
@@ -153,22 +186,31 @@ Each studio keeps its data and pure planner in `src/lib/`, its server module in
| studio | pure logic | server | routes | UI |
|---|---|---|---|---|
-| **Cinema Studio** (`/cinema`, `/cinema/[id]`) | `catalog/cinema.ts`: research data (genres, eras, 33 camera moves, 50 palettes, 7 lighting presets, Emotion Wheel, 17 Soul Cast fields, grids), `compileDirector` (native Cinema Studio 4.0 fields or prose), `planCinema` (steps with `after`, notes, blocker, cost), `takesClips` (feature-detected from the FieldMap) | `cinema.ts` (projects, nested scenes, `cinema_items` with per-take meta: take, tiles, cost, req, removed; spend in SQL), `cinema-generate.ts` (`generateInProject`: previews every step, checks the cost cap), `cinema-director.ts` (AI Director via `llmText`, offline fallback, never generates), `cinema-schemas.ts` | `/api/cinema/projects[/id[/folders[/folderId] \| /items[/genId/retry \| /tiles] \| /generate \| /director]]` | `components/cinema/*`: workspace, folder sidebar, feed, prompt bar, Director's Panel, palette editor (`color-math.ts`), grid crops (`grid-math.ts`), Soul builders, autosave |
-| **Canvas** (`/canvas`, `/canvas/[id]`) | `catalog/canvas.ts`: node types and typed ports, `connectionError`, `topoOrder`, `describeNode` (a GenerationRequest validated with `planGeneration` on placeholders), `planCanvas` (run vs reuse by signature, pins), `convertEngine`, the 5 templates (cloud and open) | `canvas.ts`: zod graph, CRUD, `canvasView`, `runCanvas` (one generation per step with `dependsOn`; runs kept in `runs_json`), `graphProblem` | `/api/canvases[/id[/duplicate \| /run]]` | `components/canvas/*` on @xyflow/react: editor store (`canvas-context.tsx`, `useSyncExternalStore`, `DescribeCache`), nodes, palette, phone node list |
+| **Cinema Studio** (`/cinema`, `/cinema/[id]`) | `catalog/cinema.ts`: research data (genres, eras, 33 camera moves, 50 palettes, 7 lighting presets, Emotion Wheel, 17 Soul Cast fields, grids), `compileDirector` (native Cinema Studio 4.0 fields or prose), `planCinema` (steps with `after`, notes, blocker, cost), `takesClips` (feature-detected from the FieldMap). 3D scenes (round 4): the `scene` and `recompose` actions with `SCENE_MODELS` (cloud `marigold-depth`, open `oss-scene-moge`) and `RECOMPOSE_MODELS` (cloud Nano Banana Pro or Qwen Multiple Angles, open `oss-qwen-edit` with the Multiple-Angles LoRA); `src/lib/scene3d.ts` (lens 18–300 mm and field of view, fly controls, Spectral depth decoding → point cloud, `scenePose`, `recomposePrompt`, capture size) | `cinema.ts` (projects, nested scenes, `cinema_items` with per-take meta: take, tiles, cost, req, removed; spend in SQL; the automatic cover skips depth maps), `cinema-generate.ts` (`generateInProject`: previews every step, checks the cost cap; a recompose take keeps its `camera`), `cinema-director.ts` (AI Director via `llmText`, offline fallback, never generates), `cinema-schemas.ts` (a recompose `capture`: an `/api/files/` URL, lens, aperture, pose) | `/api/cinema/projects[/id[/folders[/folderId] \| /items[/genId/retry \| /tiles] \| /generate \| /director]]` (generate takes `action` `scene` and `recompose`) | `components/cinema/*`: workspace, folder sidebar, feed, prompt bar, Director's Panel, palette editor (`color-math.ts`), grid crops (`grid-math.ts`), Soul builders, autosave; `scene-actions.tsx` (Create 3D scene, priced, asks first), `scene-viewer.tsx` + `scene-engine.ts` (full-screen three.js viewer, loaded only when a scene opens; Capture uploads the framed view and queues a recompose take) |
+| **Canvas** (`/canvas`, `/canvas/[id]`) | `catalog/canvas.ts`: node types and typed ports, `connectionError`, `topoOrder`, `describeNode` (a GenerationRequest validated with `planGeneration` on placeholders), `planCanvas` (run vs reuse by signature, pins), `convertEngine`, the 5 templates (cloud and open); input ports for the round-4 operations, and a keyframe film fed by another node is refused before Run | `canvas.ts`: zod graph, CRUD, `canvasView`, `runCanvas` (one generation per step with `dependsOn`; runs kept in `runs_json`), `graphProblem` | `/api/canvases[/id[/duplicate \| /run]]` | `components/canvas/*` on @xyflow/react: editor store (`canvas-context.tsx`, `useSyncExternalStore`, `DescribeCache`), nodes, palette, phone node list |
| **Layers** (`/layers`, `/layers/[id]`) | `lib/layers.ts`: LayerDoc / LayerNode geometry, export scale, zip naming `layer-z{z}-{slug}.png`, stored zip, Copy JSON, `historyReducer` (same-key edits within 1.2 s are one undo), `layersModelFor`, `MAX_NODES = 200`, `MAX_REVISIONS = 50` | `layers.ts`: projects and versions (autosave into the head, 409 from a stale tab), tool jobs built by `jobSteps` (a cut-out step after edits on transparent layers), "decomposed" derived from applied jobs | `/api/layers[/id[/versions \| /jobs[/jobId]]]`, `/api/layers/renders` (PNG-only "derived" assets) | `components/layers/*`: results measured in the browser (`measure.ts`) and laid out by `applyMeasured` (`apply.ts`), zips and composites rendered with canvas (`render.ts`), WebGL grade |
-| **Shorts Studio** (`/shorts`, `/shorts/[id]`) | `catalog/shorts.ts`: 44 presets, `planCloudSegments` (equal ≤10 s), `planOpenSegments` (4n+1 frames ≤81 at 16 fps), `planTake`, `planStitch`, `planShorts`, `chainState`; `catalog/shorts-models.ts` (what each restyle model takes, read from its v2v routes); `lib/trim-range.ts` | `shorts.ts` (sessions, segments with takes and the primary take, stitches; `probeSource` reads MP4 then WebM via `webm-probe.ts`), `shorts-schemas.ts` (`once(scope, requestId, fn)`: one paid submit per click, 10 min) | `/api/shorts/{probe,estimate,sessions[/id[/segments/i[/primary] \| /stitch]],presets[/id]}` | `components/shorts/*`, the shared `components/studio/video-trimmer.tsx` |
+| **Shorts Studio** (`/shorts`, `/shorts/[id]`) | `catalog/shorts.ts`: 44 presets, `planCloudSegments` (equal ≤10 s), `planOpenSegments` (4n+1 frames ≤81 at 16 fps), `planTake`, `planStitch`, `planShorts` (with `keepShape` for Genjutsu's restyle: no crop, framing as filmed), `chainState`; `catalog/shorts-models.ts` (what each restyle model takes, read from its v2v routes); `lib/trim-range.ts` | `shorts.ts` (sessions, segments with takes and the primary take, stitches; `probeSource` reads MP4 then WebM via `webm-probe.ts`), `shorts-schemas.ts` (`once(scope, requestId, fn)`: one paid submit per click, 10 min) | `/api/shorts/{probe,estimate,sessions[/id[/segments/i[/primary] \| /stitch]],presets[/id]}` | `components/shorts/*`, the shared `components/studio/video-trimmer.tsx` |
| **Mixed Media** (`/mixed-media`) | `catalog/mixed-media.ts`: 33 presets with settings, frames = floor(s × fps), open render (one `oss-mixed-media` job) and cloud plan (trim → restyle → original sound), preview plan | `mixed-media.ts`: estimate, render, preview, `retryMixed`; no table (History is the feed: features `mixed-media`, `mixed-media-step`, `mixed-media-preview`) | `/api/mixed-media[/preview \| /estimate \| /retry]` | `components/mixed-media/*` |
| **Image studios** (Color signature, Moodboards, Photodump, Fashion Factory, Character Sheet) | `catalog/palettes.ts` (`applySignature`, `SignatureRecord` in `request.signature`), `catalog/packs.ts` (photo-run planners with `PlanCaps`) | `palettes.ts` (seeded 50 palettes, lock chains), `moodboards.ts` (status derived from the cover job, Recraft style id, style LoRA), `photodump.ts` (runs as one `createPipeline` batch; `retryPhoto`) | `/api/palettes[/id \| /lock]`, `/api/moodboards[/id[/retry \| /train]]`, `/api/photodump[/packs[/id] \| /character \| /fashion \| /retry]` | `components/{palettes,moodboards,photodump,fashion}/*`; k-means in `palettes/extract.worker.ts`; the chips load through `useSignature` in the composer |
| **Marketing** (Marketing Studio, Click to Ad, Ads Studio, Ad Multiplier) | `catalog/marketing.ts`: 84 templates, 11 formats, 9 hooks, 14 settings, 10 ad styles, angles, word budgets, `formatModels`, `UGC_MODELS`, `OPEN_SOUND_JOIN` | `brand.ts` (website scrape, research job, `kitForSite`), `marketing.ts` (`planMarketing`, `planClickToAd`, `planMultiplier` with `referenceFacts` → RunPlan → `createPipeline`; `marketing_runs` keeps the input for Run again and the browser composite), `ads.ts` (batches, creatives, concepts, chat, proposals) | `/api/brands/**`, `/api/products/**`, `/api/marketing/**`, `/api/ads/**` | `components/{marketing,ads,brand}/*`; ad layout math (`ads/layout.ts`) → canvas render with Google fonts (`ads/render.ts`) → stored zip (`ads/zip.ts`); @mention helpers (`ads/mention.ts`) |
-| **Faceless Studio / Explainer** (`/faceless`, `/explainer`) | `catalog/faceless.ts`: genres, 22 styles (12 for Faceless), block planning, `buildEpisodeGraph` (steps keyed still / clip / join / narration / music / mix / words / captions), `planRerun`, `planRetry`, `estimateGraph`, `spokenTimes`, `sceneTiming`, `musicLength`, `styleRefLimit` | `faceless.ts`: channels (avatar job), episodes, scripts written in the background by the llm provider (`askLlm`), `launch()` (stage one: stills, narration, word timings) and `advance()` (scenes cut to the spoken times, then clips, joins, music, mix, subtitles), `settle()`, `ensureFacelessRunner()` (2 s sweep, started at boot) | `/api/faceless/**`, `/api/explainer[/link]` | `components/{faceless,explainer}/*` |
-| **Translate & dub, Captions, Trim, Katana, Image to 3D, Virality** | `lib/av/*.ts` as plain data: `dub.ts` (one-shot and step plans, takes, timeline), `captions.ts` (burner capabilities), `cue-edit.ts`, `katana.ts` (cuts, `stepsToRedo`), `model3d.ts`, `frames.ts`, `timeline.ts`, `virality.ts`, `languages.ts` | `dub.ts` and `katana.ts` keep generation ids per step in `dub_sessions` / `katana_jobs` (`retryKatana`, `rerunKatana`); deleting stops unfinished steps | `/api/dub[/id[/voice]]` (`?preview=1` prices), `/api/katana[/id[/retry]]` | `components/{dub,captions,katana,model3d,virality,av}/*`. Hub tool modes: `ModeSwitchStudio` has a `TOOLS` map (`audio/translate`, `video-tools/captions`, `video-tools/trim`) |
-| **Assist** (`/assist`, `/assist/skills`, `/assist/memory`, `/assist/projects/[id]`) | `lib/assist.ts`: SKILL.md parsing (`parseSkillMd`, `toSkillMd`), slash helpers, modes, `planRunnable` | `server/skills.ts` (built-ins from `skills/` or `FUOBE_SKILLS_DIR`, user skills and toggles in SQLite, `.md` / `.zip` / `.skill` import via `assist/unzip.ts`), `assist/projects.ts` (sources fetched safely; PDFs read by `assist/pdf.ts` with unpdf), `assist/memory.ts`, `assist/context.ts`, `assist/studio-tools.ts` | `/api/assist/**` | `components/assist/*`, `assist-view.tsx` |
+| **Faceless Studio / Explainer** (`/faceless`, `/explainer`) | `catalog/faceless.ts`: genres, 22 styles (12 for Faceless), block planning, `buildEpisodeGraph` (steps keyed still / clip / join / narration / music / mix / words / captions), `planRerun`, `planRetry`, `estimateGraph`, `spokenTimes`, `sceneTiming`, `musicLength`, `styleRefLimit`. Round 4: Frame by frame is a Ken Burns move per scene, not a video model (`ENGINE_MODELS.kenBurns`: the cloud's `ken-burns` zooms only, the open `oss-ken-burns` pans and zooms and splits scenes over 10 s; the moves come from the scene's words, `sceneMoves` in `src/lib/av/ken-burns.ts`), joined with `framesJoin` (`oss-join-encoded` on the open engine); `musicPlan` adds a `music-loop` step when the film outlasts the music (open `oss-audio-loop` crossfades up to 600 s, the cloud's `join-audio` repeats whole plays); `staleSteps` / `bedFits` redo kept steps whose model, operation, clip length or music bed no longer fits; the open `upscale` is `oss-upscale-video-esrgan` | `faceless.ts`: channels (avatar job), episodes, scripts written in the background by the llm provider (`askLlm`), `launch()` (stage one: stills, narration, word timings) and `advance()` (scenes cut to the spoken times, then clips, joins, music, mix, subtitles), `settle()`, `ensureFacelessRunner()` (2 s sweep, started at boot); a Motion change that reads as the scene's current camera move answers 422 (`sameCameraMove`); `readDocument()` for PDF and Word sources | `/api/faceless/**`, `/api/explainer[/link \| /document]` | `components/{faceless,explainer}/*` |
+| **Translate & dub, Transcribe, Captions, Trim, Katana, Image to 3D, Virality** | `lib/av/*.ts` as plain data: `dub.ts` (one-shot and step plans, takes, timeline; since round 4 the cloud step plan splits the soundtrack with Demucs, lowers each background stem by 3 dB with fal's loudnorm, as the open route lowers its background stem, and mixes the new voice over them with compose; a failed split leaves a voice-only dub), `captions.ts` (burner capabilities), `cue-edit.ts`, `katana.ts` (cuts, `stepsToRedo`), `model3d.ts`, `frames.ts`, `timeline.ts`, `virality.ts`, `languages.ts`; Audio → Transcribe is a composer studio (`TRANSCRIBE_STUDIO`) with a spoken-language picker (`src/lib/speech-languages.ts`, sent as `params.sourceLanguage`) | `dub.ts` and `katana.ts` keep generation ids per step in `dub_sessions` / `katana_jobs` (`retryKatana`, `rerunKatana`); deleting stops unfinished steps | `/api/dub[/id[/voice]]` (`?preview=1` prices), `/api/katana[/id[/retry]]` | `components/{dub,captions,katana,model3d,virality,av}/*`; Trim and Ad Multiplier use the shared `video-trimmer.tsx`. Hub tool modes: `ModeSwitchStudio` has a `TOOLS` map (`audio/translate`, `audio/loop`, `audio/join`, `video-tools/remove-object`, `video-tools/captions`, `video-tools/trim`) |
+| **Remove object** (`/video-tools/remove-object`) | `catalog/remove-object.ts`: the erasers per engine and way of pointing (`ERASERS`, `erasersFor`, `chooseEraser`: Type it, Click it, Paint it, and VOID for "Shadows and reflections too"), `targetPhrase` (words → SAM 3.1's target), `klingPrompt`, pieces and windows (above), `planRemoval`, `joinWithSound`, the SAM 3.1 mask preview (`planMaskPreview`) | `remove-object.ts`: `estimateRemoval`, `createRemoval` (one `createPipeline`: feature `remove-object`, its steps `remove-object-step`), `createRemovalPreview` (`remove-object-preview`); Kling O3 edit and LTX clean-plate prices are set here (`EDIT_USD_PER_SECOND`, `MEGAPIXEL_USD`). No table: history is the feed | `/api/remove-object[/estimate \| /preview]`; a repeated `requestId` gets the first run (`once()`) | `components/remove-object/*`: `frame-stage.tsx` (the first frame decoded in the browser, click points or paint), `video-compare.tsx` (before / after wipe) |
+| **Genjutsu** (`/genjutsu`) | `catalog/genjutsu.ts`: modes Motion transfer, Object swap, Restyle, Insert; the models per engine and key (`MAKERS`, `chooseMaker`: Higgsfield Genjutsu / Genjutsu Lite with a Higgsfield key, else Kling, hosted Wan VACE, P-Video Replace; open Wan Animate 2 and Wan VACE), list prices (`MAKER_USD`), `swapTarget`, `makerPrompt`, `planGenjutsu` (reuses Remove object's pieces, windows and `joinWithSound`; Restyle runs Shorts' planner with `keepShape`), Copy / Paste setup codes (`encodeSetup` / `decodeSetup`, `gj1.` + base64url JSON, `/api/files/` URLs only) | `genjutsu.ts`: `estimateGenjutsu`, `createGenjutsu` (one `createPipeline`: `genjutsu`, `genjutsu-step`); `mixProblem` refuses a run that would mix paid and demo steps before anything starts. No table | `/api/genjutsu[/estimate]` (`once()` on `requestId`) | `components/genjutsu/*` (`genjutsu-studio.tsx`, `look-picker.tsx`, `setup-code.tsx`); "Use in Genjutsu" / "Animate with Genjutsu" result actions; `StudioConfig.related` links from Motion control and Edit video |
+| **Upscale hub: FPS Boost, SDR to HDR, Export** (`/upscale/fps`, `/upscale/hdr`, `/upscale/export`) | composer studios `FPS_BOOST_STUDIO`, `SDR_TO_HDR_STUDIO`, `VIDEO_EXPORT_STUDIO` (`StudioConfig.comfyOnly`: Export runs on ComfyUI only and says so); `lib/av/fps.ts` (`fpsPlan`: interpolate by m, keep every n-th frame), `upscale.ts` (`upscaleTier`, `upscaleFactorFor`: a target size, as a factor of the clip's shorter edge for APIs that take one), `formats.ts` (`FORMAT_INFO`), `video-finish.ts` (open export values, HDR colour space, passes, the whole-clip RAM budget) | ordinary generations; on submit the input clip's header fills `sourceSize` / `sourceFps` / `sourceDuration`, and an upscale tier that wouldn't enlarge the clip moves up (or is refused when picked) | `POST /api/media/probe` (a stored clip's length, size, fps and sound, from its header); `GET /api/status` reports ComfyUI's `ramBytes` | the composer's clip-facts line, format picker and no-ComfyUI notice; `VideoFileCard` in `result-media.tsx` for ProRes / FFV1 and clips the browser can't play; "Download EXR frames (.zip)" |
+| **Audio hub: Loop / extend, Join** (`/audio/loop`, `/audio/join`) | `lib/av/audio-tools.ts` (`planLoop`, `planJoin`: up to 600 s, 2–10 clips; the open engine crossfades in one job, the cloud chains `join-audio` calls of whole plays and hard cuts), `lib/av/crossfade.ts` (`fadeCurveWav`, `crossfadeProblem`, cloud play counts) | `audio-tools.ts`: each clip's length read from its own header, the plan priced step by step, one `createPipeline` run | `POST /api/audio-tools` (`?preview=1` plans and prices) | `components/audio-tools/*`; any audio result gets "Loop / extend" |
+| **Video studio · Frames mode** (`/video`) | `catalog/keyframes.ts` (above); `framesRequest` and the strip helpers in `src/lib/composer.ts` | cloud: FLUX 3 Max's keyframes route; start + end frame models get the first and last frame; open: `createKeyframeFilm` (Pipelines) | `POST /api/generations` with op `keyframes` and `params.keyframeTimes` | `StudioConfig.frames` on `VIDEO_STUDIO`; `components/studio/frames-strip.tsx` (up to 10 stills on a time ruler, keyboard-movable markers) |
+| **Assist** (`/assist`, `/assist/skills`, `/assist/memory`, `/assist/projects/[id]`) | `lib/assist.ts`: SKILL.md parsing (`parseSkillMd`, `toSkillMd`; since round 4 the Agent Skills frontmatter, with Fuobe's own fields under `metadata`, and the old layout still read), slash helpers, modes, `planRunnable`, `ASSIST_SUGGESTIONS`; `lib/assist-studios.ts` (a studio call's words → a Shorts preset, a Faceless style, a dub language) | `server/skills.ts` (built-ins from `skills/` or `FUOBE_SKILLS_DIR`, user skills and toggles in SQLite, `.md` / `.zip` / `.skill` import via `assist/unzip.ts`), `assist/projects.ts` (sources fetched safely; PDFs read by `assist/pdf.ts` with unpdf), `assist/docx.ts` (Word text, used by the Explainer), `assist/memory.ts`, `assist/context.ts`, `assist/studio-tools.ts`, `assist/studio-routes.ts` (the studio tools' adapters, below) | `/api/assist/**` | `components/assist/*`, `assist-view.tsx`; "Open in <Studio>" cards for studio jobs |
## ComfyUI workflow library (`workflows/comfyui/`, `scripts/comfy/`)
-`manifest.json` lists 115 workflows, all `validated: true`, each with its **bindings** (canonical key → node id + input), outputs (with `stem` and `role`), defaults, limits, required model files with download URLs and sizes, custom node packs, VRAM, licence, notes, `autoDownloads`, and since round 3 `expand` (`captions` or `timeline`: the provider rewrites the graph per request) and `worker: "isolated"`. The pipeline in `scripts/comfy/` exports the official templates through the real ComfyUI frontend (`app.graphToPrompt()`), applies documented transforms (`library.spec.mjs`, `lib/graph.mjs`), builds hand-written API graphs from `hand-built/*.json`, and validates every graph with `POST /prompt` against a live ComfyUI using zero-byte placeholder models.
+`manifest.json` lists 139 workflows, all `validated: true`, each with its **bindings** (canonical key → node id + input), outputs (with `stem` and `role`), defaults, limits, required model files with download URLs and sizes, custom node packs, VRAM, licence, notes, `autoDownloads`, and since round 3 `expand` (`captions` or `timeline`: the provider rewrites the graph per request) and `worker: "isolated"`. Round 4 adds `expand: "videos"` / `"audios"` (joins, one loader per clip), model files marked `optional` (FILM beside RIFE; the Workflows page leaves them out of the missing count), and output roles `scene`, `depth`, `mask`, `cutout`, `matte`, `preview`, `frames`, `frame`, `lines`, `splat` and `brief` (the last four from graphs no catalog model uses yet). The pipeline in `scripts/comfy/` exports the official templates through the real ComfyUI frontend (`app.graphToPrompt()`), applies documented transforms (`library.spec.mjs`, `lib/graph.mjs`), builds hand-written API graphs from `hand-built/*.json`, and validates every graph with `POST /prompt` against a live ComfyUI using zero-byte placeholder models.
-Round 3 added 42 workflows (73 → 115), all hand-built: the 29 graphs of `comfyui-oss-3` (layers, style references, palette, segments and restyle, Mixed Media, SFX, dub preparation, ASR captions, translation, lip re-sync, 3D, try-on, grids, Soul Cast) plus Fuobe's own `video-mux-audio-replace`, `captions-burnin` (chunked, constant memory) and `selftest-meta-batch`; then `frame-extract`, `v2a-hunyuan-foley`, `product-shot-qwen-edit-2509`, `audio-timeline` and `video-concat-sound{1,2}-{2,3,4}`. `lipsync-latentsync16` and `sfx-thinksound` are **isolated-worker** workflows: their packs change process-wide state or pin old packages, so `scripts/comfy/install-isolated-worker.sh` sets up a second ComfyUI with its own code copy, base directory, `HOME` and virtualenv, sharing the main install's models read-only through `extra_model_paths.yaml` (port 8189). `install-comfyui.sh` installs 14 packs at pinned commits; `NC_PACKS=1` adds the non-commercial ComfyUI-Whisper.
+Round 3 added 42 workflows (73 → 115), all hand-built: the 29 graphs of `comfyui-oss-3` (layers, style references, palette, segments and restyle, Mixed Media, SFX, dub preparation, ASR captions, translation, lip re-sync, 3D, try-on, grids, Soul Cast) plus Fuobe's own `video-mux-audio-replace`, `captions-burnin` (chunked, constant memory) and `selftest-meta-batch`; then `frame-extract`, `v2a-hunyuan-foley`, `product-shot-qwen-edit-2509`, `audio-timeline` and `video-concat-sound{1,2}-{2,3,4}`. `lipsync-latentsync16` and `sfx-thinksound` are **isolated-worker** workflows: their packs change process-wide state or pin old packages, so `scripts/comfy/install-isolated-worker.sh` sets up a second ComfyUI with its own code copy, base directory, `HOME` and virtualenv, sharing the main install's models read-only through `extra_model_paths.yaml` (port 8189). Since round 4 Fuobe routes them there itself (Settings → Isolated worker URL; see Providers). `install-comfyui.sh` installs 15 packs at pinned commits (round 4 added ComfyUI-ToSVG for VTracer); `NC_PACKS=1` adds the non-commercial ComfyUI-Whisper. The manifest names 17 packs in all.
+
+Round 4 added 24 hand-built workflows (115 → 139). Eighteen came first: object removal on Wan 2.1 VACE 14B by name (`video-inpaint-wan-vace`) or by a painted mask (`video-inpaint-wan-vace-painted`, which hands its last tracked mask to the next window), VOID on CogVideoX-5B (`video-erase-void`), VACE swap and insert with a reference image (`video-swap-wan-vace`, `video-insert-wan-vace`), a Ken Burns move over a still (`kenburns-still`), audio loop and join with crossfades (`audio-loop-crossfade`, `audio-join-crossfade`), ProRes / H.265 10-bit / FFV1 and EXR export (`video-export-pro`, `video-export-exr`), `video-sdr-to-hdr`, a MoGe 2 whole-scene mesh (`scene-mesh-moge`), a TripoSplat splat (`image-to-splat-triposplat`), OCR text lines (`ocr-lines-qwen35`), a Gemma 4 reference-video brief (`reference-brief-gemma4`), `still-to-clip`, a logo end card (`video-append-endcard`) and VTracer (`image-vectorize-vtracer`). `wan21-vace-14b-ref2v` swapped the template's CC-BY-NC CausVid LoRA for the Apache-2.0 lightx2v LoRA. Six more finish video in passes or join without re-encoding: `interpolate-rife-fps`, `upscale-video-esrgan-chunked`, `upscale-video-seedvr2-chunked`, `video-export-pro-chunked`, `video-sdr-to-hdr-exr` and `video-concat-encoded`. The chunked graphs use VideoHelperSuite's batch manager, which the provider tags per job. The models moved off `interpolate-rife`, `upscale-video-seedvr2`, `upscale-video-esrgan` and `video-export-pro`, which stay in the library unused, and five graphs have no catalog model on `main` yet: `image-to-splat-triposplat`, `ocr-lines-qwen35`, `reference-brief-gemma4`, `still-to-clip` and `video-append-endcard`.
+
+`validated: true` means a live ComfyUI accepted the graph through `POST /prompt`. Graphs that need no model weights also ran on a CPU ComfyUI; the heavy graphs the round-4 tools use (Wan VACE, VOID, Wan Animate 2, chunked SeedVR2, Wan 2.2 keyframe clips, the Qwen-Image-Edit re-render) have not run on a GPU.
## Training (`src/server/training.ts`)
@@ -180,12 +222,16 @@ A manual tool-use loop over Claude (adaptive thinking with `block_binding` drop-
- **Context.** Each chat's context (date, engine, approval mode, project, sources, memory, skills index, active skills) is built once and frozen in `assist_thread_state`; later changes arrive as role `system` "Context update" messages, saved only after a reply succeeds, so preserved thinking stays valid.
- **Tools** (`tools.ts`, `context-tools.ts`, `studio-tools.ts`): `search_models` (kinds image, video, audio, text, model3d), `list_elements`, `list_recent`, `check_generations` (text inline, meta, images attached), `generate` (with `after`: the call becomes one `createPipeline`; not `strict`, zod-validated), `create_storyboard` (the only `strict` tool), `list_skills`, `load_skill`, `remember` (asks first), `read_source`, the studio tools `split_layers`, `restyle_footage`, `dub_video`, `faceless_episode`, `create_ads`, `add_captions`, and `katana`. Gated calls stop the loop with an approval card priced by `previewGeneration`; `PlannedJob.atomic` marks a pipeline's steps and `planRunnable()` keeps Run off while any step has an error. `answerApproval` claims the thread before its first await.
-- **Studio tools** resolve through `STUDIO_ROUTES`, a registry a studio module can fill; while an entry is empty (all of them today) the tool builds the same job as a `createPipeline` of catalog models on either engine.
-- History is stored append-only exactly as the API returned it; local images are kept as URLs and converted to base64 per request. The same loop runs on Ollama's tool calling, or with no LLM on a rule-based planner (still → animate, N-shot films, N portraits, translations, skill hints, "remember that…").
+- **Studio tools** resolve through `STUDIO_ROUTES`, which `assist/studio-routes.ts` fills (since round 4) for `split_layers`, `restyle_footage`, `dub_video`, `faceless_episode`, `create_ads` and `add_captions`. Each adapter prices the job with the studio's own estimate and starts it through the studio's server module, so it opens as a Layers project, a Shorts session, a dub to review, a Faceless episode (in an "Assist" channel made once) or an Ads Studio batch, or in the Captions editor. A call the studio can't take runs as a `createPipeline` of catalog models in the Library, and the card, the result and the chat say why. `planFor()` returns where the job opens (`JobPlace`: studio and page), for the approval card and MCP's `estimate_job`. Genjutsu and Remove object have no Assist or MCP tool yet.
+- History is stored append-only exactly as the API returned it; local images are kept as URLs and converted to base64 per request. The same loop runs on Ollama's tool calling, or with no LLM on a rule-based planner (still → animate, N-shot films, N takes numbered on their tiles and then "animate 2" for the one picked, translations, skill hints, "remember that…").
## MCP server (`src/server/mcp.ts`, `/api/mcp`)
-Fuobe's MCP server (version 1.1.0; protocol revisions 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05) over streamable HTTP, stateless with JSON responses: `initialize`, `ping`, `tools/list`, `tools/call`, `resources/list` (empty), `prompts/list`, `prompts/get`. The tools are Assist's (shared `executeTool`) with read-only hints, plus `estimate_cost` (a generate call priced with `previewGeneration`) and `estimate_job` (a studio tool's plan). The prompts are the enabled skills. Requests from a foreign `Origin` are refused; the proxy applies the same sign-in rules as the REST API.
+Fuobe's MCP server (version 1.2.0; protocol revisions 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05) over streamable HTTP, stateless with JSON responses: `initialize`, `ping`, `tools/list`, `tools/call`, `resources/list` (empty), `prompts/list`, `prompts/get`. The tools are Assist's (shared `executeTool`) with read-only hints, plus `estimate_cost` (a generate call priced with `previewGeneration`) and `estimate_job` (a studio tool's plan, with the studio and page it opens in). A studio tool's result carries its job's `href` on this server. `mcp.ts` imports `assist/studio-routes.ts` itself, so the studio adapters are always loaded. The prompts are the enabled skills. Requests from a foreign `Origin` are refused; the proxy applies the same sign-in rules as the REST API.
+
+## Command line (`bin/`)
+
+`fuobe` (round 4) is a client of a Fuobe server, not part of it: plain Node 20+ with no dependencies, `bin/fuobe.mjs` (the `bin` entry in `package.json`) with the logic in `bin/lib/*.mjs` so tests drive it without a terminal. It finds the server and token in `--url` / `--token`, then `FUOBE_URL` / `FUOBE_TOKEN`, then the file `fuobe login` saves (`~/.config/fuobe/config.json`, written 0600; the saved token goes only to the server it was saved for). It uses the same REST API as the browser: `GET /api/models` (`src/app/api/models/route.ts` with `src/lib/model-list.ts`: what this install can run, with `runs` real / demo / refused worked out as `chooseRoute` would, and the studios' default picks), `POST /api/generations` and its `?preview=1` (model, operation, jobs, outputs and cost, nothing created), `POST /api/uploads`, `GET /api/generations[/<id>]`, the Assist skills routes, and `POST /api/mcp` for the studio tools (`fuobe tool`). Skills follow the Agent Skills format, so other agents can install them (`.agents/skills/fuobe` teaches one to drive Fuobe through MCP or the CLI). Commands, options and exit codes: [`docs/cli.md`](cli.md).
## Storage (`src/server/db.ts`, `storage.ts`, `settings.ts`)
@@ -209,18 +255,23 @@ SQLite (WAL). Migrations are an append-only list in `db.ts`, applied once each a
| 13 | `faceless_channels`, `faceless_episodes` |
| 14 | `dub_sessions`, `katana_jobs` |
| 15 | `skills`, `skill_toggles`, `assist_projects`, `assist_project_sources`, `assist_memory`, `assist_thread_state` |
+| 16 | Library: `folders.parent_id`, `folders.pinned_at`, `generations.pinned_at`, `generations.review` (nested folders, pins, review status) |
-Settings (`src/server/settings.ts`) are typed and validated against allowed values; environment variables give the defaults, and a value saved in Settings wins over them (the password is the exception: `FUOBE_PASSWORD` can't be changed from Settings). Secrets are masked before reaching the browser. `engineMode` is enforced server-side; the client reads it from `/api/status`. Files live in `data/files/{uploads,outputs}/<date>/<id>.<ext>` (content types include .txt / .srt / .vtt / .json / .glb / .aac) and are served by `/api/files/...` with HTTP range support. `FUOBE_DATA_DIR` moves everything.
+Settings (`src/server/settings.ts`) are typed and validated against allowed values; environment variables give the defaults, and a value saved in Settings wins over them (the password is the exception: `FUOBE_PASSWORD` can't be changed from Settings). Secrets are masked before reaching the browser. `engineMode` is enforced server-side; the client reads it from `/api/status`. Round 4 adds `comfyIsolatedUrl` (`COMFYUI_ISOLATED_URL`, the isolated ComfyUI worker) and `onboarded` (key `onboarding.done`, no environment variable): `GET /api/status` sets it the first time something the engine mode generates with is connected, and putting the Get started guide away sets it too. `/api/status` also returns it, and ComfyUI's RAM as `providers.comfyui.ramBytes`. `withCandidates()` runs code as if typed values were saved (connection tests; see Security). Files live in `data/files/{uploads,outputs}/<date>/<id>.<ext>` (content types include .txt / .srt / .vtt / .json / .glb / .aac, and since round 4 .ply / .spz splats, .mkv, .exr and .zip) and are served by `/api/files/...` with HTTP range support. `<data dir>/tmp` is a scratch folder on the same file system (`scratchDir()` in `storage.ts`), never served: EXR zips and downloaded result files are written there, then moved into `files/outputs` by `adoptFile`; a partial file is removed on failure. `FUOBE_DATA_DIR` moves everything.
## UI (`src/components/`, `src/app/(studio)/`)
-Liner-inspired shell (pale frame, rounded inset sheet, 13px sidebar rows, serif headlines, pill composer). The sidebar (`app-sidebar.tsx`) remembers its rail and groups without making the layout dynamic (`SIDEBAR_STATE_SCRIPT` in `src/lib/nav.ts` runs before paint). Branded not-found and error pages, and `loading.tsx` skeletons on studio and gallery routes.
+Liner-inspired shell (pale frame, rounded inset sheet, 13px sidebar rows, serif headlines, pill composer). The sidebar (`app-sidebar.tsx`, rows in `nav-items.ts`) remembers its rail and groups without making the layout dynamic (`SIDEBAR_STATE_SCRIPT` in `src/lib/nav.ts` runs before paint); since round 4 its Studios and Engine groups start folded (`DEFAULT_NAV_CLOSED`) and a remembered choice wins. Branded not-found and error pages, and `loading.tsx` skeletons on studio and gallery routes (`skeletons.tsx`; `/marketing` has its own).
-- **Studio pages** render `<Studio config>` (`src/components/studio/studio.tsx`), a server component that passes `studioCatalog(config)` from `src/lib/studio-catalog.ts`: the studio's models without provider field maps. Inside, `CatalogProvider` / `useCatalog()` resolve models; `loadFullCatalog()` imports `@/lib/catalog` lazily for motions, effects, `?preset=` and unknown ids. Client components under `studio/` must not import `@/lib/catalog` or `@/lib/studios`. `StudioPage` renders the same tree in the static shell and after hydration; hand-off params merge into the draft with `mergeHandoff`. `StudioConfig` (`studio-context.tsx`) gained `pickerOps`, `anyOf`, `signature` and `extraModels`.
-- **Hubs** (Audio, Video tools, Upscale) have one prerendered path per mode (`src/lib/hubs.ts`, `ModeSwitchStudio` in `mode-switch-studio.tsx`, `[mode]/page.tsx`); old `?mode=` links redirect in `next.config.ts`.
-- **Composer** pieces: pure logic in `src/lib/composer.ts` (summary, blockers, `onImageChange`, `fitAttachments`, `firstMissingSlot`), `attachments.ts` (`useAttach`, `useUploadReaper`), `settings-panel.tsx`, `model-picker.tsx` (cmdk), `attach-menu.tsx`, `preset-chips.tsx` (lazy), `radio-keys.ts`.
+- **Shell (round 4).** "Skip to content" is the first Tab stop, the sidebar is a `<nav aria-label="Main">`, and each page has one `<main>`. Full-screen studios (`fullScreenStudio()` in `nav.ts`: a Cinema, Canvas or Layers project, and every Assist page) fold the sidebar to its icon rail without touching the remembered choice: only `SidebarShell` writes the sidebar cookie, and only when that choice changes (`persistOpen` on `SidebarProvider`). Phones get a header with the menu and Search on gallery and settings pages (`phone-bar.tsx`). `intent-link.tsx` prefetches a link on hover or focus instead of when it appears on screen (rows marked `eager` still prefetch on view). Shortcut labels show ⌘ on Apple devices and Ctrl elsewhere (`src/lib/keys.ts`). Every Copy button goes through `copyText` (`src/lib/clipboard.ts`), so copying works on plain-http LAN addresses.
+- **Command palette** (`command-palette.tsx`, ⌘K / Ctrl+K, also the sidebar's Search row and the phone header's Search): pages, Settings sections, apps, camera motions, effects, models (filtered by engine mode) and recent creations, ranked with typo tolerance in `src/lib/command-search.ts`. The catalog part is `GET /api/search-index`, a static, prerendered slim index built by `paletteIndex()` in `src/lib/palette-index.ts` and fetched the first time the palette opens. `modelHref()` opens a model where it runs (a studio with `?model=`, a Video tools mode, Image to 3D, an app, Layers, Captions / Trim / Translate), else the Models page filtered by `?q=`; the round-4 tools (Remove object, Genjutsu, FPS Boost, SDR to HDR, Export, the 3D scene) aren't in its lists yet, so their models open the Models page. It replaces `global-shortcuts.tsx` (⌘K used to go Home).
+- **Getting started and connections.** `get-started.tsx` is the first-run guide under Home's composer and at the top of Settings (Use paid models, Use your GPU, Just try it), shown until `onboarded` is set (`showFirstRun`, `FIRST_RUN_SCRIPT` in `src/lib/connections.ts`). Every connection field in Settings is a `ConnectField` (`connect-field.tsx`): Save & test sends the typed value to `POST /api/providers/test` (`{provider, value | values, field}`; the old `{provider}` body still works) and saves it only when the test passes, with a "Save anyway" link. `settings-form.tsx` has a status strip with one chip per connection (`connectionSummary`). `/settings/about` (`licences-view.tsx`, `src/lib/licences.ts`) lists each open model's licence from the catalog and the workflow manifest, read at build time.
+- **Studio pages** render `<Studio config>` (`src/components/studio/studio.tsx`), a server component that passes `studioCatalog(config)` from `src/lib/studio-catalog.ts`: the studio's models without provider field maps. Inside, `CatalogProvider` / `useCatalog()` resolve models; `loadFullCatalog()` imports `@/lib/catalog` lazily for motions, effects, `?preset=` and unknown ids. Client components under `studio/` must not import `@/lib/catalog` or `@/lib/studios`. `StudioPage` renders the same tree in the static shell and after hydration; hand-off params merge into the draft with `mergeHandoff`. `StudioConfig` (`studio-context.tsx`) gained `pickerOps`, `anyOf`, `signature` and `extraModels`, and in round 4 `frames` (Frames mode), `comfyOnly` (a tool that runs only on ComfyUI, with a note and an alternative) and `related` (a link under the hero). `HandoffSync` in `studio-page.tsx` also runs Home's Start: Home issues a one-time token (`issueStartToken` in `src/lib/composer.ts`, kept in sessionStorage) and opens the studio with `?prompt=…&go=<token>`; the studio submits once if `claimStartToken` accepts it, so a link from elsewhere can't start a run. A `?model=` that names the other engine's model switches the remembered engine. The line under Home's composer prices what Start will run from the catalog (`startQuotes` in `src/lib/starter-prices.ts`, worded by `startLine` in `src/lib/connections.ts`).
+- **Hubs** (Audio, Video tools, Upscale) have one prerendered path per mode (`src/lib/hubs.ts`, `ModeSwitchStudio` in `mode-switch-studio.tsx`, `[mode]/page.tsx`); old `?mode=` links redirect in `next.config.ts`, and an unknown mode is a real 404. Round 4 adds `/upscale/fps`, `/upscale/hdr`, `/upscale/export`, `/audio/transcribe`, `/audio/loop`, `/audio/join` and `/video-tools/remove-object`.
+- **Composer** pieces: pure logic in `src/lib/composer.ts` (summary, blockers, `onImageChange`, `fitAttachments`, `firstMissingSlot`; since round 4 `blockerLine` for the phone's blocked-Generate line, `framesRequest` and the Frames strip helpers, the start token), `attachments.ts` (`useAttach`, `useUploadReaper`), `settings-panel.tsx`, `model-picker.tsx` (cmdk), `attach-menu.tsx`, `preset-chips.tsx` (lazy), `radio-keys.ts`, `frames-strip.tsx`. Video finishing reads the attached clip's facts from `POST /api/media/probe` for its "24 → 60 fps · 5 s → 10 s" line and its prices.
+- **Feed and results**: running tiles show elapsed time and, once progress has moved, time left (`use-now.ts`; `notePace` / `timeLeft` in `src/lib/format.ts`); the newest single result offers next steps (`nextSteps` in `output-actions.ts`); video tiles get a poster (`videoPoster`); ProRes, FFV1 and clips the browser can't decode show as a file card (`VideoFileCard` in `result-media.tsx`).
- **Galleries** get slim cards (`src/lib/preset-cards.ts`) with procedural previews (`preset-preview.tsx`, `move-glyphs.ts`, `preview-playback.ts`).
-- Stand-alone views: color grading (`color-grade-view.tsx`, `src/lib/grade.ts`), storyboard, elements + train dialog, library (`library-view.tsx` + `components/library/*`), Assist, and the studios above.
+- Stand-alone views: color grading (`color-grade-view.tsx`, `src/lib/grade.ts`), storyboard, elements + train dialog, library (`library-view.tsx` + `components/library/*`), Assist, About & licences, and the studios above.
## Generators (`scripts/`)
diff --git a/docs/STATUS.md b/docs/STATUS.md
index 83377bc3..e74853e3 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -1,6 +1,6 @@
# Fuobe — project status
-_Last updated: 2026-10-21 (round 3). The research behind this is in [`docs/research/`](research/README.md); the Higgsfield inventory it is measured against is [`higgsfield-inventory.md`](research/higgsfield-inventory.md), deepened for round 3 by [`higgsfield-studios.md`](research/higgsfield-studios.md), [`higgsfield-image-studios.md`](research/higgsfield-image-studios.md) and [`higgsfield-marketing-agents.md`](research/higgsfield-marketing-agents.md)._
+_Last updated: 2026-10-25 (round 4, part 1). The research behind this is in [`docs/research/`](research/README.md); the Higgsfield inventory it is measured against is [`higgsfield-inventory.md`](research/higgsfield-inventory.md), deepened for round 3 by [`higgsfield-studios.md`](research/higgsfield-studios.md), [`higgsfield-image-studios.md`](research/higgsfield-image-studios.md) and [`higgsfield-marketing-agents.md`](research/higgsfield-marketing-agents.md), and brought up to date for round 4 by [`higgsfield-delta-4.md`](research/higgsfield-delta-4.md), with [`paid-model-apis-4.md`](research/paid-model-apis-4.md), [`comfyui-oss-4.md`](research/comfyui-oss-4.md) and the UX and speed audit [`ux-audit-4.md`](research/ux-audit-4.md). The plan for Fuobe Originals (open-weight versions of Higgsfield's own products) is in [`higgsfield-originals-5.md`](research/higgsfield-originals-5.md) and [`fuobe-originals-recipes-5.md`](research/fuobe-originals-recipes-5.md)._
**Legend**
@@ -11,32 +11,35 @@ _Last updated: 2026-10-21 (round 3). The research behind this is in [`docs/resea
| 🟡 | **Partial**: works, but approximates Higgsfield or misses part of the feature |
| ⬜ | **Not started** |
-**What "verified" can't cover on this machine:** there are no paid API keys and no GPU here. Every cloud model call and every open-source model output is therefore 🟢 at best: request shapes come from the providers' own schemas, and every ComfyUI graph is accepted by a real ComfyUI. The real outputs come from the tools that need no model weights, which ran on a CPU ComfyUI here: joining clips, palette match, trim, cutting a segment, adding a soundtrack (one track, or a voice over a background bed), caption burn-in, the dub voice timeline, joins that keep a clip's sound, extract frame and VHS meta-batch passes. App features that need no model (the library, live updates, sign-in, the Layers editor, browser color grading) are verified in the browser.
+**What "verified" can't cover on this machine:** there are no paid API keys and no GPU here. Every cloud model call and every open-source model output is therefore 🟢 at best: request shapes come from the providers' own schemas, and every ComfyUI graph is accepted by a real ComfyUI. The real outputs come from the tools that need no model weights, which ran on a CPU ComfyUI here: joining clips (also the packet-copy join), palette match, trim, cutting a segment, adding a soundtrack (one track, or a voice over a background bed), caption burn-in, the dub voice timeline, joins that keep a clip's sound, extract frame, VHS meta-batch passes, Ken Burns moves, music loops and audio joins with crossfades, VTracer vectorizing, SDR to HDR (HDR10 and EXR frames), pro export (ProRes, H.265 10-bit, FFV1, EXR), and the window, sound and work-size parts of the object-removal graphs. Three model steps also ran on CPU: MoGe 2's 3D scene with its real weights, and FPS Boost (RIFE) and Real-ESRGAN in passes with random-weight stand-ins, so their output quality wasn't judged. App features that need no model (the library, live updates, notifications, sign-in, the Layers editor, browser color grading, the ⌘K palette) are verified in the browser.
## 1. What has been verified
-Browser e2e on the merged build (production build, demo mode, commit 6b10887): ✅ all seven scripts in `tests/e2e/` pass — `no-horizontal-scroll.mjs` (all 80 routes fit 390 px, light and dark), `shell.mjs`, `layers.mjs`, `canvas-smoke.mjs`, `cinema-shortcuts.mjs`, `composer-flows.mjs` (30 checks: first paint of hub modes, typing before hydration, paste attaches once, cancelled uploads stay removed, drop rules, the phone toolbar on 23 studios) and `assist-flows.mjs` (skills upload, mode picker, phone sheet).
-
-Checks on the merged branch `claude/fuobe-parity-3` (commit c522288):
+Checks on `main` at a15a060 (round 4, part 1: PR #7 merged). They ran on the PR branch at 987a1f3 merged with the `main` of the time (9fd8154), so what was tested is what landed. The one later commit, d8faa2f, only fixes the clipboard browser check, which was run again afterwards.
| check | result |
|---|---|
-| `pnpm typecheck`, `pnpm lint` | clean. Lint has 0 errors and one old warning (unused `WAN_NEG_EN` in `scripts/comfy/library.spec.mjs`) |
-| `pnpm test` (Vitest, 79 files, 1128 tests) | pass. New this round: pipelines and chain slots (stems, `audio2`, `audios`, `prompt`), the LLM provider (cue translation in batches, Ollama fallback), runner timeouts and restarts, structured outputs (text with cues, 3D, layers, stems), payload mapping for the new FieldMap keys (palettes, try-on, reference clips, compose tracks), the Library (Trash, folders, bulk, zip read back by Python's `zipfile`, cursor paging), the live stream reducers, security (cross-site, host allowlist, remote-fetch SSRF guard, login throttle, safe redirect), every new studio's planner and API (Cinema, Canvas, Layers, Shorts, Mixed Media, image studios, marketing, Faceless/Explainer, dub, Katana, captions, 3D, Virality), ComfyUI bindings of every new workflow through `prepareWorkflow`, Assist skills/projects/memory/modes, the streamed Claude request (against an SSE fake), and MCP 1.1.0 |
+| `pnpm typecheck`, `pnpm lint` | clean. Lint has 0 errors and one old warning (unused `WAN_NEG_EN` in `scripts/comfy/library.spec.mjs`). In a checkout without `.next`, run `pnpm exec next typegen` (or a dev or build run) before `pnpm typecheck` |
+| `pnpm test` (Vitest, 116 files, 1,813 tests) | pass. New in round 4: Remove object (planner, estimates, ComfyUI bindings on the real graphs, demo runs end to end), Genjutsu (plans per mode and engine, prices and key mixes, bindings), video finishing (the fps table, upscale tiers, formats, prices by clip length, cloud payloads, bindings, cancel), Frames (with a seeded property test over 4,000 films), 3D scenes (lens, frame, Spectral depth decode, pose), Faceless+ (Ken Burns moves, music loops, the crossfade curve, which steps a change redoes), Audio Loop and Join, the ⌘K palette, Save & test, Home's one-time Start token, the licence list, the `fuobe` CLI (run as a child process against a stand-in server), `GET /api/models` and `?preview=1`, the Library (nested folders, pins, review status, where a file is used), notifications, the isolated worker, Explainer documents, the cloud dub mix and the Assist / MCP studio routes |
| `pnpm build` | passes |
-| ComfyUI workflow library | ✅ 115/115 workflows accepted by `POST /prompt` with no `node_errors` against a live CPU ComfyUI v0.41 with zero-byte placeholder weights. This checks graph structure, input names, types and file references, **not output quality**. `lipsync-latentsync16` and `sfx-thinksound` were validated on a separate isolated worker (port 8189) |
-| Real CPU runs through the production build (`tests/e2e/comfyui-selftest.mjs`) | ✅ uploads → `POST /api/generations` → ComfyUI → stored output, each checked with ffprobe: add a soundtrack (one track, and voice over a background bed), trim, cut a resampled segment, caption burn-in and a 3-pass VHS meta-batch, including 20 s 640x360 30 fps clips. Captions are drawn on their cues and absent in the gaps |
-| Other real CPU runs this round (package branches) | ✅ Dub voice timeline: three tones placed at 1 / 4.5 / 9 s on a 12 s track (ffprobe 12.0 s, silencedetect found them at 1.00, 4.50 and 9.00 s). Joins that keep a clip's sound: `sound2-3` gave 8.92 s, 223 frames at 25 fps, silent until 2.96 s and then the voiced clip's tone; `sound1-2` 5.96 s with sound from 0. Extract frame: the first frame, the frame at 0.5 s and the last frame of a fixture clip. Memory: soundtrack mux of 600 frames +0.01 GB RSS (the picture is stream-copied, bit-identical); chunked caption burn-in under RAM pressure +0.50 GB for 20 s and +0.45 GB for 40 s (the old one-batch graph: +5.16 GB) |
-| Live updates | ✅ in dev and production: a 3.5 s demo image shows 3.8 s after the POST (was 4.6–5.2 s with polling). One stream per browser, shared by tabs (Web Locks + BroadcastChannel) |
-| Runner and security fixes | ✅ each with a regression test: provider timeouts (45 min running, 4 h queued) with poll-before-timeout, cancel during submit, boot-time runner, interrupted-submit sweep, demo/real mix refused, cross-site writes refused, Host allowlist on password-less installs, SSRF-safe remote fetch, login throttle, safe `?next=` redirect, matcher keeping only root SVGs public. The sign-in proxy's body limit is raised to 210 MB so 200 MB uploads pass; that is a config setting with no test (a 15 MB upload was checked live) |
-| Demo-mode browser passes (each package branch, before the merge; headless Chromium, 1440 and 390 px, light and dark) | ✅ Layers: `tests/e2e/layers.mjs` (5 checks) plus scratch flows (Angles, Edit text, geometry, full-detail export, Compare after Expand, failures). Shorts + Mixed Media: 40 checks (one session per double-click, crop note, take picker keys, retry). Image studios: Photodump retry inside its batch, Fashion retry, signature routing and Reuse, `?create=1`, Save as character once. Marketing: Click to Ad kit progress and brand kit, @mentions, grid order, baked formats, auto-composited open posters. Faceless: channel in 678 ms, topics, script review autosave, render to the end, timeline change + Undo, delete stops 8 steps, Explainer 30 s render. av-tools: 112 page loads (14 pages × both engines × 2 widths × 2 themes), dub review flush, Katana cuts, captions per burner. Assist: 51 checks plus `tests/e2e/assist-flows.mjs` 6/6. Canvas: `tests/e2e/canvas-smoke.mjs` incl. 60 nodes at 19 ms keystroke → paint. Cinema: `tests/e2e/cinema-shortcuts.mjs`. Composer: `tests/e2e/composer-flows.mjs`. Shell: `tests/e2e/shell.mjs`. Phone layout: `tests/e2e/no-horizontal-scroll.mjs` fit 55 routes in light and dark |
-| LLM text steps (translate, write) | 🟢 tested against a stand-in Ollama server and a stubbed Claude API. No live Claude or Ollama run |
-| Assist on Claude | 🟢 the streamed request (adaptive thinking, betas, cached system blocks, max_tokens per effort) is built through the SDK against an SSE fake. **No live Claude call yet**: needs an Anthropic key |
+| ComfyUI workflow library | ✅ 135 of 139 workflows accepted by `POST /prompt` with no `node_errors` against a live CPU ComfyUI 0.41 with zero-byte placeholder weights. This checks graph structure, input names, types and file references, **not output quality**. The other four need node packs that server doesn't have: `lipsync-latentsync16` and `sfx-thinksound` (validated on a separate isolated worker in round 3), `captions-whisper-burnin` (`NC_PACKS=1`) and `image-vectorize-vtracer` (ComfyUI-ToSVG; validated and run on a CPU ComfyUI with the pack in PR #6). None of their graphs changed in PR #7 (the VTracer entry only lists its ComfyUI-ToSVG pack again) |
+| Browser checks (Playwright against the production server, demo mode) | ✅ `shell.mjs`, `no-horizontal-scroll.mjs` (every route at 390 px, light and dark), `composer-flows.mjs`, `library-flows.mjs`, `cinema-shortcuts.mjs`, `notifications.mjs`, `assist-flows.mjs`, `canvas-smoke.mjs` and `clipboard.mjs` (after d8faa2f: the check looked for the old `h3` result title). `cinema-scene.mjs` and `layers.mjs` pass in demo mode while ComfyUI is unreachable. With this machine's ComfyUI reachable they fail, and neither is an app bug: demo stills are SVG placeholders ComfyUI can't read, and the Layers step needs the Qwen-Image-Layered weights (the app names the missing files) |
+| Real CPU runs through the production build (`tests/e2e/comfyui-selftest.mjs`) | ✅ passes again on this state of `main`. As in round 3: uploads → `POST /api/generations` → ComfyUI → stored output, each checked with ffprobe: add a soundtrack (one track, and voice over a background bed), trim, cut a resampled segment, caption burn-in and a 3-pass VHS meta-batch, including 20 s 640x360 30 fps clips. Captions are drawn on their cues and absent in the gaps |
+| Real CPU runs in round 4, part 1 (package branches) | ✅ Faceless+ through Fuobe's API (`tests/e2e/comfyui-faceless-plus.mjs`): an eased Ken Burns push-in at 854x480 (48 frames); a move split into two linear pieces that stays smooth across the seam; a three-clip packet-copy join in 2.2 s with ComfyUI RSS +0.00 GB; a 6 s bed looped to 20 s with 1 s crossfades (a 20.000 s FLAC); 4 + 3 + 5 s joined with 0.5 s crossfades (11.000 s, in order). MoGe 2 with its real weights: a 960x720 still became a 3D mesh and a depth map in about 100 s. Frames: a join of 41-, 25- and 21-frame 16 fps clips gave 87 frames, 5.4375 s. Remove object's model-free parts: the painted mask handed from one window to the next lands on the right frame, and windows are cut frame-exact at 29.97 fps (81, 81, 77) and 24 fps (197). Video finishing: RIFE with random-weight stand-ins (quality not judged) 24 → 60 fps (121 frames), 25 → 30 at 2× slow motion and 30 → 24; with no model needed, ProRes, H.265 Main 10, FFV1, PQ and EXR zips; Real-ESRGAN in passes, also with a stand-in, on 30 s 256x144 → 1080p: 750 frames in 47 passes, 0.87 GB above idle (the old whole-clip graph already held 3.0 GB for 10 s of the same clip at only 1024x576); a ProRes 4444 export cancelled in pass 4 ran nothing afterwards |
+| PR #6 (round 4 research, engine seams, catalog, workflows, Library, CLI) | ✅ the 17 round-4 workflows (132 in the library then) accepted by the live server, and the eight model-free ones run on CPU and checked with ffprobe; the VACE / VOID window, sound and work-size nodes ran on CPU (frame counts, sound lengths, a silent clip, a window at 50 s of a 60 s clip); `image-vectorize-vtracer` validated and run on a CPU ComfyUI. Browser: `library-flows.mjs` 35/35 in demo mode, `notifications.mjs`, `clipboard.mjs`, and Assist's "Open in Captions" hand-off on a production build. The 20 skill playbooks and the agent skill (21 SKILL.md files) pass the Agent Skills reference validator (`skills-ref`), and the skills CLI lists and installs them |
+| Demo-mode browser passes (round 4, part 1: each package branch, before the merge; headless Chromium, 1440 and 390 px, light and dark) | ✅ Remove object: the whole flow on both engines, plus the Remove background and Depth map panels. Genjutsu: all four modes on both engines, references, the look grid, Copy / Paste setup, hand-offs, the missing-key blockers. Video finishing: the five Upscale tabs, the format picker, the no-ComfyUI note and its cloud link, the greyed "already 1080p". Frames: the strip, keys and drag, the model notes and switches, 10 frames on a phone. 3D scenes: `cinema-scene.mjs`. Faceless+: the wizard rendered to the end on both engines, the episode page, Audio Loop and Join. Onboarding: a cross-site link with a `go` token, and a guessed token, made no generation, Home's Start made exactly one, and a live ComfyUI connected through the guide. Shell: axe clean on five pages; on a cold visit (mean of 23 routes), JS fetched after load 525 → 189 KB and RSC requests 38.3 → 11. Flows: axe 0 violations on seven pages; layout shift on a phone in Assist 0.126 → 0.000 and in the Library 0.482 → 0.001, and on desktop in Cinema 0.048 → 0.000 |
+| Other real CPU runs (round 3, package branches) | ✅ Dub voice timeline: three tones placed at 1 / 4.5 / 9 s on a 12 s track (ffprobe 12.0 s, silencedetect found them at 1.00, 4.50 and 9.00 s). Joins that keep a clip's sound: `sound2-3` gave 8.92 s, 223 frames at 25 fps, silent until 2.96 s and then the voiced clip's tone; `sound1-2` 5.96 s with sound from 0. Extract frame: the first frame, the frame at 0.5 s and the last frame of a fixture clip. Memory: soundtrack mux of 600 frames +0.01 GB RSS (the picture is stream-copied, bit-identical); chunked caption burn-in under RAM pressure +0.50 GB for 20 s and +0.45 GB for 40 s (the old one-batch graph: +5.16 GB) |
+| Live updates (round 3) | ✅ in dev and production: a 3.5 s demo image shows 3.8 s after the POST (was 4.6–5.2 s with polling). One stream per browser, shared by tabs (Web Locks + BroadcastChannel) |
+| Runner and security fixes (round 3) | ✅ each with a regression test: provider timeouts (45 min running, 4 h queued) with poll-before-timeout, cancel during submit, boot-time runner, interrupted-submit sweep, demo/real mix refused, cross-site writes refused, Host allowlist on password-less installs, SSRF-safe remote fetch, login throttle, safe `?next=` redirect, matcher keeping only root SVGs public. The sign-in proxy's body limit is raised to 210 MB so 200 MB uploads pass; that is a config setting with no test (a 15 MB upload was checked live) |
+| Demo-mode browser passes (round 3: each package branch, before the merge; headless Chromium, 1440 and 390 px, light and dark) | ✅ Layers: `tests/e2e/layers.mjs` (5 checks) plus scratch flows (Angles, Edit text, geometry, full-detail export, Compare after Expand, failures). Shorts + Mixed Media: 40 checks (one session per double-click, crop note, take picker keys, retry). Image studios: Photodump retry inside its batch, Fashion retry, signature routing and Reuse, `?create=1`, Save as character once. Marketing: Click to Ad kit progress and brand kit, @mentions, grid order, baked formats, auto-composited open posters. Faceless: channel in 678 ms, topics, script review autosave, render to the end, timeline change + Undo, delete stops 8 steps, Explainer 30 s render. av-tools: 112 page loads (14 pages × both engines × 2 widths × 2 themes), dub review flush, Katana cuts, captions per burner. Assist: 51 checks plus `tests/e2e/assist-flows.mjs` 6/6. Canvas: `tests/e2e/canvas-smoke.mjs` incl. 60 nodes at 19 ms keystroke → paint. Cinema: `tests/e2e/cinema-shortcuts.mjs`. Composer: `tests/e2e/composer-flows.mjs`. Shell: `tests/e2e/shell.mjs`. Phone layout: `tests/e2e/no-horizontal-scroll.mjs` fit 55 routes in light and dark |
+| LLM text steps (translate, write) | 🟢 tested against a stand-in Ollama server, a stubbed Claude API and, for open translation without Ollama, a stand-in ComfyUI answering for Qwen3.5 4B. No live Claude, Ollama or Qwen3.5 run |
+| Assist on Claude | 🟢 the streamed request (adaptive thinking, betas, cached system blocks, max_tokens per effort) is built through the SDK against an SSE fake. **No live Claude call yet**: needs an Anthropic key (a rejected key did reach Anthropic's API through Settings → Save & test) |
| Assist on Ollama | 🟢 tested against a fake Ollama server (round 2). Model downloads aren't reachable from this environment |
-| Cloud providers (fal / Replicate / Higgsfield) | 🟢 156 fal / Replicate / Higgsfield models (157 cloud models with the Claude text model, plus 10 hidden helpers used by chains) built from the providers' schemas; structured outputs tested on stubbed responses. **No live paid run yet** |
-| MCP server | ✅ 1.1.0 tools and prompts by unit tests; the round-2 run with the official MCP Inspector CLI (initialize, tools/list, estimate_cost, generate, check_generations) still applies |
-| AI-Toolkit training | 🟢 the job flow ran end to end against a fake AI-Toolkit job API (round 2); the new style-LoRA preset (moodboards) by unit tests. No real training run: it needs a GPU |
-| Sign-in and API tokens | ✅ curl and browser checks (round 2); the new throttle and Host checks by unit tests |
+| Cloud providers (fal / Replicate / Higgsfield) | 🟢 192 fal / Replicate / Higgsfield models (193 cloud models with the Claude text model, plus 18 hidden ones: 15 helpers used by chains and studios, and Overlay image, Extract frames and Images to video, which only the API reaches so far) built from the providers' schemas; structured outputs tested on stubbed responses. **No live paid run yet**. The fal and Higgsfield key tests now report a proxy or an outage as "Couldn't check the key", not "Key accepted" |
+| MCP server | ✅ 1.2.0 tools and prompts by unit tests; the round-2 run with the official MCP Inspector CLI (initialize, tools/list, estimate_cost, generate, check_generations) still applies |
+| `fuobe` CLI | ✅ by tests: the CLI runs as a child process against a stand-in of Fuobe's REST API (upload → generate → wait → download, the MCP bridge, skills add, login, the messages for a missing token or server); the two REST routes it added are tested on the real route handlers |
+| AI-Toolkit training | 🟢 the job flow ran end to end against a fake AI-Toolkit job API (round 2); the style-LoRA preset (moodboards) by unit tests. No real training run: it needs a GPU |
+| Sign-in and API tokens | ✅ curl and browser checks (round 2); the throttle and Host checks by unit tests |
## 2. Feature matrix vs Higgsfield
@@ -46,33 +49,34 @@ Model names are the defaults first, then the alternatives. "Demo" outputs are la
| Higgsfield feature | Fuobe | Cloud route | Open-source route | Notes |
|---|---|---|---|---|
-| Create Image (multi-model) | 🟢 | 56 image models: Nano Banana Pro / 2 / 2.1, Seedream 5.0 Pro / Lite, GPT Image 2.5 Flare / Sunburst, FLUX.3, FLUX.2 [pro], Kontext [max], Ideogram 4.5 / 3.0, Recraft V4.1 / Pro, Qwen Image 3, Wan 2.7 Image, Z-Image Turbo, Imagen 4, Grok Imagine Image 2.0 | Z-Image Turbo, Qwen-Image 2512 (+ Lightning), FLUX.2 [dev] (+ Turbo), FLUX.1 Krea / dev / schnell, HiDream, SDXL | Batch ×1–4, aspect ratios, quality tiers, seeds, negative prompts, references. The Image studio lists text-to-image models only; edit tools live in Edit |
-| Soul 2.0 / Soul Cinema / Soul v1 | 🟢 cloud · 🟡 open | Higgsfield's own API with the Soul style picker | Each preset's description as a prompt template on any open model | Needs a Higgsfield key for the real look. Soul Cinema has one fixed look and no presets, so a look is described in words there |
+| Create Image (multi-model) | 🟢 | 60 image models: Nano Banana Pro / 2 / 2.1, Seedream 5.0 Pro / Lite, GPT Image 2.5 Flare / Sunburst, FLUX.3, FLUX.2 [pro], Kontext [max], Ideogram 4.5 / 3.0, Recraft V4.1 / Pro, Qwen Image 3, Wan 2.7 Image, Z-Image Turbo, Imagen 4, Grok Imagine Image 2.0, Krea 3, Bria FIBO 2, Ideogram Vector | Z-Image Turbo, Qwen-Image 2512 (+ Lightning), FLUX.2 [dev] (+ Turbo), FLUX.1 Krea / dev / schnell, HiDream, SDXL | Batch ×1–4, aspect ratios, quality tiers, seeds, negative prompts, references. The Image studio lists text-to-image models only; edit tools live in Edit |
+| Soul 2.0 / Soul Cinema / Soul v1 | 🟢 cloud · 🟡 open | Higgsfield's own API with the Soul style picker | Each preset's description as a prompt template on any open model | Needs a Higgsfield key for the real look. Soul Cinema has one fixed look and no presets, so a look is described in words there. Fuobe Soul on open weights is planned (§4) |
| Soul presets (without a key) | 🟢 | `style_id` on the preset's own Soul model; the description in words elsewhere | The description as a prompt template | 106 Soul + 33 Soul 2.0 presets with Higgsfield's ids and categories, generated from the research (`scripts/gen-higgsfield-presets.py`, part of `pnpm gen:catalog`). Used when there is no key, the live list is empty or it fails; live previews are added when a key is set |
| Soul ID (character training) | 🟢 | Higgsfield Soul ID (Soul 2.0, Soul Cinema) → `custom_reference_id`; fal Z-Image Turbo LoRA trainer | AI-Toolkit job on your GPU → Z-Image Turbo LoRA copied into ComfyUI | Train from an element's photos. A trained element is used when @mentioned on its model |
| Moodboards | 🟢 | Recraft V4 Styles makes a style from the board's 10 most representative images; the returned `style_id` is reused by "Recraft V4 Styles · saved style". Otherwise the images go as style references on Nano Banana Pro. Curated looks: Soul 2.0 `style_id`. Also Krea 2 Style Reference, FLUX1.1 [pro] (Ultra) Redux | Qwen-Image-Edit Style Reference from 1–2 collages (default), FLUX.2 [klein] / Krea 2 / USO style reference; a Z-Image Turbo style LoRA through AI-Toolkit | `/moodboards` and a Moodboard chip in the Image studio. 5–80 images, ≥256 px, name ≤100 characters, quality meter; status follows the cover job. The `style_id` round trip is tested with a stubbed fal response only |
| Soul HEX / Color Transfer | 🟢 | Native palettes on Recraft V4.1 / Pro (≤10 colours + background) and Ideogram 3.0; the palette slug on Cinema Studio 4.0; the hex list in the prompt on every other model | Z-Image Turbo · Palette (hex prompt + ColorTransfer lock to a swatch the server renders); other open models get an optional palette-lock step (`oss-palette-image`) | Color signature chip in the Image studio: the 50 Cinema Studio palettes, Upload & Create (k-means over ≤20 photos in a Web Worker), manual editor (≤12 colours, EyeDropper, Use as background). The user's words stay the prompt; Reuse restores the picks |
| Elements (@characters, locations, props, styles, voices) | ✅ app · 🟢 outputs | Reference images with a legend; video switches to reference-to-video | Same, plus LoRA + trigger word for trained elements | `/elements`; @ menu in every composer and in shots. The mention → reference/LoRA mapping is verified; the outputs need a key or a GPU |
-| Create Video (multi-model) | 🟢 | 65 video models in all: Seedance 2.5 / 2.0, Kling 3.0 / O3 / O1 / 2.6 / 2.5, Veo 3.1 (Fast, Lite), Gemini Omni Flash 1.1, Wan 3.0 / Prime / 2.7 / 2.6 / 2.5, MiniMax H3 / H3 Max / Hailuo, FLUX.3 Video, LTX 2.5, PixVerse V6, Vidu Q3, Luma Ray 3.2, Cinema Studio 4.0, Grok Imagine Video 1.5, Happy Horse 1.1, Genjutsu | Wan 2.2 14B (+ Lightning), Wan 2.2 5B, LTX-2.5 / 2, HunyuanVideo 1.5, Wan VACE | Text, image, start + end frame, references, native audio. Reference clips (`inputs.videos` / `inputs.audios`) go to Seedance 2.5 / 2.0, Cinema Studio 4.0, Wan 3.0, MiniMax H3, and (videos only) Wan 2.7 / 2.6 and Gemini Omni; models that only read images say so |
-| Start & end frame | 🟢 | Kling, Veo, Seedance, Wan, MiniMax, PixVerse, FLUX.3 | Wan 2.2 FLF2V | |
-| Camera motions (DoP presets) | 🟢 | 108 presets on any video model | Wan 2.2 with camera LoRAs on 18 motions, 11 moves via Wan 2.2 Fun Camera, the rest prompt-only | Procedural previews show each move's parallax |
+| Create Video (multi-model) | 🟢 | 89 video models in all: Seedance 2.5 / 2.0, Kling 3.0 / O3 / O1 / 2.6 / 2.5, Veo 3.1 (Fast, Lite), Gemini Omni Flash 1.1, Wan 3.0 / Prime / 2.7 / 2.6 / 2.5, MiniMax H3 / H3 Max / Hailuo, FLUX.3 Video, FLUX 3 Max, LTX 2.5, PixVerse V6 / V6 Max, Vidu Q3, Luma Ray 3.2, Cinema Studio 4.0, Grok Imagine Video 1.5 / 1.5 Lite, Happy Horse 1.1, HeyGen Video, Creatify Boreal, P-Video 2 Pro Reference, Pixelcut Looping Video, Genjutsu | Wan 2.2 14B (+ Lightning), Wan 2.2 5B, LTX-2.5 / 2, HunyuanVideo 1.5, Wan VACE | Text, image, start + end frame, references, native audio. Reference clips (`inputs.videos` / `inputs.audios`) go to Seedance 2.5 / 2.0, Cinema Studio 4.0, Wan 3.0, MiniMax H3, and (videos only) Wan 2.7 / 2.6 and Gemini Omni; models that only read images say so |
+| Start & end frame | 🟢 | Kling, Veo, Seedance, Wan, MiniMax, PixVerse, FLUX.3, FLUX 3 Max | Wan 2.2 FLF2V | |
+| Frames (keyframes, Kling 4.0) | 🟢 | FLUX 3 Max follows every frame at its time. Start + end frame models (Kling O3, Seedance…) use the first and last, with a note and a "Use FLUX 3 Max" button | Wan 2.2 14B: one 20-step start/end-frame clip per pair of frames, joined into one film, shown as Free. On Wan 2.2 14B Lightning the strip says it is no faster here and offers plain Wan 2.2 14B | Video studio → Frames chip: up to 10 stills on a timeline; drag the markers or use the keyboard; times snap to 0.1 s, and the open engine needs gaps of at least 0.5 s. Kling 4.0 itself can't be called (fal's route is playground-only), so FLUX 3 Max stands in. The open clips are planned and bound in tests; the join ✅ on CPU |
+| Camera motions (DoP presets) | 🟢 | 108 presets on any video model | Wan 2.2 with camera LoRAs on 18 motions, 11 moves via Wan 2.2 Fun Camera, the rest prompt-only | Procedural previews show each move's parallax. Camera motion and effect presets also work with Frames |
| Mix (two motions or effects) | 🟢 | The second preset's description joins the prompt, worded by its strength | Both presets' LoRAs stacked, each scaled by its strength | |
| Effects / Visual Effects / viral presets | 🟢 | 255 effects on any video model | 35 with dedicated LoRAs, the rest prompt-only | Most open effect LoRAs target Wan 2.1 I2V; **quality needs a GPU check** |
| Multi-shot | 🟢 | Kling 3.0 / O3 native `multi_prompt`; Seedance, Wan 2.6, Cinema Studio get the shots written into the prompt | One clip per shot on the open model, then joined (the join ✅ on CPU) | Off / Auto / Custom; open models have no Auto |
| Seedance draft mode | 🟢 | Seedance 2.5 480p draft → "Render 1080p" | — | |
-| Cinema Studio 4.0 workspace | 🟢 | Cinema Studio 4.0 (Higgsfield) with native Director fields (genre, era, pacing, light, camera body, lens, aperture, move, palette). With no Higgsfield key or another model picked: Seedance 2.5, Kling 3.0 or Veo 3.1 with the panel compiled into the prompt | Wan 2.2 14B Lightning; a camera LoRA or Fun Camera when there is a start frame; palette lock chained after it (`oss-palette-video`) | `/cinema`, `/cinema/[id]`: projects with cover and cost cap, nested scenes (colour, pin, order), feed (Square / Masonry / List, filters, multi-select), prompt bar (@ elements, # 33 camera moves, references, 4–30 s, batch 1–4), Director's Panel (50 palettes + editor, 7 lighting presets + a 2-light rig, Emotion Wheel), retry as a unit, Trash with Undo, live updates |
+| Cinema Studio 4.0 workspace | 🟢 | Cinema Studio 4.0 (Higgsfield) with native Director fields (genre, era, pacing, light, camera body, lens, aperture, move, palette). With no Higgsfield key or another model picked: Seedance 2.5, Kling 3.0 or Veo 3.1 with the panel compiled into the prompt | Wan 2.2 14B Lightning; a camera LoRA or Fun Camera when there is a start frame; palette lock chained after it (`oss-palette-video`) | `/cinema`, `/cinema/[id]`: projects with cover and cost cap (a new project starts as "Untitled project"), nested scenes (colour, pin, order), feed (Square / Masonry / List, filters, multi-select), prompt bar (@ elements, # 33 camera moves, references, 4–30 s, batch 1–4; one Director chip on phones), Director's Panel (50 palettes + editor, 7 lighting presets + a 2-light rig, Emotion Wheel), retry as a unit, Trash with Undo, live updates |
| Cinema Studio Extend (forward / backward) and Edit | 🟡 | Extend: Seedance 2.5 extension. Backward ("prequel"): extract frame → edit a still → start/end-frame clip. Edit: Seedance 2.5 edit (Kling O3 without a Higgsfield key) | Extend forward with Wan 2.2 Fun VACE extend; the prequel the same way on Wan 2.2; edit with Wan 2.2 Fun VACE restyle | The prequel is a 3-step approximation. Cinema Studio 4.0 is capped at 720p on the public API |
| Cinema Studio image mode and grid | 🟢 | Camera stills (camera, lens, focal length required) on Nano Banana Pro, Seedream 5.0 Pro, Soul Cinema; grids 2×2 / 3×3 / 4×4 (freeform, zooms, shots, next / previous shots) as one sheet | Z-Image Turbo / Qwen-Image stills; Z-Image Turbo · Grid sheet | The sheet is cut into tiles in the browser and stored as uploads |
-| Cinema Studio 3D scene / recomposition | ⬜ | — | — | |
+| Cinema Studio 3D scene / recomposition | 🟢 | Scene: a Marigold V2 depth map ($0.03) drawn as a point cloud in the browser. Re-render: Nano Banana Pro with the capture and the still, or Qwen Multiple Angles with the still and the flown angles | Scene: a MoGe 2 mesh plus a depth map (runs on a CPU too). Re-render: Qwen-Image-Edit 2511 + the Multiple-Angles LoRA with the capture and the still | "Create 3D scene" on an image take asks first, with the price. Full-screen viewer (three.js, loaded when a scene opens): fly with W A S D Q E, drag, wheel or pinch, touch and a Camera sheet on phones; lens 18–300 mm, aperture f/1.4–f/16 with a depth-of-field preview, a frame in the project's aspects; Capture queues a re-rendered take from that view. MoGe 2 ✅ on CPU; Marigold and the re-renders haven't run for real. `tests/e2e/cinema-scene.mjs` |
| Cinema AI Director + Project Brief | 🟢 | Claude | Ollama, or an offline storyboard writer | Writes prompts and shot breakdowns into the prompt bar, answers craft questions; never starts a generation. The brief is prepended to every prompt |
-| Genjutsu (motion transfer, object swap, restyle) | 🟢 cloud · ⬜ open | Higgsfield Genjutsu models with their look picker | — (Motion control and Shorts restyle on Wan are the closest) | Genjutsu Restyle needs a look; the list comes live from Higgsfield |
-| Motion Control | 🟢 | Kling 3.0 Motion Control, Genjutsu Motion Transfer | Wan Animate 2, Wan 2.2 Fun Control | `/motion-control` |
-| Edit Video | 🟢 | Kling O3 / O1, Kling O3 4K Edit, Gemini Omni Flash 1.1, Seedance 2.5, Wan 2.7, Luma Ray 3.2, FLUX.3 Video, Happy Horse Video Edit, Lucy Edit Pro, Runway Aleph 2, Grok Imagine Video Edit, LTX 2.3 Reference Restyle, Genjutsu Object Swap / Restyle | Wan 2.2 Fun Control, Z-Image Mixed Media | `/video-edit`. Wan 2.2 Fun VACE restyle is a hidden model used by Shorts Studio and Cinema Studio's Edit, not offered here |
+| Genjutsu (motion transfer, object swap, restyle, insert) | 🟢 | With a Higgsfield key: Genjutsu Lite (Quality: Standard, about a sixth of the price, ≤15 s) or full Genjutsu (High, ≤30 s); Restyle on Higgsfield's looks. Without one: Kling 3.0 Motion Control, Kling O3 edit, hosted Wan VACE, P-Video Replace (people); Restyle on 44 Fuobe looks or your own images | Motion: Wan Animate 2. Swap by name: Wan 2.1 VACE + SAM 3.1. Insert by paint: Wan 2.1 VACE. Restyle: Wan 2.2 Fun VACE, 480p at 16 fps | `/genjutsu`: trim 4–30 s, up to 10 references; Object swap by typing, clicking or painting on the first frame, Insert by saying where or painting the spot; price and notes before running, a run never mixes paid and demo steps, before/after, Run again, Copy / Paste setup as a link; "Use in Genjutsu" and "Animate with Genjutsu" on results. On the open engine, swap is by name only and insert by painting; clicking or painting a swap, and saying where to insert, are cloud only |
+| Motion Control | 🟢 | Kling 3.0 Motion Control, Genjutsu Motion Transfer (full and Lite) | Wan Animate 2, Wan 2.2 Fun Control | `/motion-control`; links to Genjutsu for up to 30 s and 8 character images |
+| Edit Video | 🟢 | Kling O3 / O1, Kling O3 4K Edit, Gemini Omni Flash 1.1, Seedance 2.5, Wan 2.7, Luma Ray 3.2, FLUX.3 Video, Happy Horse Video Edit, Lucy Edit Pro, Runway Aleph 2, Grok Imagine Video Edit, LTX 2.3 Reference Restyle, Genjutsu Object Swap / Restyle | Wan 2.2 Fun Control, Z-Image Mixed Media | `/video-edit`, with a link to Genjutsu for swaps and restyles. Wan 2.2 Fun VACE restyle is a hidden model used by Shorts Studio, Genjutsu and Cinema Studio's Edit, not offered here |
| Extend video | 🟢 | Seedance 2.5, MiniMax H3 Max, PixVerse V6, FLUX.3, Veo 3.1; Kling via last frame → image-to-video → join | Wan 2.2 Fun VACE extend; the last frame comes from the open Extract frame workflow (✅ on CPU) | `/extend`, "Extend" tile action |
-| Reframe video | 🟢 | Luma Ray 3.2, LTX Reframe, hosted Wan VACE | Wan 2.2 Fun VACE reframe | `/reframe` |
+| Reframe video | 🟢 | Luma Ray 3.2, LTX Reframe, hosted Wan VACE, MiniMax H3 Max Reframe | Wan 2.2 Fun VACE reframe | `/reframe` |
| Draw to Video | 🟢 | Annotated first frame + instructions on any image-to-video model | Wan-Move: brush strokes become motion paths | Paint tools in the Video studio |
| Shorts Studio | 🟢 | Gemini Omni Flash (default), Kling O3 4K Edit and Happy Horse Video Edit (both read references), Lucy Edit Pro, Runway Aleph 2, LTX 2.3 Reference Restyle, Wan 2.7. Per segment: trim → centre-crop to 9:16 / 16:9 when needed (fal `scale-video`) → restyle; joined, then the original sound muxed back | Cut a resampled segment (≤81 frames at 16 fps) → restyle its first frame with Qwen-Image-Edit 2511 → Wan 2.2 Fun VACE restyle with depth → join → mux | `/shorts`, `/shorts/[id]`: 44 presets plus custom presets from ≤10 references; MP4 / MOV (WebM headers are read too), 4 s–2 min, ≤200 MB; segments with takes, Regenerate, Stitch again, Download full video or parts; prices per resolution. Cutting, joining and muxing ✅ on CPU; the restyle needs a GPU or a key |
-| Mixed Media | 🟡 cloud · 🟢 open | Trim → LTX 2.3 Reference Restyle anchored on a Nano Banana 2 preview still → original sound | Z-Image Turbo img2img + Fun Union ControlNet per frame at 4–24 fps (VHS meta-batch) | `/mixed-media`: 33 presets with per-preset settings, preview frame, History with Try again. The cloud route is a video-to-video restyle, not Higgsfield's per-frame stylization. Meta-batch passes ✅ on CPU (self-test graph) |
+| Mixed Media | 🟡 cloud · 🟢 open | Trim → LTX 2.3 Reference Restyle anchored on a Nano Banana 2 preview still → original sound | Z-Image Turbo img2img + Fun Union ControlNet per frame at 4–24 fps (VHS meta-batch) | `/mixed-media`: 33 presets with per-preset settings, preview frame, History with Try again. The cloud route is a video-to-video restyle, not Higgsfield's per-frame stylization (a per-frame cloud route is on an unmerged branch, §4). Meta-batch passes ✅ on CPU (self-test graph) |
| Storyboards (Popcorn) | 🟢 | Nano Banana Pro, each frame made from the previous one | Z-Image / Qwen-Image-Edit, then Qwen-Image-Edit + next-scene LoRA | `/storyboard`: up to 8 frames; the board is named after the idea |
| Storyboard → film | 🟢 | Seedance 2.5 start + end frame per pair, clips joined | Wan 2.2 Lightning start/end frame, joined on ComfyUI | "Make the film" once every frame is done |
@@ -80,20 +84,25 @@ Model names are the defaults first, then the alternatives. "Demo" outputs are la
| Higgsfield feature | Fuobe | Cloud route | Open-source route | Notes |
|---|---|---|---|---|
-| Edit image (instruction edit) | 🟢 | Any edit model (Nano Banana Pro, Seedream 5.0, GPT Image 2.5, FLUX.2 / Kontext, Qwen Image 3…): the image plus up to 6 references, within each model's own limit | Qwen-Image-Edit 2511, FLUX.1 Kontext [dev], FLUX.2 [dev] (up to 3 images in all) | `/edit`, with the new Bria Extract Object. Ideogram Remove Background is a Layers tool; Recraft Vectorize and Image to SVG (VTracer) run only from a Canvas model node (no studio page offers them) |
-| Inpaint / Draw to Edit | 🟢 | Native mask routes (GPT Image, Ideogram, FLUX Fill [pro], Z-Image) in each API's convention; a red-tinted copy + instructions elsewhere | FLUX.1 Fill [dev] | `/inpaint`, compare slider in the viewer |
-| Layers | ✅ editor · 🟡 AI tools | Decompose: Seedream 5.0 Layers (default), Seedream 5.0 Flash Layers, Qwen-Image Layered (hosted). Edit text: Ideogram 3.0 Text Layers detects, Nano Banana Pro or Seedream 5.0 Pro edits. Background: BiRefNet, Ideogram. Regional edit: Seedream 5.0 Pro, Nano Banana Pro. Upscale: Topaz, SeedVR2, Recraft Crisp. Relight, Expand: Nano Banana Pro. Angles: Qwen Multiple Angles | Qwen-Image-Layered (a named element runs on Layered-Control), Qwen-Image-Edit 2511 (typed text lines, regional edit, angles), RMBG, FLUX Kontext, ESRGAN / SeedVR2, Qwen relight, FLUX Fill | `/layers`, `/layers/[id]`: canvas (move, resize, rotate, masks), Layers panel, per-layer prompt with revisions, history and versions, Compare, Cropped / Positioned zips and PNG at full detail, Copy JSON, Color grading (WebGL); phones get a read-only view. "Open in Layers" on every image result. The editor and the browser-built downloads ran end to end on demo layers; the AI tools that exist are built against verified schemas and validated graphs. Not built: open-source text detection, Higgsfield's Inpaint and Enhancer tools, comments, Save as Element |
+| Edit image (instruction edit) | 🟢 | Any edit model (Nano Banana Pro, Seedream 5.0, GPT Image 2.5, FLUX.2 / Kontext, Qwen Image 3, Krea 3, Bria FIBO 2…): the image plus up to 6 references, within each model's own limit | Qwen-Image-Edit 2511, FLUX.1 Kontext [dev], FLUX.2 [dev] (up to 3 images in all) | `/edit`, with Bria Extract Object. Promptless models (e.g. FASHN) get no prompt suggestions. Ideogram Remove Background is a Layers tool |
+| Inpaint / Draw to Edit | 🟢 | Native mask routes (GPT Image, Ideogram, FLUX Fill [pro], Z-Image) in each API's convention; a red-tinted copy + instructions elsewhere | FLUX.1 Fill [dev] | `/inpaint`, compare slider in the viewer. With a mask-only model (FLUX Fill), Generate asks to paint the area once the image is in |
+| Layers | ✅ editor · 🟡 AI tools | Decompose: Seedream 5.0 Layers (default), Seedream 5.0 Flash Layers, Qwen-Image Layered (hosted). Edit text: Ideogram 3.0 Text Layers detects, Nano Banana Pro or Seedream 5.0 Pro edits. Background: BiRefNet, Ideogram. Regional edit: Seedream 5.0 Pro, Nano Banana Pro. Upscale: Topaz, SeedVR2, Recraft Crisp. Relight, Expand: Nano Banana Pro. Angles: Qwen Multiple Angles | Qwen-Image-Layered (a named element runs on Layered-Control), Qwen-Image-Edit 2511 (typed text lines, regional edit, angles), RMBG, FLUX Kontext, ESRGAN / SeedVR2, Qwen relight, FLUX Fill | `/layers`, `/layers/[id]`: canvas (move, resize, rotate, masks), Layers panel, per-layer prompt with revisions, history and versions, Compare, Cropped / Positioned zips and PNG at full detail, Copy JSON, Color grading (WebGL); phones get a read-only view. "Open in Layers" on every image result. The editor and the browser-built downloads ran end to end on demo layers; the AI tools that exist are built against verified schemas and validated graphs. Not built on `main`: open-source text detection, Higgsfield's Inpaint and Enhancer tools, comments, Save as Element (all but comments are on an unmerged branch, §4) |
| Color Grading (free, in the browser) | ✅ | — (WebGL in the browser) | same | `/color-grade`: Higgsfield's five looks plus seven film looks, manual controls, PNG / WebM export into the library; looks preview on a bundled sample before an upload |
-| Expand (outpaint), Upscale image | 🟢 | Expand: Nano Banana Pro (Expand Image and Zoom Out apps). Upscale: Topaz, SeedVR2, Recraft Crisp | FLUX Fill outpaint, 4x ESRGAN, SeedVR2 | `/upscale`; the Expand Image and Zoom Out apps |
-| Upscale video (+ FPS boost, SDR→HDR, pro codecs) | 🟡 | Topaz Video, SeedVR2 Video | SeedVR2, ESRGAN video | Upscaling only. FPS boost, SDR→HDR and ProRes / EXR output ⬜ (the open RIFE interpolation model runs only from a Canvas model node) |
-| Video tools: remove background, relight, depth | 🟢 | BiRefNet video, Bria video, Video Depth Anything, LightX relight | BiRefNet / SAM 3 matte, Bernini-R relight, Depth Anything 3 / VDA | `/video-tools`. Remove object ⬜ (Edit video with a prompt is the closest) |
+| Expand (outpaint), Upscale image | 🟢 | Expand: Nano Banana Pro (Expand Image and Zoom Out apps). Upscale: Topaz, SeedVR2, Recraft Crisp | FLUX Fill outpaint, 4x ESRGAN, SeedVR2 | `/upscale`; the Expand Image and Zoom Out apps. Bria Expand is in the catalog, but no studio page offers it |
+| Upscale video | 🟢 | Topaz Video (Original / 1080p / 1440p / 4K, 24 / 30 / 60 fps; $0.01/s at 720p, $0.02/s at 1080p, $0.06/s above, doubled at 60 fps), Topaz Starlight, ByteDance Upscale (up to 8K), FLUX.3 Upscale, SeedVR2 (to a size, 1080p by default) | SeedVR2 or Real-ESRGAN in passes of a few frames, 720p to 2160p (1080p by default) | `/upscale/video`. A line under the clip says what will come out, and prices use the clip's real length. A size that wouldn't enlarge the clip moves up: a 1080p clip now goes to 1440p on Topaz ($0.06/s), where it used to become 4K at $0.02/s. This applies to every caller, Canvas included. Real-ESRGAN in passes ✅ on CPU with stand-in weights |
+| FPS boost and slow motion | 🟢 | Topaz FPS Boost (24–120 fps, 2× / 4× / 8× slow motion), RIFE (hosted) | RIFE 4.26 (default) or FILM | `/upscale/fps`: "24 → 60 fps · 2× slow motion · 5 s → 10 s" under the clip. The open graph ✅ on CPU with stand-in weights; it still loads the whole clip (§3) |
+| SDR to HDR | ✅ open · 🟢 cloud | Topaz SDR to HDR (H.265 10-bit, ProRes 422 HQ), LTX 2.3 HDR (EXR frames) | ComfyUI's inverse tone map: HLG or HDR10 MP4, or EXR frames, with a peak-brightness slider | `/upscale/hdr`. A format the picked model can't write moves the run to the model that can, and the list says so. EXR results download as a .zip. The open HDR10 (PQ) and EXR graphs ✅ on CPU through the API (no model needed) |
+| Pro codecs (ProRes, EXR…) | ✅ open · — cloud | — (Topaz SDR to HDR writes ProRes 422 HQ) | Export: ProRes 422 HQ / 4444, H.265 10-bit, FFV1 lossless, H.264, EXR frames; free | `/upscale/export`, open engine only; without ComfyUI the tab links to Topaz's ProRes on the cloud. ProRes and FFV1 results show as a file card ("made for your editor"). ProRes, H.265 10-bit, FFV1 and EXR ✅ on CPU (no model needed) |
+| Video tools: remove background, relight, depth | 🟢 | BiRefNet video, Bria video, SAM 3.1 (keeps only what you name, alpha mask only, $0.015/s), Video Depth Anything, LightX relight | BiRefNet / SAM 3 matte, Bernini-R relight, Depth Anything 3 / VDA | `/video-tools`. Remove background has an Output picker (cut-out or alpha mask) and makes only that file; SAM models need "what to keep". Depth map has a Color map picker (five on the cloud, grayscale or inferno on open VDA, grayscale on DA3) and Side by side. The Video Background Remover app mattes the whole video (BiRefNet video on both engines) |
+| Remove object (video) | 🟢 | Type it: Kling O3 edit (default, $0.168/s), Kling O3 4K, Bria erase, LTX 2.3 clean plate (people). Click it: Bria keypoints, or a SAM 3.1 track → Bria mask erase. Paint it: SAM 3.1 tracks the paint → Bria mask erase. "Shadows and reflections too": VOID | Type it: Wan 2.1 VACE 14B + SAM 3.1. Paint it: Wan VACE with the painted mask tracked by SAM 3.1. "Shadows and reflections too": VOID on CogVideoX-5B. Click it: not on the open engine (the page says so) | `/video-tools/remove-object`: up to 60 s of a clip (≤200 MB), the price first, a SAM 3.1 mask preview of the first 2 s, before/after wipe, Download. Long clips are cut into pieces (cloud) or frame-exact windows (open), erased one by one and joined, and the sound is put back. The model-free parts ✅ on CPU; the erasers need a key or a GPU |
| Join clips, match colours of a video (Color Palette) | ✅ open · 🟢 cloud (join only) | fal FFmpeg merge; there is no cloud video colour match (the Match Colors app re-grades images with Nano Banana Pro) | ComfyUI concat and palette transfer, both run for real on CPU | Video tools tabs |
-| Trim video | ✅ open · 🟢 cloud | fal `trim-video` | Trim Video (core nodes, keeps the audio) | Video tools → Trim: filmstrip + in/out picker. Ran on CPU through the production build |
+| Trim video | ✅ open · 🟢 cloud | fal `trim-video` | Trim Video (core nodes, keeps the audio) | Video tools → Trim: the shared trimmer (filmstrip, draggable window and handles, keyboard sliders, play the selection, typed times); for a clip the browser can't decode, only its header is read for the length. Ran on CPU through the production build |
| Captions (transcribe, edit, burn in) | ✅ open burn-in and cue editing · 🟢 transcription and cloud burn-in | Transcribe: ElevenLabs Scribe v2 (also Wizper, Whisper). Burn: VEED Subtitles (your edited lines as SRT) or Auto Subtitle (quick karaoke, ignores edits) | Transcribe: Qwen3-ASR 0.6B + ForcedAligner. Burn: Fuobe's chunked core-node burn-in (`oss-captions-burnin`); Whisper captions with `NC_PACKS=1` | Video tools → Captions: cue editor (text, timing, split / merge / insert / remove, undo), import .srt / .vtt, 6 styles incl. karaoke with a live preview, export .srt / .vtt. Each burner shows only the controls it supports |
-| Image to 3D / product spin | 🟢 | Hunyuan3D 3.1 Pro (default) / Rapid, TRELLIS.2, Tripo H3.1, Meshy 7.1 | TRELLIS.2 (textured GLB + turntable MP4, MIT), Hunyuan3D 2.1 (shape only, territory-restricted licence) | `/image-to-3d` and an app: orbitable GLB viewer, downloads, turntable (TRELLIS.2's, or recorded in the browser for mesh-only models), "Animate the spin" |
-| Try-On, Angles, Product Shot apps | 🟢 | FASHN Try-On 1.6 (also Google, Leffa); Qwen Multiple Angles (rotate / tilt / zoom); Bria Product Shot | FLUX.2 [klein] 4B + try-on LoRA; Qwen-Image-Edit 2511 + Multiple-Angles LoRA; Qwen-Image-Edit 2509 + White_to_Scene LoRA | The old approximation notes are gone; the notes now say what the open route runs. Try-on needs the person and the garment |
-| Relight, Skin Enhancer, Headshots, Packshot, Face/Character Swap, Transitions… | 🟢 | 123 apps: 121 on both engines, 2 open-only | Relight LoRA, ReActor, Qwen-Image-Edit… | Match Lighting, Match Colors, Hook Frame (formerly the Virality Predictor app; its old `/apps/app-virality-predictor` URL now redirects to `/virality`) |
-| Approximated apps | 🟡 | — | — | 17 apps are marked as approximations on their page (e.g. one silent clip where Higgsfield beat-matches several), out of 41 with a parity note (what the Fuobe or open version does differently) |
+| Image to 3D / product spin | 🟢 | Hunyuan3D 3.1 Pro (default) / Rapid, TRELLIS.2, Tripo H3.1, Meshy 7.1 | TRELLIS.2 (textured GLB + turntable MP4, MIT), Hunyuan3D 2.1 (shape only, territory-restricted licence) | `/image-to-3d` and an app: orbitable GLB viewer, downloads, turntable (TRELLIS.2's, or recorded in the browser for mesh-only models), "Animate the spin". The round-4 3D models (SAM 3D Objects, Meshy 7.1 Multi-view, Tripo H3.1 Text to 3D, TripoSplat, Meshy Rigging) are in the catalog but not in this studio |
+| Vectorize (image → SVG) | ✅ open · 🟢 cloud | Recraft Vectorize | VTracer through ComfyUI (ComfyUI-ToSVG; no AI model) | The Vectorize app (Utility). VTracer is crisp on logos and flat art and makes many small shapes on photos. SVG results are stored as .svg and offer Download and Favorite, not raster hand-offs. VTracer ran on a CPU ComfyUI |
+| Try-On, Angles, Product Shot apps | 🟢 | FASHN Try-On 1.6 (also Google, Leffa); Qwen Multiple Angles (rotate / tilt / zoom); Bria Product Shot | FLUX.2 [klein] 4B + try-on LoRA; Qwen-Image-Edit 2511 + Multiple-Angles LoRA; Qwen-Image-Edit 2509 + White_to_Scene LoRA | The notes say what the open route runs. Try-on needs the person and the garment |
+| Relight, Skin Enhancer, Headshots, Packshot, Face/Character Swap, Transitions… | 🟢 | 124 apps: 122 on both engines, 2 open-only | Relight LoRA, ReActor, Qwen-Image-Edit… | Match Lighting, Match Colors, Hook Frame (formerly the Virality Predictor app; its old `/apps/app-virality-predictor` URL now redirects to `/virality`), Vectorize (new) |
+| Approximated apps | 🟡 | — | — | 16 apps are marked as approximations on their page (e.g. one silent clip where Higgsfield beat-matches several), out of 42 with a parity note (what the Fuobe or open version does differently) |
### Characters, lipsync, audio
@@ -102,146 +111,172 @@ Model names are the defaults first, then the alternatives. "Demo" outputs are la
| Soul Cast (AI actor builder) | 🟢 | Soul 2.0, else Nano Banana Pro | Z-Image Turbo · Soul Cast sheet (4 views), Z-Image Turbo | The 17 fields from the research; saved as a character element. In Cinema Studio and Character Sheet |
| Soul Location | 🟢 | Soul Cinema, Nano Banana Pro, Seedream 5.0 Pro; extra views | Z-Image Turbo, Qwen-Image | Saved as a location element, then @mentioned in shots |
| Character Sheet | 🟢 | From Reference (1–5 photos): Nano Banana Pro. Build from scratch: Soul 2.0 with a key, else Nano Banana Pro. From a description: the AI Influencer app | Qwen-Image-Edit 2511 (≤3 photos); Soul Cast sheet workflow | `/character-sheet`; Save as character. On the open engine the photo's shape is kept (aspect off) |
-| AI Influencer Studio | 🟡 | Higgsfield's AI Influencer character sheet | Soul Cast sheet workflow | An app plus Character Sheet's "From a description". Higgsfield's game-style builder (19 categories, blendable creature types) is not reproduced |
-| Lipsync Studio / talking avatars | 🟢 | Kling Avatar 2.0 / AI Avatar, OmniHuman 2 / 1.5, InfiniteTalk (hosted), Sync Lipsync 3 / 2 Pro | InfiniteTalk (+ Long), Wan 2.2 S2V, InfiniteTalk Lip Re-sync (video, ≤40 s per job) | `/lipsync`: "Add a portrait or a video". LatentSync 1.6 (isolated worker) is a hidden catalog model with a validated workflow; no studio offers it yet |
-| Text to speech + voice picker | 🟢 | ElevenLabs v3 / v4 / v4 Turbo / Multilingual v2 (21 premade voices), Inworld TTS 1.5 Max (113 voices), MiniMax Speech 2.8 HD, Seed Audio 1.0 | Chatterbox Multilingual (23 languages), IndexTTS-2 | Sliders per model |
+| AI Influencer Studio | 🟡 | Higgsfield's AI Influencer character sheet | Soul Cast sheet workflow | An app plus Character Sheet's "From a description". Higgsfield's game-style builder (19 categories, blendable creature types) is not on `main` yet (an unmerged branch, §4) |
+| Lipsync Studio / talking avatars | 🟢 | Kling Avatar 2.0 / AI Avatar, OmniHuman 2 / 1.5, InfiniteTalk (hosted), Sync Lipsync 3 / 2 Pro, P-Video 2 Pro Avatar | InfiniteTalk (+ Long), Wan 2.2 S2V, InfiniteTalk Lip Re-sync (video, ≤40 s per job), LatentSync 1.6 (on the isolated worker) | `/lipsync`: "Add a portrait or a video". LatentSync 1.6 runs only on a second ComfyUI (Settings → Isolated worker URL); the picker says so, and it has lip-movement and steps sliders |
+| Text to speech + voice picker | 🟢 | ElevenLabs v3 / v4 / v4 Turbo / Multilingual v2 (21 premade voices), Inworld TTS 1.5 Max (113 voices), MiniMax Speech 2.8 HD, Seed Audio 1.0, HeyGen Voice Turbo, Gemini 3.8 Flash TTS | Chatterbox Multilingual (23 languages), IndexTTS-2 | Sliders per model |
| Voice cloning | 🟢 | Chatterbox and IndexTTS-2 (hosted) | Chatterbox, IndexTTS-2 | From a mic recording or an upload; saved as Voice elements |
| Dialogue | 🟢 | ElevenLabs Dialogue | Chatterbox Dialogue | |
| Voice change | 🟢 | ElevenLabs Voice Changer, Chatterbox VC (hosted) | Chatterbox Voice Conversion | |
-| Translate & dub | 🟢 open and cloud one-shot · 🟡 cloud step by step | One shot: HeyGen Translate / Translate Speed, ElevenLabs Dubbing. Step by step: ElevenLabs Voice Isolation → Scribe v2 → Claude → review → ElevenLabs v4 per take → fal compose (each take at its cue) → extract the track → Chatterbox VC (the speaker's voice) → Sync Lipsync 3 | MelBand RoFormer stems + Qwen3-ASR 1.7B cues (one job) → local LLM → review → Chatterbox per take in the cloned voice → voice timeline (core nodes) → InfiniteTalk lip re-sync → mux over the background stem (−3 dB) | Audio → Translate: spoken language + up to 8 targets, prices before Translate and Voice, autosaved cue editor, lip re-sync toggle, Voice again. The voice follows the reviewed cue times and the video keeps its length. The timeline step ✅ on CPU. **Cloud step by step keeps the voice only** (no background stem) |
-| Sound effects | 🟢 | Mirelo SFX 2.0 (default, Higgsfield's model), Sonilo SFX 1.1, Stable Audio 3 SFX, Stable Audio 2.5, CassetteAI, Seed Audio 1.0, ElevenLabs SFX | Stable Audio 3 Small SFX (default; Stability Community licence, free under US$1M revenue), Stable Audio Open 1.0, HunyuanVideo-Foley, MMAudio (non-commercial) | Audio → Sound effects. ThinkSound (isolated worker) is a hidden catalog model with a validated workflow; no studio offers it yet |
-| Music | 🟢 | Sonilo Music 1.1 (default, Higgsfield's model), Lyria 3 / Pro, MiniMax Music 2.5, Stable Audio 3 Music, Stable Audio 2.5, Mureka 9.5, ElevenLabs Music | ACE-Step 1.5 | Audio → Music |
+| Translate & dub | 🟢 | One shot: HeyGen Translate / Translate Speed, ElevenLabs Dubbing. Step by step: Demucs splits the soundtrack while ElevenLabs Voice Isolation → Scribe v2 make the cues → Claude → review → ElevenLabs v4 per take → fal compose (each take at its cue) → extract the track → Chatterbox VC (the speaker's voice) → Sync Lipsync 3 → the voice mixed over the drums, bass and other stems, 3 dB under their level (fal loudnorm, then compose) | MelBand RoFormer stems + Qwen3-ASR 1.7B cues (one job) → local LLM → review → Chatterbox per take in the cloned voice → voice timeline (core nodes) → InfiniteTalk lip re-sync → mux over the background stem (−3 dB) | Audio → Translate: spoken language + up to 8 targets, prices (split and mix included) before Translate and Voice, autosaved cue editor, lip re-sync toggle, Voice again. The voice follows the reviewed cue times and the video keeps its length. If the cloud split fails or finds nothing but the voice, the dub says it is voice only. The timeline step ✅ on CPU |
+| Sound effects | 🟢 | Mirelo SFX 2.0 (default, Higgsfield's model), Sonilo SFX 1.1, Stable Audio 3 SFX, Stable Audio 2.5, CassetteAI, Seed Audio 1.0, ElevenLabs SFX | Stable Audio 3 Small SFX (default; Stability Community licence, free under US$1M revenue), Stable Audio Open 1.0, HunyuanVideo-Foley, MMAudio (non-commercial), ThinkSound (on the isolated worker) | Audio → Sound effects. ThinkSound runs only on the isolated worker; its packages are installed there but it has never run |
+| Music | 🟢 | Sonilo Music 1.1 (default, Higgsfield's model), Lyria 3 / Pro, MiniMax Music 2.5, Stable Audio 3 Music, Stable Audio 2.5, Mureka 9.5, ElevenLabs Music | ACE-Step 1.5 | Audio → Music. Audio → Loop / extend makes a track longer |
+| Audio loop / extend and join | ✅ open · 🟢 cloud | fal merge-audios: whole plays of the clip, and joins with hard cuts (up to 5 files a call, chained) | Crossfaded loops (equal power or linear), a fade-out and an exact length; joins with crossfades in one job | Audio → Loop / extend (`/audio/loop`, up to 10 min) and Join (`/audio/join`, 2–10 clips); price and summary before running. Every audio result offers "Loop / extend". Both open graphs ✅ on CPU through the API |
| Sound for a video | 🟢 | Mirelo SFX 2.0 for video (default), MMAudio | HunyuanVideo-Foley fed the clip's frames (default; as long as the clip, ≤30 s), MMAudio | Audio → Sound for video. HunyuanVideo-Foley's licence excludes the EU, UK and South Korea |
-| Transcription and voice separation | 🟢 | ElevenLabs Scribe v2, Wizper, Whisper; Demucs stems, ElevenLabs Voice Isolation | Qwen3-ASR; MelBand RoFormer + Qwen3-ASR | Text results carry timed cues (saved as .srt); stems carry `meta.stem`. Used by captions, dubbing and Faceless |
-| Text steps (translate, write) | 🟢 | Claude (`text-llm`) | A local model on Ollama (`oss-text-llm`, never calls Claude) | Translations keep the cue timing (numbered batches of 30, then 10, then line by line). Settings → Prompt enhancement → Offline rewriter (`FUOBE_ENHANCE_PROVIDER=none`) turns text steps off |
+| Transcription and voice separation | 🟢 | ElevenLabs Scribe v2, Wizper, Whisper; Demucs stems, ElevenLabs Voice Isolation | Qwen3-ASR; MelBand RoFormer + Qwen3-ASR | Audio → Transcribe on both engines, with a Spoken language picker (Detect automatically, or one of the model's languages; also on Canvas nodes). Text results carry timed cues (saved as .srt); stems carry `meta.stem`. Used by captions, dubbing and Faceless |
+| Text steps (translate, write) | 🟢 | Claude (`text-llm`) | A local model on Ollama (`oss-text-llm`, never calls Claude); when Ollama isn't running, translation runs on ComfyUI's Qwen3.5 4B | Translations keep the cue timing (numbered batches of 30, then 10, then line by line), on either open backend. Writing still needs Ollama. Settings → Prompt enhancement → Offline rewriter (`FUOBE_ENHANCE_PROVIDER=none`) turns text steps off |
### Studios & marketing
| Higgsfield feature | Fuobe | Cloud route | Open-source route | Notes |
|---|---|---|---|---|
| Brand kit + products | 🟢 | Website research needs no model; Claude fills the soft fields (tone, audience, selling points) | Ollama, or offline heuristics | Reads HTML meta, OpenGraph, JSON-LD, Shopify `/products.json`, CSS colours, Google fonts, logo, hero images and socials through the SSRF-safe fetch; 14 rotating research labels, Cancel / Retry. Manual path with k-means colours. Products from a link or an upload. The scraper ran against local fixture shops, not real sites |
-| Marketing Studio | 🟢 | Per format: Bria Product Shot / Nano Banana Pro / GPT Image 2.5 / Product Photography (product shots), GPT Image 2.5 / Ideogram 4.5 / 3.0 / Recraft V4.1 (ads, posters, listings), Marketing Studio Image (Higgsfield, with a key), Seedance 2.5 / Kling O3 / Gemini Omni (motion), OmniHuman 2 / Kling Avatar (UGC). UGC chain: ElevenLabs v4 → Nano Banana Pro still → OmniHuman 2 presenter → Auto Subtitle → Seedance 2.5 hook and b-roll → joined | Qwen-Image / Qwen-Image-Edit stills (words set in the browser), Wan 2.2 Lightning motion; UGC: Chatterbox (voice sample needed) → Qwen-Image-Edit → InfiniteTalk → caption burn-in → joins that keep the voice | `/marketing`: 84 Fuobe templates in 11 formats with procedural previews, 9 hooks and 14 settings, product / avatar / reference slots, brand kit chip, live price, Run again. Higgsfield's library has 1,074 templates; Fuobe ships its own set |
-| Click to Ad / Link to Video Ad | 🟢 | Same UGC models, or product-only shots; 9:16, ≤12 s, voiceover and captions | Same open UGC chain | `/marketing/click-to-ad`: link → "Building your product kit" → 10 styles → script (Claude, Ollama or an offline writer within the word budget). The product joins its site's brand kit, so logo and colours persist. The two old parity apps now open this flow. No logo end card in the video |
+| Marketing Studio | 🟢 | Per format: Bria Product Shot / Nano Banana Pro / GPT Image 2.5 / Product Photography (product shots), GPT Image 2.5 / Ideogram 4.5 / 3.0 / Recraft V4.1 (ads, posters, listings), Marketing Studio Image (Higgsfield, with a key), Seedance 2.5 / Kling O3 / Gemini Omni (motion), OmniHuman 2 / Kling Avatar (UGC). UGC chain: ElevenLabs v4 → Nano Banana Pro still → OmniHuman 2 presenter → Auto Subtitle → Seedance 2.5 hook and b-roll → joined | Qwen-Image / Qwen-Image-Edit stills (words set in the browser), Wan 2.2 Lightning motion; UGC: Chatterbox (voice sample needed) → Qwen-Image-Edit → InfiniteTalk → caption burn-in → joins that keep the voice | `/marketing`: 84 Fuobe templates in 11 formats with procedural previews, 9 hooks and 14 settings, product / avatar / reference slots, brand kit chip, live price, Run again. The composer stays slim until a template is picked or something is added. Higgsfield's library has 1,074 templates; Fuobe ships its own set |
+| Click to Ad / Link to Video Ad | 🟢 | Same UGC models, or product-only shots; 9:16, ≤12 s, voiceover and captions | Same open UGC chain | `/marketing/click-to-ad`: link → "Building your product kit" → 10 styles → script (Claude, Ollama or an offline writer within the word budget). The product joins its site's brand kit, so logo and colours persist. The two old parity apps now open this flow. No logo end card in the video on `main` (it is on an unmerged branch, §4) |
| Ads Studio | 🟢 | Higgsfield Ads Studio one-shot (with a key), or Fuobe: Claude copy (angle, headline, body, CTA) + Nano Banana Pro visual + compositing in the browser | Qwen-Image-Edit / Qwen-Image visual + the same compositing; Ollama or rule-based copy | `/ads`, `/ads/[brandId]`: brands, up to 10 products × up to 20 ads, 1:1 / 4:5 / 9:16 with logo, colours and Google fonts, editor, Download all (zip built in the browser), brand chat with @product mentions and priced proposals |
-| Ad Multiplier | 🟢 | Seedance 2.5 edit (Higgsfield), Kling O3 edit, Gemini Omni Flash. Hook / CTA: first or last frame → image-to-video → joined around the original | Wan 2.2 Animate + the original sound muxed back; hook / CTA on Wan 2.2 Lightning, joined keeping the reference's sound | `/ads/multiplier`: 4–30 s reference, up to 20 @image_N, Prompt or Change hook / Change CTA, 480p / 720p / 1080p (open ≤720p), 1–4 versions, live estimate |
-| Faceless Studio | 🟢 | Nano Banana Pro stills, Gemini Omni Flash clips (Seedance 2.5 in Advanced), ElevenLabs v4 / Multilingual v2 or a Chatterbox clone, ElevenLabs forced alignment, Sonilo music levelled to −28 LUFS and mixed by fal FFmpeg compose, Auto Subtitle; Upscale to 1080p with SeedVR2 | Z-Image Turbo or Qwen-Image-Edit Style Reference stills, Wan 2.2 Lightning, Chatterbox (voice sample needed), ACE-Step (≤240 s) mixed by the soundtrack workflow, Qwen3-ASR timings + caption burn-in | `/faceless`: channels (genre, idea, YouTube reference, saved look and sound, avatar), topics, 1–5 min, 12 styles or 3 style references, narrator, script review, then a two-stage render (stills + narration + word timings, then each scene cut to where its lines are spoken). Timeline editor: change a scene's picture, motion or the narration, see the price, Undo. Deleting stops the render |
-| Higgsfield Explainer | 🟡 | Same pipeline as Faceless | Same; stills drawn from your source images with Qwen-Image-Edit | `/explainer`: 22 styles, up to 3 sources (images, .txt / .md, a summarised link), Auto / 20 s–10 min / Manual 15–600 s, History. PDF and Word sources aren't read (Higgsfield takes documents), hence 🟡 |
+| Ad Multiplier | 🟢 | Seedance 2.5 edit (Higgsfield), Kling O3 edit, Gemini Omni Flash. Hook / CTA: first or last frame → image-to-video → joined around the original | Wan 2.2 Animate + the original sound muxed back; hook / CTA on Wan 2.2 Lightning, joined keeping the reference's sound | `/ads/multiplier`: 4–30 s reference picked with the shared trimmer, up to 20 @image_N, Prompt or Change hook / Change CTA, 480p / 720p / 1080p (open ≤720p), 1–4 versions, live estimate |
+| Faceless Studio | 🟢 | Nano Banana Pro stills, Gemini Omni Flash clips (Seedance 2.5 in Advanced); Frame by frame: fal's Ken Burns zoom (no video model, list price $0.001 a request); ElevenLabs v4 / Multilingual v2 or a Chatterbox clone, ElevenLabs forced alignment, Sonilo music (played again for long films) levelled to −28 LUFS and mixed by fal FFmpeg compose, Auto Subtitle; Upscale to 1080p with SeedVR2 | Z-Image Turbo or Qwen-Image-Edit Style Reference stills, Wan 2.2 Lightning; Frame by frame: a Ken Burns pan and zoom on core nodes (no GPU needed for the motion), joined by packet copy; Chatterbox (voice sample needed), ACE-Step (≤240 s, looped with crossfades up to 600 s) mixed by the soundtrack workflow, Qwen3-ASR timings + caption burn-in; Upscale to 1080p with Real-ESRGAN in passes, free | `/faceless`: channels (genre, idea, YouTube reference, saved look and sound, avatar), topics, 1–5 min, 12 styles or 3 style references, narrator, script review, then a two-stage render (stills + narration + word timings, then each scene cut to where its lines are spoken). Frame by frame aims each move at what the scene's words name. Timeline editor: change a scene's picture, motion (camera moves only in Frame by frame) or the narration, see the price, Undo. Deleting stops the render. The open upscale is tested through the API in demo mode only |
+| Higgsfield Explainer | 🟢 | Same pipeline as Faceless | Same; stills drawn from your source images with Qwen-Image-Edit | `/explainer`: 22 styles, up to 3 sources (images, .txt / .md, PDF and Word .docx up to 20 MB, a summarised link), Auto / 20 s–10 min / Manual 15–600 s, History. A long document is summarised by the engine's text model, and a long PDF says how many of its pages were read; .doc, scanned PDFs and damaged files get a clear message |
| Katana | 🟢 | Per segment: cut → first frame → your subject put in (Nano Banana Pro) → motion with Kling O3 edit, Genjutsu Motion Transfer or Kling 3.0 Motion Control; joined at the original cut times over the original soundtrack | Same chain with Qwen-Image-Edit, Wan 2.2 Animate / Fun Control | `/katana` plus a `katana` Assist / MCP tool and a skill. Scene cuts found in the browser and refined to a frame; Retry failed steps; Run again |
| Virality Predictor | 🟡 | — | — | `/virality` runs a clearly labelled heuristic check of the first 3 seconds in the browser and shows no score. Higgsfield's output matches Meta's TRIBE v2 (CC BY-NC); its worker contract is in [`docs/workers/tribe-v2.md`](workers/tribe-v2.md), but Fuobe doesn't host it |
| Photodump Studio / Instadump | 🟢 | Soul 2.0 + Soul ID with a key, else Nano Banana Pro or Seedream 5.0 Pro | The character's Z-Image Turbo LoRA when trained, else Qwen-Image-Edit 2511 | `/photodump`: 9 Photodump packs + 5 Instadump packs (one Fuobe prompt per photo), Create pack from ≤15 photos, a selfie (≤20 MB) or a character, Download all, Animate, Edit, Retry a failed photo inside its run |
| Fashion Factory | 🟢 | Soul 2.0 / Nano Banana Pro base shots, FASHN try-on (Nano Banana Pro as the alternative), Nano Banana Pro photoset | Z-Image Turbo (+ character LoRA), FLUX.2 [klein] try-on, Qwen-Image-Edit photoset | `/fashion-factory`: 6 templates, the 5 steps with Higgsfield's copy; progress survives a reload |
-| Canvas (node workflows) | 🟡 | Any cloud model on a node | Any open model on a node | `/canvas`, `/canvas/[id]` on @xyflow/react: 13 node types (text prompt, image / video / audio input, element, model, join, extract frame, upscale, remove background, speech, output / compare, note), typed edges, Run node / selected / all, fresh results reused, pins, autosave, phone node list. 5 templates, each in a cloud and an all-open-source version. Higgsfield's pages (nested canvases), tables, comments, drawing and shapes, Change Voice / Translate nodes and multiplayer aren't built |
+| Canvas (node workflows) | 🟡 | Any cloud model on a node | Any open model on a node | `/canvas`, `/canvas/[id]` on @xyflow/react: 13 node types (text prompt, image / video / audio input, element, model, join, extract frame, upscale, remove background, speech, output / compare, note), typed edges, Run node / selected / all, fresh results reused, pins, autosave, phone node list. Model nodes take the round-4 operations that have a visible model: remove object, swap and insert, keyframes, SDR to HDR, export, OCR, the open 3D scene, splat, text to 3D and vectorize. Ken Burns, audio loop, extract frames, images to video and overlay have input ports, but only hidden helper models, which node pickers leave out; rigging and audio joins aren't offered on nodes. Element nodes follow a later rename. 5 templates, each in a cloud and an all-open-source version. Higgsfield's pages (nested canvases), tables, comments, drawing and shapes, Change Voice / Translate nodes and multiplayer aren't built |
### Platform & agents
| Higgsfield feature | Fuobe | Cloud route | Open-source route | Notes |
|---|---|---|---|---|
-| Supercomputer / Assist agent | 🟢 | Claude (claude-opus-5-5 by default; Manual offers claude-sonnet-5-5, claude-haiku-5-5 and claude-fable-5-1 with an effort level) | Ollama tool calling, or the offline rule-based planner | `/assist`: plans, prices, asks first (or auto-runs), chains steps with `after`. Modes Free / Smart / Manual; each chat's context is frozen when it starts and later changes arrive as "Context update" messages |
-| Assist skills | ✅ app · 🟢 with an LLM | Loaded into Claude's context with `/name` or `load_skill` | Same on Ollama; the offline planner uses their hints | 20 built-in SKILL.md playbooks in `skills/`; create, edit, duplicate, download, turn on / off, upload .md / .zip / .skill (bounded unzip). Also offered as MCP prompts |
+| Supercomputer / Assist agent | 🟢 | Claude (claude-opus-5-5 by default; Manual offers claude-sonnet-5-5, claude-haiku-5-5 and claude-fable-5-1 with an effort level) | Ollama tool calling, or the offline rule-based planner | `/assist`: plans, prices, asks first (or auto-runs), chains steps with `after`. Modes Free / Smart / Manual; each chat's context is frozen when it starts and later changes arrive as "Context update" messages. The offline planner can make several takes and animate the one you pick ("animate 2") |
+| Assist skills | ✅ app · 🟢 with an LLM | Loaded into Claude's context with `/name` or `load_skill` | Same on Ollama; the offline planner uses their hints | 20 built-in SKILL.md playbooks in `skills/`, in the Agent Skills format; their studio links open the real studios. Create, edit, duplicate, download, turn on / off, upload .md / .zip / .skill (bounded unzip). Also offered as MCP prompts |
| Assist projects | ✅ app · 🟢 with an LLM | — | — | Instructions, colour, up to 20 sources (links and PDFs fetched safely, files with PDF text, elements, notes), project skills, chats per project, an Assets tab |
| Assist memory | ✅ app · 🟢 with an LLM | — | — | 8 categories, add / edit / delete, import from other assistants, per project or across all chats; the `remember` tool asks first |
-| Studio jobs from Assist and MCP | 🟡 | `split_layers`, `restyle_footage`, `dub_video`, `faceless_episode`, `create_ads`, `add_captions`, `katana` | Same on the open engine (`faceless_episode` needs a voice sample there) | Each runs as a `createPipeline` job and is priced on the approval card first. They don't open a studio session yet, so there is no dub review, Layers project or Shorts session to continue in (see §3) |
+| Studio jobs from Assist and MCP | 🟢 | `split_layers`, `restyle_footage`, `dub_video`, `faceless_episode`, `create_ads`, `add_captions`, `katana` | Same on the open engine (`faceless_episode` needs a voice sample there) | Each is priced by its studio's own estimate and opens that studio: a Layers project, a Shorts session, a dub to review, a Faceless episode (in an "Assist" channel), an Ads Studio batch, the Captions editor; the chat shows an "Open in <Studio>" card and MCP's `estimate_job` returns the studio and its page. A call a studio can't take runs as a pipeline in the Library, and the card says why. Genjutsu and Remove object have no Assist / MCP tool yet |
| AI Employees, Apps builder, Websites, Games, 3D Jutsu, connectors (Slack, Drive, Notion…) | ⬜ | — | — | |
-| MCP (other agents use the studio) | ✅ | — | — | `/api/mcp` 1.1.0: search_models, estimate_cost, estimate_job, generate, create_storyboard, check_generations, list_recent, list_elements, list_skills, load_skill, read_source, remember and the studio tools; prompts built from the enabled skills |
-| CLI + skills (`npx skills add …`), ChatGPT plugin | ⬜ | — | — | Skills are SKILL.md files that MCP clients receive as prompts; there is no Fuobe CLI or ChatGPT app |
+| MCP (other agents use the studio) | ✅ | — | — | `/api/mcp` 1.2.0: search_models, estimate_cost, estimate_job, generate, create_storyboard, check_generations, list_recent, list_elements, list_skills, load_skill, read_source, remember and the studio tools; `katana` is named in the instructions; prompts built from the enabled skills |
+| CLI + skills (`npx skills add …`), ChatGPT plugin | ✅ CLI and skills · ⬜ ChatGPT plugin | — | — | `fuobe` ([`docs/cli.md`](cli.md)): plain Node 20+, no dependencies. models, estimate, generate (`--wait`, `--out`), status, wait, download, cancel, list, upload, skills, tools / tool (MCP tools), mcp (prints the `claude mcp add` line), login / logout; `--json` on every command. `npx skills add workingprototype/Fuobe` installs the playbooks, plus an agent skill that drives Fuobe through MCP or the CLI, in other agents. No ChatGPT app |
| Plugins (Photoshop, Figma, Blender, After Effects, DaVinci) | ⬜ | — | — | |
-| Assets library | ✅ | — | — | `/library`: Square / Masonry / List, Fit / Fill, card size, split by date; tabs All / Images / Videos / Audio / Text / 3D / Favorites / Uploads / Trash; filters by model, date and status; batch stacks; select mode with a bulk bar (zip, like, move, delete); folders with colours and drag and drop; Reuse, hand-offs (Animate, Extend, Lipsync, Open in Layers…) and downloads. Missing: nested folders, pins, review status, projects in the library |
-| Trash | ✅ | — | — | Delete moves to the Trash with Undo (feed, viewer, Library, Cinema); 30 days, Restore, Delete forever (asks first), Empty trash; purged at startup and then daily; files still used elsewhere are kept |
-| Live progress, cancel, retry, failure messages | ✅ | — | — | Results arrive over one server-sent-events stream per browser; polling slows to every 10 s while it's connected (1.5 s without it) |
-| Text, 3D and layer results | ✅ | — | — | Shown in the feed, viewer and Library: text with cue timings (copy, .txt / .srt / .vtt), .glb in `@google/model-viewer` (loaded on demand), layers as a composite with a named list |
-| Studio UI (composer, model picker, viewer, galleries, navigation) | ✅ | — | — | Compact composer ("+" for upload / paste / library, one settings chip, Cmd/Ctrl+Enter), cmdk model picker with Recent / Starred / Best for this studio, typing before hydration kept, blockers that name the missing slot; viewer with a phone bottom bar, drawer and swipe; procedural previews on the app, motion and effect galleries; one prerendered page per hub mode; branded 404 and error pages, loading skeletons. Checked by `composer-flows.mjs`, `shell.mjs` and the 390 px sweep |
+| Assets library | ✅ | — | — | `/library`: Square / Masonry / List, Fit / Fill, card size, split by date; tabs All / Images / Videos / Audio / Text / 3D / Favorites / Uploads / Trash; filters by model, date, status and review status; batch stacks; select mode with a bulk bar (zip, like, pin, review, move, delete), Select all (N), a Select per day and Ctrl/⌘+A; nested folders with breadcrumbs, colours, drag and drop, a Move to tree and folder zips with their subfolders; pins and a Pinned section; review status (In progress, Needs review, Approved, Rejected); helper steps hidden unless Show steps; an upload is deleted only when nothing uses it (otherwise it says where it is used); Reuse, hand-offs (Animate, Extend, Lipsync, Open in Layers…) and downloads. `tests/e2e/library-flows.mjs`. Missing: projects in the library |
+| Trash | ✅ | — | — | Delete moves to the Trash with Undo (feed, viewer, Library, Cinema); 30 days, Restore, Delete forever (asks first), Empty trash; purged at startup and then daily; files still used elsewhere are kept. The Trash lists helper steps too |
+| Live progress, cancel, retry, failure messages | ✅ | — | — | Results arrive over one server-sent-events stream per browser; polling slows to every 10 s while it's connected (1.5 s without it). Running tiles show the time spent and, once progress has moved, the time left; the newest single result offers next steps (Animate, Upscale, Edit for an image; Extend, Upscale, Add sound for a video; Lipsync, Voice change for audio) |
+| Browser notifications | ✅ | — | — | Opt-in per browser (Settings → Notifications, with Send a test), plus a one-time offer once a job has run about 20 s. A job that finishes or fails while no Fuobe tab is on screen notifies once, from the live stream's leader tab; clicking it opens the result. The tab title counts running jobs. `tests/e2e/notifications.mjs` |
+| Text, 3D and layer results | ✅ | — | — | Shown in the feed, viewer and Library: text with cue timings (copy, .txt / .srt / .vtt), .glb in `@google/model-viewer` (loaded on demand), layers as a composite with a named list, SVG as SVG, EXR frames as a .zip, and ProRes or FFV1 (which browsers don't play) as a file card |
+| Studio UI (composer, model picker, viewer, galleries, navigation) | ✅ | — | — | Compact composer ("+" for upload / paste / library, one settings chip, Cmd/Ctrl+Enter), cmdk model picker with Recent / Starred / Best for this studio, typing before hydration kept, blockers that name the missing slot (on phones a line under the composer says why Generate is blocked); viewer with a phone bottom bar, drawer and swipe; procedural previews on the app, motion and effect galleries; one prerendered page per hub mode; a skip link, one `<main>` per page, a shorter sidebar (Studios and Engine start folded), full-screen studios that fold it, a phone header with Search, links that prefetch on hover; branded 404 and error pages (unknown ids and hub modes answer a real 404), loading skeletons. Checked by `composer-flows.mjs`, `shell.mjs` and the 390 px sweep |
+| Search (⌘K / Ctrl+K palette) | ✅ | — | — | Searches pages, settings, apps, motions, effects, models (filtered to the engine mode) and recent creations, forgiving typos; a model opens where it runs, on its own engine. 33 models still open the filtered Models page (§3). Checked by `shell.mjs` |
+| Getting started and connections | ✅ app · 🟢 key tests | Save & test for the fal.ai, Replicate, Higgsfield and Anthropic keys | Save & test for the ComfyUI address, its auth token, the isolated worker, and Ollama (with its model) | A Get started card on Home and Settings: Use paid models, Use your GPU, or Just try it (the demo). Every connection field tests what you typed before saving it and gives the reason on failure; a status strip shows each connection. Home's Start runs the job in Image, Video or Edit, and the line under the box says first what will run and what it costs. Settings → About & licences (`/settings/about`) lists every open model's licence. A live ComfyUI connected through the guide; no accepted key and no running Ollama were tested |
| Engine choice (open only, paid only, both) | ✅ | — | — | Settings → Engine mode, or `FUOBE_ENGINE_MODE` |
-| Credits / pricing | 🟡 | — | — | Bring your own key: live cost estimates per run, per pipeline step, per Assist plan; prices per resolution and per input + output second where the API bills that way; a cost cap per Cinema project; "Free" for open source. No billing, credits or Unlimited mode |
+| Credits / pricing | 🟡 | — | — | Bring your own key: live cost estimates per run, per pipeline step, per Assist plan; prices per resolution and per input + output second where the API bills that way, and by the clip's real length for the finishing tools; a cost cap per Cinema project; "Free" for open source. No billing, credits or Unlimited mode |
| Sign-in and security | ✅ | — | — | Optional password (`FUOBE_PASSWORD`) and API tokens; cross-site writes refused; Host allowlist on password-less installs (`FUOBE_ALLOWED_ORIGINS`); remote URLs fetched only from public addresses (`FUOBE_ALLOW_PRIVATE_URLS=1` for a LAN); login throttle (`FUOBE_TRUST_PROXY=1` behind a proxy) |
| Accounts, teams, sharing, community feed, contests, Academy | ⬜ | — | — | Single-user and self-hosted today |
-| Content checks (IP / face eligibility), browser notifications | ⬜ | — | — | |
-| Public API | 🟢 | — | — | The REST API (incl. `GET /api/generations/stream`) and the MCP endpoint, behind the password / API tokens once a password is set |
+| Content checks (IP / face eligibility) | ⬜ | — | — | |
+| Public API | 🟢 | — | — | The REST API (incl. `GET /api/generations/stream`, `GET /api/models` with how each model runs today, and `POST /api/generations?preview=1` for a priced plan that creates nothing) and the MCP endpoint, behind the password / API tokens once a password is set |
## 3. Known issues and caveats
Most important first.
**Not run for real (no keys, no GPU)**
-- **Paid providers are untested with real keys.** That now includes the round-3 response shapes Fuobe reads: Seedream layer boxes, Recraft's returned `style_id`, transcript cues, 3D files, Demucs stems, and the fal FFmpeg tools (compose `tracks`, loudnorm, forced alignment, `scale-video` crop, extract-audio). Two behaviours are assumptions from the docs: fal compose cuts an audio keyframe at its `duration`, and it renders an audio-only timeline over a still. Cloud `join-clips` is assumed to keep each clip's audio.
-- **Open-source quality is unverified.** Round 3 added about 165 GB of new model files (plus about 9 GB that nodes download on first use) that have never run here. Whole open chains (a UGC presenter film, a Faceless episode, a dub with lip re-sync, a Shorts restyle) ran only on the demo provider. The try-on single-garment graph and the new InfiniteTalk sizing are checked by `/prompt` validation only; ThinkSound's packages are installed on the isolated worker but never ran.
+- **Paid providers are untested with real keys.** That includes round 3's response shapes (Seedream layer boxes, Recraft's returned `style_id`, transcript cues, 3D files, Demucs stems, the fal FFmpeg tools) and round 4's routes: Topaz Video by size, Starlight, ByteDance and FLUX.3 Upscale, Topaz FPS Boost and SDR to HDR, LTX 2.3 HDR's EXR zip, the Bria erasers, VOID, LTX clean plate, SAM 3.1 masks, hosted VACE, P-Video Replace, Genjutsu and Genjutsu Lite, FLUX 3 Max keyframes, Marigold V2, fal's Ken Burns and merge-audios, and the cloud dub's split, loudnorm and mix. Prices are list prices; ByteDance's 6K and 8K prices are extrapolated from 4K, and Genjutsu's 50% promotion is mentioned, not subtracted. Assumptions from the docs: fal compose cuts an audio keyframe at its `duration` and renders an audio-only timeline over a still; cloud `join-clips` keeps each clip's audio.
+- **Open-source quality is unverified.** Round 3 added about 165 GB of model files (plus about 9 GB that nodes download on first use) that have never run here. Round 4's heavy open workflows were only accepted by ComfyUI, not run: Wan 2.1 VACE (remove, swap, insert), VOID, Wan Animate 2, SeedVR2 in passes, Frames films, the Qwen-Image-Edit 2511 + Multiple-Angles re-render and a full open Faceless render. Whole open chains (a UGC presenter film, a Faceless episode, a dub with lip re-sync, a Shorts restyle) ran only on the demo provider.
- **Assist hasn't talked to a live model.** The streamed Claude call is tested against an SSE fake and Ollama against a fake server. Skills, projects and memory work end to end with the offline planner only. Small local models follow tool instructions less reliably.
**Gaps that change what a user gets**
-- **Assist / MCP studio tools always use their pipeline fallback.** `STUDIO_ROUTES` in `src/server/assist/studio-tools.ts` is empty, so a `dub_video` or `split_layers` job lands in the Library, not as a dub session or a Layers project. The `katana` tool is in the tool list but isn't named in Assist's system prompt or the MCP instructions. Several skills still link to stand-in pages: `faceless-video` → `/storyboard`, `katana` and `ad-multiplier` → `/video-edit`, `marketing-studio-cards` → `/apps/app-ad-creative`, `character-sheet` → `/elements`.
-- **Cloud step-by-step dubbing keeps the voice only.** Its soundtrack step (`merge-audio-video`) takes one track, so the background music and effects are lost. The open route mixes the background stem back in. (`ffmpeg-compose`, which Faceless uses, could carry both.)
-- **Some models are in the catalog but no studio page offers them.** LatentSync 1.6 and ThinkSound (isolated worker), Qwen3.5 4B translate and Gemma 4 speech translate are hidden models with validated workflows, reachable only through the API (`modelId`); Recraft Vectorize, Image to SVG and RIFE interpolation are visible but only a Canvas model node can run them.
-- **Mixed Media on the cloud is a video-to-video restyle**, not Higgsfield's per-frame pipeline. A real one needs a per-index chain slot, an images-to-video tool and splitting renders above 200 frames.
-- **Open-engine limits.** Music beds stop at 240 s (ACE-Step; there is no open audio concat or loop). Open "Frame by frame" in Faceless is a slow-camera image-to-video, not a pan. The joins that keep a clip's sound hold every frame in RAM at 25 fps (about 1 GB per 8 s at 480x848). Open video upscaling decodes the whole film (about 38 GB for 30 s at 480p), so Faceless offers Upscale to 1080p on the cloud only. InfiniteTalk lip re-sync is capped at 40 s per job (for dubs, the whole source length). Whisper captions refuse clips that need more than half the server's RAM (the estimate isn't measured).
+- **Home's Start spends money.** Start (or Enter) on Home now runs the job; with a saved key for the default model that is a paid run (for example a Seedance 2.5 clip). The line under the box, which says what will run and what it costs, is the only warning. A link from elsewhere can't start a run.
+- **Remove object:** seams between pieces (cloud) and windows (open) are untested, and open typed windows are joined with hard cuts. Click it and Paint it need the browser to decode the first frame (not ProRes, for example), and there is no server-side fallback. Click it is cloud only. On the open engine SAM 3.1 tracks at most 4 objects. Erasers that work in 4- or 8-frame steps (VACE, VOID, LTX) leave out up to 7 frames at the end (the estimate says so). Try again uses the form as it is now, not the run's own request.
+- **Genjutsu:** with only a Higgsfield key, only a whole clip ≤15 s (≤30 s on High) can run; there is no Higgsfield-side cut or join. The references panel counts to 10, though no model uses more than 8, and open swap and insert use only the first. Clips over 30 fps aren't resampled for the hosted VACE. Higgsfield's batch, community presets and Recreate aren't built, and Katana still uses the full Genjutsu Motion Transfer, not Lite. Assist and MCP can't run Genjutsu or Remove object yet.
+- **The Higgsfield provider is still in use.** The Originals research records a decision to drop the Higgsfield API; `main` doesn't act on it yet: Genjutsu still defaults to Higgsfield when a key is set, and Soul, Cinema Studio 4.0 and the other Higgsfield models still call Higgsfield's API (§4, O7).
+- **FPS Boost, SDR to HDR and Export on the open engine:** FPS Boost, SDR to HDR and EXR still load the whole clip; Generate is greyed when a clip needs more than half of ComfyUI's RAM (5 s of 1080p at 24 → 60 fps is refused on a 32 GB ComfyUI). HDR is H.264 High 10 (core ComfyUI has no H.265 encoder; H.265 HDR10 is cloud only). "ProRes 422 HQ" carries 4:4:4 samples. SeedVR2 restores each 33-frame pass on its own, so seams are possible (not measured). A cancelled or failed pass leaves an idle ffmpeg and a partial .mov in ComfyUI's output folder.
+- **Frames:** in an open film each still is on screen for two video frames (about 1/8 s). Ten stills mean nine or ten 20-step Wan clips on your GPU: free, but slow. On Lightning the stretch after the last frame is a 4-step clip next to 20-step pairs. Reuse on an open Frames film brings back the join step, not the frames.
+- **3D scenes:** the open MoGe mesh drops sky and far-away areas, leaving empty space for the re-render to fill. Every cloud scene depends on Marigold returning the Spectral colour map of fal's example output, the only thing the decoder was checked against. The open re-render is told the LoRA's reference pose with the capture as image 1; that is untested on a GPU.
+- **Some models are in the catalog but no studio page offers them.** Gemma 4 speech translate and the cloud Overlay image, Extract frames and Images to video are hidden (API only; no chain uses the last three on `main` yet). SAM 3D Objects, Meshy 7.1 Multi-view, Tripo H3.1 Text to 3D, TripoSplat, Florence-2 OCR, Bria Expand and Image to SVG (VTracer, hosted) run from a Canvas model node or the API; Meshy Rigging only through the API. In the ⌘K palette, 33 models, those of Remove object, Genjutsu, FPS Boost / SDR to HDR / Export and the 3D scene among them, open the filtered Models page instead of their own studio.
+- **Mixed Media on the cloud is a video-to-video restyle**, not Higgsfield's per-frame pipeline (the per-frame route is on an unmerged branch, §4).
+- **Open-engine limits.** ACE-Step makes up to 240 s of music; Faceless loops it with crossfades up to 600 s, and loops (Faceless and Audio → Loop) stop at 600 s on both engines. The joins that keep a clip's sound hold every frame in RAM at 25 fps (about 1 GB per 8 s at 480x848). InfiniteTalk lip re-sync is capped at 40 s per job (for dubs, the whole source length). Whisper captions refuse clips that need more than half the server's RAM (the estimate isn't measured).
- **Qwen-Image-Edit keeps the first image's shape** on the open engine. Photodump, Fashion Factory and Character Sheet turn the aspect picker off and say so; the open Character Sheet asks for a landscape photo first.
-- **Layers:** text detection is cloud only (no open OCR model; on the open engine you type the lines to change). A decomposition that finishes while the editor is closed is laid out only when the project is opened (the server can't decode PNG alpha). Upscale doesn't resize the document; downloads use the layers' detail instead.
-- **Cinema Studio:** Cinema Studio 4.0 runs at up to 720p through the public API. Open routes take no reference clips. 3D recomposition, collaboration and community publishing are out of scope. Spend uses the estimate stored at creation for takes deleted for good, so it can be slightly over-counted.
+- **Layers:** text detection is cloud only on `main` (no open OCR model; on the open engine you type the lines to change). A decomposition that finishes while the editor is closed is laid out only when the project is opened (the server can't decode PNG alpha). Upscale doesn't resize the document; downloads use the layers' detail instead.
+- **Cinema Studio:** Cinema Studio 4.0 runs at up to 720p through the public API. Open routes take no reference clips. Collaboration and community publishing are out of scope. Spend uses the estimate stored at creation for takes deleted for good, so it can be slightly over-counted.
- **Shorts Studio:** the 9:16 crop is a plain centre crop (no subject tracking). Kling O3 4K's 720 px minimum input isn't checked. The one-submit-per-click guard (`requestId`) is in memory, so a restart forgets it.
-- **Marketing:** Click to Ad videos have no logo end card (the logo is used by the Ads Studio compositor and the brand line in prompts). Brand kits are matched by host and port, so one site on two ports gets two kits. An Ad Multiplier reference whose header Fuobe can't read (e.g. WebM) gets a picture-only join.
-- **Faceless / Explainer:** one narration take per episode, re-timed to the scenes; stage two waits for it, so a first render takes a few seconds longer and a narration change takes two passes. Every new channel draws an avatar (about $0.15 on the cloud). Scripts over 64 KB are flushed without keepalive, so the last edit may not survive closing the tab. PDF and Word sources aren't read (Assist projects can read PDFs).
-- **Formats the header reader doesn't know** (WebM, MKV, Ogg on the open engine) fall back to coarse defaults: caption windows to the millisecond, InfiniteTalk at 16:9 and its frame cap, a mux bed as long as the longest known track. Shorts and Mixed Media read WebM headers themselves.
+- **Marketing:** Click to Ad videos have no logo end card on `main` (the logo is used by the Ads Studio compositor and the brand line in prompts). Brand kits are matched by host and port, so one site on two ports gets two kits. An Ad Multiplier reference whose header Fuobe can't read gets a picture-only join.
+- **Faceless / Explainer:** one narration take per episode, re-timed to the scenes; stage two waits for it, so a first render takes a few seconds longer and a narration change takes two passes. Every new channel draws an avatar (about $0.15 on the cloud). Scripts over 64 KB are flushed without keepalive, so the last edit may not survive closing the tab. The first change, retime or Retry of an older Frame by frame episode re-makes all its clips as Ken Burns moves. The cloud Ken Burns zooms only (no pan; it always starts or ends on the whole picture). A plain open ACE-Step bed (no loop) is still cut off when the film gets shorter. Upscale to 1080p is still offered on an episode that is already 1080p (it stops with "already 1080p").
+- **Audio Loop and Join on the cloud:** whole plays (a loop can come out longer than asked; the result says its real length) and hard cuts only.
+- **Clips whose header neither reader knows** (MP4 / MOV and WebM / Matroska are read) fall back to coarse defaults: caption windows to the millisecond, InfiniteTalk at 16:9 and its frame cap, a mux bed as long as the longest known track.
**Library, data and security**
-- Helper steps (features `shorts-step`, `mixed-media-step` and other chain steps) are listed in the Library; there is no filter that hides them yet.
-- Uploads can't be deleted (they need an in-use check first). Folders are flat.
-- `ASSET_REFS` (the tables a permanent delete checks before removing an output file) doesn't list `dub_sessions` or `katana_jobs`. If a dub or Katana job started from a *generated* clip and every generation that used that clip is later deleted for good, the job's row points at a missing file. Uploads are never removed by a permanent delete.
+- "Move to" and "new folder" in the Library's selection bar still act on the whole selection, including results hidden by a search or filter; the count and the other actions follow the shown results.
- Without Web Locks (plain `http://` on a LAN IP) each visible tab reads its own live stream; six or more visible windows on one host could hit the browser's connection limit.
-- **Sign-in is off by default.** Without a password Fuobe answers only on local addresses and names in `FUOBE_ALLOWED_ORIGINS`, but anyone who can reach it can use it (and your keys). With a password, a page that rebinds DNS can still post password guesses; the throttle caps that at roughly 15–20 a minute. Without `FUOBE_TRUST_PROXY=1` behind a reverse proxy, all visitors share one throttle (slowed, never locked out). `comfyLorasDir` and `aiToolkitDatasetDir` make the server write files where you point them.
+- **Sign-in is off by default.** Without a password Fuobe answers only on local addresses and names in `FUOBE_ALLOWED_ORIGINS`, but anyone who can reach it can use it (and your keys). With a password, a page that rebinds DNS can still post password guesses; the throttle caps that at roughly 15–20 a minute. Without `FUOBE_TRUST_PROXY=1` behind a reverse proxy, all visitors share one throttle (slowed, never locked out). `comfyLorasDir` and `aiToolkitDatasetDir` make the server write files where you point them. Save & test lets a signed-in caller make the server fetch a ComfyUI or Ollama address without saving it (saving it already allowed the same).
- `MAX_INLINE_TEXT` caps a result's inline text at 64,000 characters; `meta.cues` of a very long transcript stays inline.
- The first routing check after the Ollama or ComfyUI URL changes can hold a request for up to 1.5 s when the host doesn't answer.
-- Unknown Cinema, Canvas and Assist project ids show a not-found state with HTTP 200; only `/apps/<unknown>` returns a real 404.
**UI leftovers (small)**
-- Canvas: keystroke → paint is 19 ms at 60 nodes and 29 ms at 120 (target 16 ms). Element nodes don't follow a later rename of their element.
-- Video tools → Trim and the Ad Multiplier use simple in/out pickers, not the shared `VideoTrimmer`. `options.sourceLanguages` (spoken language for transcribe models) has no picker.
-- Some buttons still call `navigator.clipboard` directly and fail on plain-http LAN origins (feed, viewer, result actions, Cinema workspace / feed / projects, Layers top bar); `copyText` in `src/lib/clipboard.ts` is the fix. Studio pages nest a second `<main>`.
-- The Edit studio shows prompt suggestions for promptless models (e.g. FASHN). Inpaint's blocker after a new image still asks to add an image. The Video Background Remover app's note says Fuobe has no video matting model; Video tools → Remove background does whole videos. On narrow Assist tiles a "Demo" badge can overlap the "TEXT" label.
+- Canvas: keystroke → paint is 19 ms at 60 nodes and 29 ms at 120 (target 16 ms).
+- Layout shift: in a browser that never opened Home, on an install that is already connected, the Get started card shows briefly once (about 0.16 desktop / 0.38 phone). Home's demo-mode line still shifts the page by about 0.03 for returning users, and a brand-new browser on an install with results shifts about 0.033 on desktop when Recent arrives.
+- At a 4× CPU slowdown, the first visit to Marketing after a hover takes 760–923 ms against 493–649 ms before (pages now prefetch on hover instead of at load).
+- Settings' Engine mode section still sits above the providers. Layers, Captions, Trim and Translate open from the palette without preselecting the picked model.
+- When Assist asks which still to animate, a length given earlier ("for 5 seconds") isn't carried over to the bare-number reply.
+- In Frames mode, reference images left in the draft still count in the folded "N attached" chip but aren't sent.
+- The Faceless wizard can show several `<main>` elements after a client-side navigation, and its phone footer price line wraps between the two buttons.
+- `shell.mjs`'s last step ("Show more focuses the first new card") is timing-sensitive on a cold dev server.
- The files route logged "ReadableStream is already closed" once when a crashed test browser dropped its connections; not reproduced.
**Environment and licences**
-- **Licences:** FLUX.1 / FLUX.2 [dev], inswapper (ReActor), MMAudio weights, USO's FLUX.1 base, ComfyUI-Whisper (opt-in with `NC_PACKS=1`) and TRIBE v2 are non-commercial. HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea. Stable Audio 3 uses the Stability Community licence (free under US$1M revenue); Krea 2 has its own community licence. See `research/comfyui-oss.md`, `-2.md` and `-3.md`.
+- **Licences:** FLUX.1 / FLUX.2 [dev], inswapper (ReActor), MMAudio weights, USO's FLUX.1 base, ComfyUI-Whisper (opt-in with `NC_PACKS=1`) and TRIBE v2 are non-commercial. VOID's weights are Apache-2.0, but its CogVideoX-5B base is under the CogVideoX licence: commercial use only after registering, and at most 1 million service visits a month without a further licence. HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea. Stable Audio 3 uses the Stability Community licence (free under US$1M revenue); Krea 2 has its own community licence. Settings → About & licences lists each open model's licence (a guide, not legal advice). See `research/comfyui-oss.md`, `-2.md`, `-3.md` and `-4.md`.
+- **GPU sizes** (from the manifest, not measured): Remove object and Genjutsu swap / insert on Wan 2.1 VACE 14B need 24 GB (a 34.68 GB fp16 file); VOID 24–40 GB; SeedVR2 in passes 16 GB.
+- **Node packs:** open video upscaling and FPS Boost now need ComfyUI-VideoHelperSuite (core ComfyUI was enough before), and open Vectorize needs ComfyUI-ToSVG. `scripts/comfy/install-comfyui.sh` installs both; on ComfyUI set up another way (for example ComfyUI Desktop), install them yourself. LatentSync 1.6 and ThinkSound run only on the isolated worker (Settings → Isolated worker URL, or `COMFYUI_ISOLATED_URL`); without it those jobs fail with a message naming the setting.
- **Wan 2.1 LoRAs on Wan 2.2:** most viral-effect LoRAs were trained for Wan 2.1 I2V; some may need a lower strength or only the low-noise expert.
-- **Sunsets:** Sora 2's API was retired (2026-09-24), so it isn't offered; Veo 3.1 on fal ends 2026-11-17 (the Replicate route stays).
-- **Headless Chromium has no H.264**, so video checks here used WebM and demo MP4 thumbnails look blank in screenshots; MP4 playback is unaffected in normal browsers.
-- **Dev server:** after adding routes, or after an edit to `globals.css`, Turbopack's cache can get stuck or serve stale styles. `pnpm dev:clean` clears `.next` and restarts.
+- **Sunsets:** Sora 2's API was retired (2026-09-24), so it isn't offered; Veo 3.1 on fal ends 2026-11-17 (the Replicate route stays). Kling 4.0's fal routes are playground-only, so it isn't offered.
+- **Headless Chromium has no H.264**, so video checks here used WebM and demo MP4 thumbnails look blank in screenshots; for the same reason Remove object and Genjutsu showed their first-frame fallbacks in the browser checks. MP4 playback is unaffected in normal browsers.
+- **Dev server:** after adding routes, or after an edit to `globals.css`, Turbopack's cache can get stuck or serve stale styles. `pnpm dev:clean` clears `.next` and restarts. Without `.next`, `pnpm typecheck` fails on the route type globals until `pnpm exec next typegen` (or a dev or build run) has made them.
## 4. What's next (prioritized)
-1. **Live-key smoke test** of the round-3 cloud routes with the highest risk: Seedream 5.0 Layers, Recraft V4 Styles (style id), FASHN, Mirelo SFX / Sonilo, Scribe v2, Auto Subtitle / VEED, Hunyuan3D 3.1, Gemini Omni Flash edit, the fal FFmpeg tools (compose, loudnorm, forced alignment, scale-video, extract-audio), HeyGen / ElevenLabs dubbing, Higgsfield Cinema Studio 4.0 with reference clips, Ads Studio and Soul 2.0 + Soul ID; then a first real Assist conversation on Claude and on Ollama, with a skill and a project. Fix any schema surprises.
-2. **GPU run** of the round-3 open set: Qwen-Image-Layered, Qwen-Image-Edit Style Reference, Z-Image Turbo · Palette, Wan 2.2 Fun VACE restyle, Z-Image Mixed Media, Stable Audio 3, MelBand + Qwen3-ASR, Chatterbox, InfiniteTalk lip re-sync, TRELLIS.2 and the FLUX.2 [klein] try-on; then one whole open UGC film, Faceless episode and dub. Record VRAM and timings and tune defaults.
-3. **Wire Assist and MCP into the studios:** register the `STUDIO_ROUTES` adapters (Layers, Shorts, dub / captions, Ads, Faceless) so jobs open as real sessions; name `katana` in the system prompt and MCP instructions; point the skills' `studio:` links at `/faceless`, `/katana`, `/ads/multiplier`, `/marketing` and `/character-sheet`.
-4. **Close the engine seams:** the cloud dub background through `ffmpeg-compose`; a per-frame cloud Mixed Media pipeline; an open audio concat / loop (music beyond 240 s) and an open pan / zoom workflow for Frame by frame; an open OCR model for Layers; LatentSync and ThinkSound offered in Lipsync and Sound effects; PDF and Word sources in the Explainer (Assist's `unpdf` reader could serve it); a logo end card for Click to Ad.
-5. **Library:** hide `*-step` helper generations by default, nested folders and pins, deleting uploads safely, and `ASSET_REFS` entries for the dub and Katana tables.
-6. **UI clean-up:** the shared `VideoTrimmer` in Trim and the Ad Multiplier, a spoken-language picker for transcription, `copyText` everywhere, real 404s for unknown project ids.
+1. **Finish and merge the round-4 packages in flight.** They are built on branches, not on `main`:
+ - **Layers OCR** (`layers-ocr`; reviewed and fixed): text detection on both engines (OvisOCR3 on ComfyUI; Florence-2 as a cheaper cloud detector next to Ideogram 3.0), Higgsfield's Inpaint and Enhancer tools, and Save as Element.
+ - **Content Factory** (`content-factory`; reviewed and fixed): `/content-factory`, a series of Faceless episodes styled after a reference clip, a link or a preset, with "Generate in Claude" for the MCP route.
+ - **Mixed Media per frame and the Click to Ad end card** (`marketing-mixed`; reviewed, the fix stage hasn't run): cloud Mixed Media redrawing each frame, and a logo end card on both engines.
+ - **AI Influencer builder** (`influencer-builder`; review and fix haven't run): `/influencer`, Higgsfield's game-style builder (19 categories, 180 options) generated from the research.
+ - **Originals O1, LoRA plumbing** (reviewed and fixed): LoRA stacks on both engines, a generated library of 114 LoRAs with pinned versions, hashes and licence snapshots, downloads checked before a ComfyUI run, and copies to fal or Replicate only where the licence allows hosting.
+ - **Originals O8, the evaluation harness** (`fuobe eval`, metrics, blind A/B review, promote, preset covers): merged into the integration branch `claude/fuobe-parity-4` only.
+2. **The rest of round 4**, not started: `3d-plus`, `canvas-plus`, `share-links` and `assist-connectors`.
+3. **Fuobe Originals**, open-weight versions of Higgsfield's own products ([`fuobe-originals-recipes-5.md`](research/fuobe-originals-recipes-5.md)): O2 Fuobe Soul (Soul v1, Soul 2.0, Soul Cinema and HEX on Z-Image Turbo with LoRAs), O3 Soul ID and personal moodboards (training), O4 DoP (camera motions, Mix and effects), O5 Genjutsu, O6 Cinema Studio and Soul Cast / Location, then O7, removing the Higgsfield provider. After that: O9 Mixed Media and Shorts on hosted open models, O10 Marketing, Ads, AI Influencer, Photodump and Fashion on Originals, O11 the rebranded open tools, Speak and finishing, O12 Fuobe's own LoRAs and the motion library, O13 Popcorn, Evolution and Effects 2.0. No Original counts as verified until the harness has measured it on a GPU or with a paid key.
+4. **Live-key smoke test** of the riskiest cloud routes: round 3's (Seedream 5.0 Layers, Recraft V4 Styles, FASHN, Mirelo SFX / Sonilo, Scribe v2, Auto Subtitle / VEED, Hunyuan3D 3.1, Gemini Omni Flash edit, the fal FFmpeg tools, HeyGen / ElevenLabs dubbing, Cinema Studio 4.0 with reference clips, Ads Studio, Soul 2.0 + Soul ID) and round 4's (Topaz Video by size, ByteDance / Starlight / FLUX.3 Upscale, Topaz FPS Boost and SDR to HDR, the Bria erasers, VOID, SAM 3.1, hosted VACE, Genjutsu Lite, FLUX 3 Max keyframes, Marigold V2, fal's Ken Burns and merge-audios, the cloud dub mix); then a first real Assist conversation on Claude and on Ollama, with a skill and a project. Fix any schema surprises.
+5. **GPU run** of the open sets: round 3's (Qwen-Image-Layered, Qwen-Image-Edit Style Reference, Z-Image Turbo · Palette, Wan 2.2 Fun VACE restyle, Z-Image Mixed Media, Stable Audio 3, MelBand + Qwen3-ASR, Chatterbox, InfiniteTalk lip re-sync, TRELLIS.2, the FLUX.2 [klein] try-on) and round 4's (Wan 2.1 VACE remove / swap / insert, VOID, Wan Animate 2, SeedVR2 in passes and its seams, a Frames film, the MoGe → Qwen re-render, a full open Faceless render); then one whole open UGC film, Faceless episode and dub. Record VRAM and timings and tune defaults.
+6. **Round-4 follow-ups:** palette entries for the new studios (`MODEL_STUDIOS` / `TOOL_PAGES` in `src/lib/palette-index.ts`); Assist / MCP tools for Genjutsu and Remove object; an open crossfade join for Remove object's windows; FPS Boost, SDR to HDR and EXR in passes; "Move to" on the shown selection only.
7. **Virality Predictor:** an optional, clearly non-commercial TRIBE v2 worker (`docs/workers/tribe-v2.md`).
-8. **Accounts:** several users with their own libraries, shareable links, a community feed.
-9. **Real preview media** for apps, motions, effects and studio presets (the previews are procedural today).
+8. **Accounts:** several users with their own libraries and a community feed.
+9. **Real preview media** for apps, motions, effects and studio presets (the previews are procedural today); once the O8 harness is merged, it can turn reviewed GPU or cloud renders into covers.
## 5. How to reproduce the checks
```bash
pnpm install
-pnpm typecheck && pnpm lint && pnpm test && pnpm build
+pnpm typecheck && pnpm lint && pnpm test && pnpm build # in a checkout without .next, run `pnpm exec next typegen` (or a dev or build run) before typecheck
```
Browser checks need the app running (`pnpm dev`, or `pnpm build && pnpm start`); demo mode with no keys is fine. They use Playwright: the repo's `playwright` / `playwright-core` if it resolves, else a global install, and `$CHROMIUM_PATH` or the newest `/opt/pw-browsers/chromium-*`.
```bash
pnpm test:e2e:mobile http://localhost:3000 # tests/e2e/no-horizontal-scroll.mjs: every route at 390 px, light and dark (--light / --dark, --routes=/a,/b)
-pnpm test:e2e:shell http://localhost:3000 # tests/e2e/shell.mjs: phone drawer, collapsed groups, settings deep link, keyboard Show more
-node tests/e2e/composer-flows.mjs http://localhost:3000 # first paint, typing before hydration, paste once, upload cancel, phone toolbar
+pnpm test:e2e:shell http://localhost:3000 # tests/e2e/shell.mjs: skip link, landmarks, ⌘K palette, phone drawer and Search, full-screen studios, settings deep link
+pnpm test:e2e:library http://localhost:3000 # tests/e2e/library-flows.mjs: helper steps, pins, review status, nested folders, zips, upload delete, Select all, 390 px (--keep leaves its tagged test data)
+node tests/e2e/composer-flows.mjs http://localhost:3000 # first paint, typing before hydration, paste once, upload cancel, phone toolbar and blocker line
+node tests/e2e/notifications.mjs http://localhost:3000 # job notifications and the running count in the tab title
+node tests/e2e/clipboard.mjs http://localhost:3000 # Copy buttons without the Clipboard API (a plain-http LAN address), read back from the clipboard
node tests/e2e/layers.mjs http://localhost:3000 # Layers regressions (projects page, deep links, edits during a save, open-engine Control)
+node tests/e2e/cinema-scene.mjs http://localhost:3000 # 3D scene: ask first, point cloud, fly, Capture → recompose, the MoGe mesh at 390 px (WebGL on SwiftShader)
node tests/e2e/canvas-smoke.mjs http://localhost:3000 --perf=60 # save on leave, rename, trash → re-run, keystroke timing
-node tests/e2e/cinema-shortcuts.mjs http://localhost:3000 # Ctrl/Cmd+Enter only from the prompt bar
+node tests/e2e/cinema-shortcuts.mjs http://localhost:3000 # Ctrl/Cmd+Enter only from the prompt bar; the new-project name and the phone Director chip
node tests/e2e/assist-flows.mjs http://localhost:3000 # skills menu, remember, projects, skill upload, modes, phone sheet
```
+`layers.mjs` and `cinema-scene.mjs` expect their open-engine step to run as a demo: run them while no ComfyUI is reachable. Demo stills are SVG placeholders a real ComfyUI can't read, and the Layers step needs the Qwen-Image-Layered weights.
+
The open-source engine against a live ComfyUI (no model weights needed):
```bash
-bash scripts/comfy/install-comfyui.sh # ComfyUI v0.41 + 14 custom node packs at pinned commits (CPU; NC_PACKS=1 adds ComfyUI-Whisper)
+bash scripts/comfy/install-comfyui.sh # ComfyUI v0.41 + 15 custom node packs at pinned commits (CPU; NC_PACKS=1 adds ComfyUI-Whisper)
bash scripts/comfy/start-comfyui.sh # 127.0.0.1:8188, or point COMFYUI_URL at your own server
pnpm build && pnpm start &
pnpm test:e2e:comfyui http://localhost:3000 # tests/e2e/comfyui-selftest.mjs: self-tests, mux (one track and voice + bed), meta-batch, trim, segment, captions; a 600-frame clip with RSS sampling; ffprobe/ffmpeg checks when installed
+node tests/e2e/comfyui-faceless-plus.mjs http://localhost:3000 # Ken Burns, the packet-copy join, a crossfaded loop and join; needs ffmpeg / ffprobe on PATH, and demo mode off (or nothing else configured); on Linux it also samples ComfyUI's memory (found with pgrep, or set COMFYUI_PID)
```
Re-export and re-validate the workflow library (needs ComfyUI running; never runs a model):
@@ -254,4 +289,6 @@ ISO_DIR=/srv/comfyui-isolated bash install-isolated-worker.sh # optional second
COMFYUI_URL=http://127.0.0.1:8189 COMFYUI_MODELS_DIR=$HOME/ComfyUI/models node validate-workflows.mjs lipsync-latentsync16 sfx-thinksound --shared
```
+The `fuobe` CLI is covered by `pnpm test`; to use it against a running server, see [`docs/cli.md`](cli.md) (`npm link`, or `node bin/fuobe.mjs …`).
+
`node scripts/gen-demo-3d.mjs` regenerates the demo GLB and turntable (needs ffmpeg); `pnpm gen:catalog` regenerates the catalog from `docs/research/*.json`.
diff --git a/docs/research/README.md b/docs/research/README.md
index af8f6835..0fc99e99 100644
--- a/docs/research/README.md
+++ b/docs/research/README.md
@@ -6,16 +6,22 @@ Everything Fuobe's catalog is built from. JSON files are machine-readable and fe
|---|---|---|
| [`higgsfield-inventory.md`](higgsfield-inventory.md) / [`.json`](higgsfield-inventory.json) | Higgsfield as of 2026-10: navigation, 67 features with UX flows, 32 image + 43 video models, 94 apps, 113 camera motions, 274 effects, pricing, API | Preset catalog (`src/lib/catalog/apps.ts`, `motions.ts`), the [STATUS](../STATUS.md) feature matrix |
| [`paid-model-apis.md`](paid-model-apis.md) / [`.json`](paid-model-apis.json) | 517 fal.ai / Replicate / vendor endpoints with exact input fields, enums, defaults, outputs and prices (499 verified from fal's OpenAPI files); fal and Replicate protocol notes; sunsets | `scripts/gen-cloud-models.py` → `src/lib/catalog/cloud-models.generated.ts` |
-| [`higgsfield-api.md`](higgsfield-api.md) / [`.json`](higgsfield-api.json) | Higgsfield's public API: auth, the request lifecycle, uploads, 101 endpoint records (Soul, Soul ID, Genjutsu, Cinema Studio, Marketing Studio, DoP and the hosted third-party models) with full inputs and prices; documentation-derived, no live call | `src/server/providers/higgsfield.ts`, `scripts/gen-higgsfield-models.py` → `src/lib/catalog/higgsfield-models.generated.ts` |
+| [`higgsfield-api.md`](higgsfield-api.md) / [`.json`](higgsfield-api.json) | Higgsfield's public API: auth, the request lifecycle, uploads, 103 endpoint records (Soul, Soul ID, Genjutsu, Cinema Studio, Marketing Studio, DoP and the hosted third-party models, plus the two Genjutsu Lite records (titled "Genjutsu Light" on the API) copied in round 4 from `paid-model-apis-4.json`) with full inputs and prices; documentation-derived, no live call | `src/server/providers/higgsfield.ts`, `scripts/gen-higgsfield-models.py` → `src/lib/catalog/higgsfield-models.generated.ts` |
| [`paid-model-apis-2.md`](paid-model-apis-2.md) / [`.json`](paid-model-apis-2.json) | Part 2: 202 fal / Replicate endpoints for multi-shot, draft mode, extend, reframe, relight, inpaint, voices, dialogue, voice change, dubbing, LoRA training, draw-to-video and storyboards; the ElevenLabs premade voices | `scripts/gen-cloud-models.py` (merged with part 1), training targets in `src/lib/catalog/training.ts` |
| [`paid-model-apis-3.md`](paid-model-apis-3.md) / [`.json`](paid-model-apis-3.json) | Part 3: 206 fal / Replicate endpoints (197 new, 9 re-verified for palette/style fields) for Layers (Seedream layerize with boxes, Qwen-Image-Layered, Ideogram text layers, OCR, vectorize), moodboards and palettes (Recraft Styles, Ideogram 3 color_palette, Krea style, Redux), video restyle (HappyHorse, Lucy Edit, Aleph 2, Kling O3 4K, LTX IC-LoRA, Recast), ffmpeg/trim/frame utilities, transcription and burned captions, SFX and music (Mirelo, Sonilo, Stable Audio 3, Beatoven, CassetteAI, Lyria, Seed Audio), lipsync, product shots, image-to-3D, try-on, multi-angle/next-scene grids, explainer/UGC; output schemas as `outputFields`; per-feature recommendations; Higgsfield API re-check | `scripts/gen-cloud-models.py` (merged with parts 1 and 2: round 3 grew the generated catalog from 86 to 147 cloud models, 59 of the 61 new ones on part-3 endpoints), the hidden fal tools in `src/lib/catalog/models.ts`, `src/lib/catalog/shorts-models.ts`, `src/lib/layers.ts`, `tests/cloud-catalog.test.ts`, `tests/cloud-catalog-fixes.test.ts`, `tests/outputs.test.ts` |
+| [`paid-model-apis-4.md`](paid-model-apis-4.md) / [`.json`](paid-model-apis-4.json) | Part 4 (2026-10-22): 114 endpoint records (89 fal, 22 Replicate, 2 Higgsfield, 1 World Labs; 100 new, 14 re-verified) for the round-4 features: erasing an object from a video, swapping or inserting one from a reference image, FPS boost and slow motion, SDR to HDR, pro codecs, FFmpeg compose (Ken Burns, slideshows, end cards, audio loops), OCR with boxes for Layers, Cinema Studio's 3D scene and recomposition, and the models released 2026-09-15 to 2026-10-22; recommended defaults, adapter quirks, gaps; schemas and prices only, no paid call | `scripts/gen-cloud-models.py` (merged with parts 1–3: round 4 grew the generated catalog from 147 to 191 cloud models, 40 of the 44 new ones on part-4 endpoints), Remove object (`src/lib/catalog/remove-object.ts`, `src/server/remove-object.ts`), Genjutsu (`src/lib/catalog/genjutsu.ts`), the 3D scene (`src/lib/scene3d.ts`, `src/lib/catalog/cinema.ts`), `tests/cloud-catalog.test.ts`, `tests/cloud-catalog-4.test.ts`, `tests/outputs.test.ts` |
| [`comfyui-oss.md`](comfyui-oss.md) / [`.json`](comfyui-oss.json) | Best open-weight model per capability (23 capabilities, 122 ranked options) with files, URLs, settings, VRAM, licenses; 170 LoRAs (camera, VFX, style, speed) with triggers; ComfyUI API notes | Open model choices in `src/lib/catalog/models.ts`, `scripts/gen-oss-loras.py` → `src/lib/catalog/oss-loras.generated.ts` |
| [`comfyui-oss-2.md`](comfyui-oss-2.md) / [`.json`](comfyui-oss-2.json) | Open-weight answers to the remaining gaps: Chatterbox / IndexTTS-2 voice cloning and dialogue, voice conversion, VACE extend/reframe, Wan-Move, relight, video matte and depth, multi-shot concat, next-scene storyboards, AI-Toolkit character LoRAs; full graphs validated against a live ComfyUI with pinned node packs | The 20 workflows it added (`scripts/comfy/library.spec.mjs`, `scripts/comfy/build-library.mjs`), open models in `src/lib/catalog/models.ts`, `aiToolkitJob` in `src/lib/catalog/training.ts`, pins in `scripts/comfy/install-comfyui.sh` |
| [`comfyui-oss-3.md`](comfyui-oss-3.md) / [`.json`](comfyui-oss-3.json) | Part 3: open-weight ComfyUI routes for the round-3 features — Qwen-Image-Layered (+ Layered-Control), style references for moodboards, a Z-Image hex-palette graph, segment cutting and Wan 2.2 Fun VACE restyle, per-frame Mixed Media, Stable Audio 3 / Foley / ThinkSound SFX, MelBand + Qwen3-ASR dub preparation, ASR captions and burn-in, Qwen3.5 / Gemma 4 translation, InfiniteTalk / LatentSync lip re-sync, TRELLIS.2 / Hunyuan3D 2.1, FLUX.2 [klein] try-on, contact-sheet grids and Soul Cast sheets; 29 graphs validated on a live ComfyUI with pinned packs, real CPU runs of segments and burn-in, licences, weights and risks | The 29 hand-built graphs of the "comfyui-oss-3" section of `scripts/comfy/library.spec.mjs` (`scripts/comfy/hand-built/`), `scripts/comfy/build-library.mjs`, pack pins in `scripts/comfy/install-comfyui.sh` and `scripts/comfy/install-isolated-worker.sh`, the round-3 open models in `src/lib/catalog/models.ts`, `tests/open-engine.test.ts` |
-| [`comfyui-workflow-library.md`](comfyui-workflow-library.md) | The ComfyUI library as of round 2 (73 workflows, incl. the 20 comfyui-oss-2 additions): sources, validation results, bindings, models and sizes, custom nodes, quirks. Of the 42 workflows added in round 3 (115 in all), 31 are described in [`scripts/comfy/README.md`](../../scripts/comfy/README.md) ("Round-3 workflows"); the other 11 (`selftest-meta-batch`, `frame-extract`, `v2a-hunyuan-foley`, `product-shot-qwen-edit-2509`, `audio-timeline` and the six `video-concat-sound{1,2}-{2,3,4}` joins) only in their manifest notes and `scripts/comfy/library.spec.mjs` | `workflows/comfyui/manifest.json`, `src/server/providers/comfyui.ts`, `scripts/comfy/library.spec.mjs` |
+| [`comfyui-oss-4.md`](comfyui-oss-4.md) / [`.json`](comfyui-oss-4.json) | Part 4 (2026-10-22): open-weight ComfyUI routes for round 4 — text lines with boxes for Layers (OvisOCR3 / Qwen3.5 through core `TextGenerate`), erasing an object from a video (Wan 2.1 VACE 14B + SAM 3.1, by name or painted; Netflix VOID for shadows and reflections), swap and insert (the Genjutsu equivalents), Ken Burns over a still, audio loops and joins with crossfades, FPS boost and pro output formats, still to clip and a logo end card, new open models 2026-09-15 to 2026-10-22, and the critic's additions (a MoGe scene mesh for Cinema's 3D scene, subject splats, reference-video briefs); 14 researched graphs plus the critic's 3, all accepted by a live CPU ComfyUI with no new node packs, 10 run for real on CPU (the 8 model-free ones, OCR and the critic's MoGe scene mesh); licences, VRAM, weights and risks | The 17 hand-built graphs of the "comfyui-oss-4" section of `scripts/comfy/library.spec.mjs` (`scripts/comfy/hand-built/`), `scripts/comfy/build-library.mjs`, the Remove object and Genjutsu open models in `src/lib/catalog/models.ts`, `src/lib/catalog/remove-object.ts`, `src/lib/catalog/genjutsu.ts`, the 3D scene (`src/lib/scene3d.ts`, `src/lib/catalog/cinema.ts`), Ken Burns, crossfades and FPS Boost maths (`src/lib/av/ken-burns.ts`, `crossfade.ts`, `fps.ts`), `tests/comfy-library-4.test.ts`, `tests/video-finish.test.ts` |
+| [`comfyui-workflow-library.md`](comfyui-workflow-library.md) | The ComfyUI library as of round 2 (73 workflows, incl. the 20 comfyui-oss-2 additions), plus the 17 comfyui-oss-4 workflows of round 4 (its section 11): sources, validation results, bindings, models and sizes, custom nodes, quirks. The library now has 139 workflows. Of the 42 added in round 3 (115 then), 31 are described in [`scripts/comfy/README.md`](../../scripts/comfy/README.md) ("Round-3 workflows"); the other 11 (`selftest-meta-batch`, `frame-extract`, `v2a-hunyuan-foley`, `product-shot-qwen-edit-2509`, `audio-timeline` and the six `video-concat-sound{1,2}-{2,3,4}` joins) only in their manifest notes and `scripts/comfy/library.spec.mjs`. Of the other 7 added in round 4, the five video-finishing graphs (`interpolate-rife-fps`, `upscale-video-esrgan-chunked`, `upscale-video-seedvr2-chunked`, `video-export-pro-chunked`, `video-sdr-to-hdr-exr`) are in `scripts/comfy/README.md` ("Round-4 video finishing"); `image-vectorize-vtracer` and `video-concat-encoded` only in their manifest notes and `scripts/comfy/library.spec.mjs` | `workflows/comfyui/manifest.json`, `src/server/providers/comfyui.ts`, `scripts/comfy/library.spec.mjs` |
| [`higgsfield-studios.md`](higgsfield-studios.md) / [`.json`](higgsfield-studios.json) | Screen-level research for Cinema Studio 4.0 (workspace, Director's Panel with all 50 palettes + hex, 7 lighting presets, 33 camera moves, Emotion Wheel, Soul Cast fields, image grid/3D, video modes, limits, validation copy, credit costs), Shorts Studio (44 presets), Mixed Media (33 presets), Instadump; Fuobe build plan per feature | Cinema Studio (`src/lib/catalog/cinema.ts`, `tests/cinema.test.ts`), Shorts Studio (`src/lib/catalog/shorts.ts`), Mixed Media (`src/lib/catalog/mixed-media.ts`) |
| [`higgsfield-image-studios.md`](higgsfield-image-studios.md) / [`.json`](higgsfield-image-studios.json) | Screen-level UX of Layers (decomposition settings and cost, 11 editor tools, Edit text, exact zip exports), Photodump / Instadump (packs with photo counts), Fashion Factory (6 templates, 5 steps), Moodboards (5–80 images, 33 curated), Soul HEX (50 palettes with exact hex, manual editor rules), all 106 Soul v1 + 33 Soul 2.0 presets with ids and categories, Character Sheet / Soul Cast options, Soul Location; open and cloud routes and a Fuobe build plan | `scripts/gen-higgsfield-presets.py` → `src/lib/catalog/higgsfield-presets.generated.ts`; `src/lib/catalog/palettes.ts` (Soul HEX), `src/lib/catalog/packs.ts` (Photodump, Fashion Factory, Character Sheet), Soul Cast / Location in `src/lib/catalog/cinema.ts`, `src/components/photodump/subject.tsx`, the Layers studio (`src/lib/layers.ts`) |
| [`higgsfield-marketing-agents.md`](higgsfield-marketing-agents.md) / [`.json`](higgsfield-marketing-agents.json) | Marketing Studio (7 categories, 17 formats, 1,074 templates, 9 UGC hooks, 14 settings, the job builders and limits), Brand Kit and products, Ads Studio, Ad Multiplier, Click to Ad, Faceless Studio and Explainer (styles, genres, lengths, costs), Canvas (node menu, templates), Katana, Virality Predictor (output fields, TRIBE v2), the Assets library, and Supercomputer's Skills, Projects and Memory; a Fuobe build plan | `src/lib/catalog/marketing.ts` (Marketing Studio, Ads Studio, Ad Multiplier, Click to Ad), `src/lib/catalog/faceless.ts` and `tests/faceless.test.ts` (Faceless, Explainer), Canvas (`src/lib/catalog/canvas.ts`), Katana (`src/lib/av/katana.ts`), Virality (`src/lib/av/virality.ts`, `docs/workers/tribe-v2.md`), the Library (`src/server/library.ts`), Assist skills, projects and memory (`skills/`, `src/server/skills.ts`, `src/server/assist/projects.ts`, `src/server/assist/memory.ts`) |
+| [`higgsfield-delta-4.md`](higgsfield-delta-4.md) / [`.json`](higgsfield-delta-4.json) | What changed at Higgsfield between the round-3 inventory and 2026-10-22, read from the changelog, the production web bundle, its i18n catalogs and public endpoints (logged-in screens not observed): new changelog entries, unannounced studios found in the bundle (Content Factory, 3D Jutsu, Evolution…), new models, a prioritized table of 22 gaps, and screen-level detail for Remove object, Genjutsu and Genjutsu Lite, the Upscale and video-tools menu (FPS Boost, SDR to HDR, codecs, Depth Map and Remove Background options), Cinema Studio's 3D scene, the AI Influencer builder, Content Factory, Canvas extras, per-frame Mixed Media, the Assets library and Community, notifications, Higgsfield's CLI and skills; verified plan prices | The round-4 work and the [STATUS](../STATUS.md) gap list: Remove object (`src/lib/catalog/remove-object.ts`), Genjutsu (`src/lib/catalog/genjutsu.ts`), Higgsfield's four video upscalers in `scripts/gen-cloud-models.py`, the Remove background and Depth map options (`tests/video-tool-options.test.ts`), the 3D scene and its viewer (`src/lib/scene3d.ts`, `src/lib/catalog/cinema.ts`, `src/components/cinema/scene-viewer.tsx`) |
+| [`higgsfield-originals-5.md`](higgsfield-originals-5.md) / [`.json`](higgsfield-originals-5.json) | What each of Higgsfield's 22 in-house products is built on, with 101 evidence items rated confirmed, likely, speculative or unknown (help center, blog, changelog, the production web client, public cost endpoints, price fingerprints). The answer is partly yes: some are open models with public LoRAs under a Higgsfield name (Angles, Animate / Recast, Infinite Talk, Depth Map, Remove Background), some are partner models with Higgsfield's prompts and UI (Cinema Studio 4.0 on Seedance 2.5, Shorts on Gemini Omni Flash, Marketing Studio Image and Ads Studio on GPT Image 2.5), and Soul, Soul ID and DoP are self-hosted bases with LoRA presets. Also the rule from Higgsfield's Terms of Use: Fuobe never trains on Higgsfield outputs or preview media | Not used by code yet: planning research for the Fuobe Originals series (see [STATUS](../STATUS.md), "What's next") |
+| [`fuobe-originals-recipes-5.md`](fuobe-originals-recipes-5.md) / [`.json`](fuobe-originals-recipes-5.json) | Open-weight recipes to rebuild each of those products as a Fuobe Original, on ComfyUI and on hosted open models: 45 hosted LoRA endpoints (37 fal, 8 Replicate) with fields, limits and prices, trainers, the licence rule (Apache/MIT bases or LTX-2.x only), Fuobe Soul (Z-Image Turbo with three LoRA slots), all 139 Soul presets mapped (16 should get a Fuobe-trained LoRA), motions and effects, studio recipes (Genjutsu, Mixed Media, Cinema Studio, Upscale, Speak and others), what replaces each Higgsfield model when the provider is removed, and a 14-package build plan (O0 to O13). Nothing was run on a GPU or a paid API, so none of it is a quality result | Not used by code yet: planning research for the Fuobe Originals series. It records a decision to stop calling Higgsfield, which the code doesn't act on yet: the Higgsfield provider is still used |
+| [`ux-audit-4.md`](ux-audit-4.md) | UX and speed audit of Fuobe at `d781de1` (round 3), measured against Liner's design language and Higgsfield's flows: cold loads, route changes and interactions at 1440 px and 390 px (CPU slowed 4x), JavaScript per route, axe accessibility results, layout shift, what already works, and ranked findings (P0 to P3), each with its route, component, evidence and fix; no code changed | Round 4's onboarding, shell and flow work: Save & test and the Get started card (`src/components/settings-form.tsx`, `src/components/get-started.tsx`, `src/lib/connections.ts`, `tests/connections.test.ts`), the Assist offline planner (`src/server/assist/agent.ts`, `tests/assist-suggestions.test.ts`), Home's Start (`src/components/home-view.tsx`), the skip link, landmarks and ⌘K palette (`src/components/app-sidebar.tsx`, `src/components/command-palette.tsx`) |
| [`liner-ui.md`](liner-ui.md) | Liner's (liner.com — liner.app itself is a parked domain) design language: tokens, layout, composer, microcopy; the Fuobe theme derived from it | `src/app/globals.css`, `src/components/studio/` |
To refresh: re-run the research, then `pnpm gen:catalog` (cloud models, Higgsfield models and presets, LoRA map) and `pnpm test` (catalog integrity tests catch broken references). Workflow changes go through `scripts/comfy` (`npm run build -- <ids>` and `node validate-workflows.mjs <ids>` against a live ComfyUI).