The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Merge origin/main into local/premium-previews-llm-3d (Fixes 5, Skills W2, round-5 docs)
Adarsha05b277818b7
diff --cc README.mdindex 36f46895,15f8130a..61df599b--- a/README.md+++ b/README.md@@@ -1,38 -1,43 +1,43 @@@# Fuobe**An open-source AI image, video and audio studio — a 1:1 alternative to Higgsfield.**- 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…) with your own fal.ai / Replicate key, **or** run the equivalent open-weight workflows on your own GPU through **ComfyUI**. Same studio, same apps, same camera motions — flip one switch. Fuobe's own rebuilds of Higgsfield's in-house models, the **Fuobe Originals** (Fuobe Soul, DoP, Cinema and Genjutsu so far, plus Soul ID training), run either way. Higgsfield is never called: Soul, Cinema Studio and Genjutsu runs, saved setups and Assist plans from before open on the Original that replaced them. Licences are information, not gates: **Settings → Models & licences** shows the licence of every model, LoRA and node pack, everything starts switched on, and whoever runs the install switches off what doesn't fit.+ 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…) with your own fal.ai / Replicate key, **or** run the equivalent open-weight workflows on your own GPU through **ComfyUI**. Same studio, same apps, same camera motions — flip one switch. Fuobe's own rebuilds of Higgsfield's in-house models, the **Fuobe Originals** (Fuobe Soul, DoP, Cinema, Genjutsu, Marketing Image, Try-On, Mixed Media, Shorts, Evolution, Angles and Speak so far, plus Soul ID training), run either way. Higgsfield is never called: Soul, Cinema Studio, Genjutsu, Marketing Studio Image, Ads Studio and AI Influencer runs, saved setups and Assist plans from before open on the Original that replaced them. Licences are information, not gates: **Settings → Models & licences** shows the licence of every model, LoRA and node pack, everything starts switched on, and whoever runs the install switches off what doesn't fit.-- **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**. **Scheduled tasks** run a request daily, weekly, every 1–168 hours or once, in your time zone; each run is a new chat that asks before it generates, or runs on its own within a cost cap ($2 a run by default). Your own **MCP connectors** (remote MCP servers, added in Settings → Assist · connectors) give Claude chats another app's tools: Anthropic's servers call them, so a local one needs a public tunnel, and their tools run without asking Fuobe, so each connector's Allowed tools list is the safeguard. Runs on Claude, a local Ollama model, or an offline planner (connectors need Claude)+- **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**. **Scheduled tasks** run a request daily, weekly, every 1–168 hours or once, in your time zone; each run is a new chat that asks before it generates, or runs on its own within a cost cap ($2 a run by default). Your own **MCP connectors** (remote MCP servers, added in Settings → Assist · connectors) give Claude chats another app's tools: Anthropic's servers call them, so a local one needs a public tunnel, and their tools run without asking Fuobe, so each connector's Allowed tools list is the safeguard. Runs on Claude, a local model (Ollama, LM Studio, Unsloth Studio or another OpenAI-compatible server), or an offline planner (connectors need Claude)- - **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, the Character Swap Studio, Remove object, Content Factory, the AI Influencer builder and Layers' Inpaint, Enhancer and Save as element aren't tools yet) and the skills as prompts. `npx skills add workingprototype/Fuobe` installs the skills in other agents+ - **Skills that run by themselves:** **Make a skill from this…** (the ⋯ menu on a result) or **Make a skill** (the Library's selection bar) turns the steps behind your results, Edit and Animate chains made by hand included, into a skill of your own: pick the inputs that change next time, check it for free, save it. In **Assist → Skills**, a skill with a recipe (`recipe.json`: its steps and inputs) says "Runs by itself" and gets a **Run…** form: typed inputs, the price before it starts, the steps, and a Many tab for up to 50 CSV rows. No chat or AI is involved. A skill must pass a free check on an engine before it runs there, and asks for a new check when a model it uses is retired, switched off or repriced. ⌘K has "Run a skill", and a skill downloads as a .zip with its files. Translate & dub, Katana and Captions results can become skills; results from other studios are refused for now, naming the studio+ - **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, the Character Swap Studio, Remove object, Content Factory, the AI Influencer builder, Evolution and Layers' Inpaint, Enhancer and Save as element 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). `--engine` also picks an Original's engine, and `--look` a Fuobe Soul look (`fuobe generate --help` lists it; cli.md doesn't yet)- **Fuobe Originals:** each is one model that runs on both engines, built on open-weight models and public LoRAs: free on your GPU through ComfyUI, or paid on fal or Replicate, with no Higgsfield call- - **Fuobe Soul**, **Fuobe Soul HD** and **Fuobe Soul Cinema** (Image studio) — a Look picker with 139 looks in two sets named after Higgsfield's versions (Soul 2.0: 33, Soul: 106), with categories, search, drawn covers and a Strength slider. Attach a picture and Fuobe Soul restyles it with the look. Soul HD (Qwen-Image 2512) is for lettering; Soul Cinema has one film look and 21:9. Your browser finishes each result (crop, grade, overlays such as DigitalCam's date stamp) and keeps the raw picture. 87 looks use civitai LoRAs: without a civitai key, a run leaves those out and says so- - **Fuobe DoP** (Wan 2.2) and **Fuobe DoP · LTX** (LTX-2.3) — the camera motions and effects as recipes: a move's LoRAs, a camera LoRA or (on your GPU) a Fun Camera pose, a colour grade or a relight where it has one, else its words. On the open engine, picking a move in the Video studio switches to the model it runs on (a few run on LTX-2.5). In the cloud, 152 of the 363 motions and effects use DoP's routes and switch the same way; the other 211 only add their words to the model you picked (their own route is Kling 2.5 Turbo). 15 colour-grade effects hand the clip to Color grading with the grade picked, 6 relight effects relight the start frame first, and Mix stacks both presets' LoRAs on either engine+ - **Fuobe Soul**, **Fuobe Soul HD** and **Fuobe Soul Cinema** (Image studio) — a Look picker with 139 looks in two sets named after Higgsfield's versions (Soul 2.0: 33, Soul: 106), with categories, search, drawn covers and a Strength slider. Attach a picture and Fuobe Soul restyles it with the look. Soul HD (Qwen-Image 2512) is for lettering; Soul Cinema has one film look and 21:9. Your browser finishes each result (crop, grade, overlays such as DigitalCam's date stamp) and keeps the raw picture. 87 looks use civitai LoRAs: without a civitai key, a run leaves those out and says so. The PixeletedFace look pixelates faces in a second "Face mosaic" step (SAM 3.1; free on your GPU, $0.01 a picture in the cloud), and the picture before it stays in the Library as a step. The Storyboard's Look chip puts any of the 139 looks on a board+ - **Fuobe DoP** (Wan 2.2) and **Fuobe DoP · LTX** (LTX-2.3) — the camera motions and effects as recipes: a move's LoRAs, a camera LoRA or (on your GPU) a Fun Camera pose, a colour grade or a relight where it has one, else its words. On the open engine, picking a move in the Video studio switches to the model it runs on (a few run on LTX-2.5). In the cloud, 184 of the 363 motions and effects use DoP's routes and switch the same way; the other 179 only add their words to the model you picked (their own route is Kling 2.5 Turbo). 15 colour-grade effects hand the clip to Color grading with the grade picked, 6 relight effects relight the start frame first, the 32 Mixed Media effects first draw the start frame in their look on Fuobe Mixed Media (on both engines; in the cloud they ran on Kling 2.5 Turbo before PR #14), and Mix stacks both presets' LoRAs on either engine- **Fuobe Cinema** (Cinema Studio's video default) — Wan 2.2 14B Lightning free on your GPU (3 or 5 s, no sound), or LTX-2.3 on fal with sound and its built-in camera LoRAs (4–30 s: one call makes up to 20 s, and a longer take gets an automatic extend). In the cloud, 14 of Cinema's 33 camera moves use LTX-2.3's camera LoRA, start frame or not; with a start frame, a move with a Wan 2.2 LoRA switches the take to Fuobe DoP, and Rack Focus uses LTX-2.5 Fast's focus move. On your GPU, with a start frame, a move takes its Wan 2.2 LoRA or a Fun Camera pose. Otherwise the move goes into the prompt- **Fuobe Genjutsu** (Motion, Swap and Restyle; Motion and Swap also come in a cheaper, faster Standard quality) and **Fuobe Character swap** — Genjutsu's defaults: Wan Animate for motion transfer, SAM 3.1 and Wan VACE for object swap, Wan 2.2 Fun VACE for restyle, and MiniMax H3 with Akatz Labs' Character Swap LoRA for Character swap- **Fuobe Soul ID** — train a character or a look as a LoRA, free on your GPU through AI-Toolkit or on fal's trainers (see Elements below)- - Built and checked in demo mode; no look, move, take, swap or training has run on a GPU or with a paid key yet, so their quality is unmeasured, and the three MiniMax H3 graphs have never loaded in a ComfyUI- - **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 with the lines found for you on either engine, Inpaint a painted area, an Enhancer (skin, soft glow, sharpen, detail), regional edits, save a layer as an element, cropped or positioned zips) · Inpaint & Draw to Edit · Color grading · Camera motions and Effects (on Fuobe DoP) · 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; up to 20 pages per board, groups you can run as one, comment pins with replies, and drawing, shapes and text from a toolbar with keys; a Table node runs the node it feeds once per row; Change voice, Clone voice, Translate (text, or a dub of a video) and Video concatenator (cut, mute and join up to 50 clips) nodes) · Apps+ - **Fuobe Marketing Image** (Marketing Studio and Ads Studio) and **Fuobe Try-On** (Fashion Factory) — Marketing Image is Qwen-Image-Edit 2511 with your product photo (Qwen-Image 2512 without one), and your browser sets the headline, CTA and logo over the picture in the brand fonts. Try-On is FLUX.2 [klein] 4B with a try-on LoRA ($0.03 a picture in the cloud)+ - **Fuobe Mixed Media** and **Fuobe Shorts** — Mixed Media redraws every frame with Z-Image Turbo along its outlines, with the look's LoRA and one seed (up to 240 frames; about $0.01 a frame at 1K in the cloud, 16 GB on your GPU). Its Smooth mode draws the first frame in the look and lets Wan 2.2 Fun VACE carry it through by depth. Shorts restyles each segment's first frame with Qwen-Image-Edit 2511, then Wan 2.2 Fun VACE carries it through and the segments are joined under the clip's sound (about $0.19 a second for a 30 fps clip at 720p in the cloud, plus the first frames; 24 GB on your GPU)+ - **Fuobe Evolution** (Video tools → Evolution) — changes a 4–30 s clip by Low, Medium or High toward a creative direction and up to 40 reference images, priced first, with a before/after wipe and the clip's own sound. On your GPU, Wan 2.2 Fun VACE starts from the clip (24 GB); in the cloud it runs fal's LTX-2.3 video-to-video, a different model that doesn't see the references. "Write it for me" writes the direction with Claude, an Ollama vision model or an offline writer+ - **Fuobe Angles** (a beta app beside Angles) — the same shot from another camera (rotate, height, distance, lens) on Qwen-Image-Edit 2509 with a Multiple-angles LoRA: $0.035 in the cloud, free on your GPU (24 GB). The Angles app keeps its recipe. **Fuobe Speak** (InfiniteTalk) and **Fuobe Speak · Motion** (Wan 2.2 speech to video) are in Lipsync's model menu on both engines; Lipsync's defaults don't change+ - Built and checked in demo mode, by unit tests and, for their GPU graphs, by a CPU ComfyUI that accepts them without running weights; no look, move, take, swap, frame, clip or training has run on a GPU or with a paid key yet, so their quality and real bills are unmeasured, and the three MiniMax H3 graphs have never loaded in a ComfyUI+ - **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 with the lines found for you on either engine, Inpaint a painted area, an Enhancer (skin, soft glow, sharpen, detail), regional edits, save a layer as an element, cropped or positioned zips) · Inpaint & Draw to Edit · Color grading · Camera motions and Effects (on Fuobe DoP) · Storyboard (Popcorn: a board in one of Fuobe Soul's looks if you like, priced next to Generate, and turned into a film; cloud boards start on hosted open models, Z-Image Turbo or Qwen-Image-Edit, then Qwen-Image-Edit 2509 with a next-scene LoRA, and "Frames made on" switches them to Nano Banana Pro) · **Canvas** (wire prompts, files and models into node workflows; every template in a cloud and an open-source version, 10 Effects 2.0 chains among them (your photo, a "Set the scene" edit, then a 5 s Fuobe DoP clip); up to 20 pages per board, groups you can run as one, comment pins with replies, and drawing, shapes and text from a toolbar with keys; a Table node runs the node it feeds once per row; Change voice, Clone voice, Translate (text, or a dub of a video) and Video concatenator (cut, mute and join up to 50 clips) nodes) · 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, 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. Takes run on Fuobe Cinema by default on both engines (Seedance 2.5, Kling 3.0 and Veo 3.1 stay in the cloud menu, LTX-2.5 and Wan 2.2 14B on your GPU), stills on Fuobe Soul Cinema, Soul Cast on Fuobe Soul in the cloud (the Soul Cast sheet on your GPU) and Soul Location on Fuobe Soul. A project can be shared as a read-only link- - **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; on the cloud the clip's frames are sampled at the rate you pick (4–24 FPS) and each one is redrawn by default (Nano Banana 2 or Seedream 5.0 Flash, priced per frame), and **Fast** restyles in one video-to-video pass+ - **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, on Fuobe Shorts by default on both engines (Gemini Omni Flash and the other partner models stay cloud choices); **Mixed Media** — 33 looks for 1–10 s clips with per-preset settings and a preview frame, 14 of them with a LoRA; the clip's frames are sampled at the rate you pick (4–24 FPS) and **Per frame** redraws each one on Fuobe Mixed Media by default on both engines (Nano Banana 2 and Seedream 5.0 Flash stay cloud choices, priced per frame), **Smooth** draws the first frame and carries it through on both engines, and **Fast** restyles in one video-to-video pass in the cloud. In the cloud, Smooth and Fuobe Shorts refuse a selection under 17 frames or a clip under 5 fps at the estimate, before anything is paid for- **Genjutsu** — keep a 4–30 s clip's motion, camera and framing and change what is in it: motion transfer, **Character swap**, object swap, restyle (44 looks, Fuobe Soul's 139 or your own images) or insert, with reference images, priced before it runs. Every mode but Insert defaults to a Fuobe Original on both engines, and the picker shows each model's source (Original, open weights or partner) and licence. Character swap turns the person in a 5–15 s part of one shot (up to 30 s, in pieces or windows) into your character from one image, keeping the performance and the sound: pick who (largest, leftmost, rightmost, a number or, on your GPU, a click), 480p or 768p, and by default your character goes into the first frame first; "Describe my character" and "Use the clip's words" help write the prompt. For whole clips, **Open in Character Swap Studio** takes the clip and the character there- **Character Swap Studio** (`/character-swap`) — Akatz Labs' H3 Character Swap workbench, rebuilt in Fuobe on MiniMax H3: put your character into whole clips, shot by shot, and get each clip back with its own timing and sound. A project holds one character (a picture and a description) and up to 20 clips (.mp4, .mov, .mkv, .webm or .avi, each up to 149.66 s and 200 MB), worked through seven stages: **Shots** (Detect edits finds the cuts in your browser; mark each shot Replace character or Keep original), **Words** (transcribe, say who speaks each line, build the shot prompts), **Who to swap** (largest, leftmost, rightmost, person #n or words, plus clicks on any frame, giving mask versions you approve), **Scene anchors** (make or import a still of the scene with your character in it), **Segments** (5, 10 or 15 s, each starting fresh or continuing the one before; a continuation starts itself when that take is done, even with the page closed), **Takes & review** (several takes, Compare, Keep / Maybe / Skip with notes, Export decisions) and **Assemble** (the chosen takes over the original timeline with the clip's sound, to download and in the Library). Prices show before anything runs (only a cloud browser copy of a clip your browser can't play, and anchors on GPT Image 2.5 Sunburst, which bill by tokens, are left out of the estimate), and demo mode runs the whole flow for free. On your GPU, H3 Relay 2.0 swaps only the person in your approved mask, matches the anchor and continues from the take before (free; a 24 GB GPU and the opt-in H3 Relay pack). In the cloud, fal's MiniMax H3 with Akatz Labs' swap LoRA ($0.075/s at 768p, $0.0625/s at 480p) has no mask: the whole frame is regenerated and who to swap goes into the prompt. Built and checked in demo mode only: nothing has run on a GPU or with a fal key, its two GPU graphs have never loaded in a ComfyUI, and the Finish stage (a clean background plate and cut-outs) shows as not available- - **Marketing Studio** (84 templates), **Click to Ad** (with a logo end card), **Ads Studio** (brand kit from your website, up to 20 ads per product in 1:1 / 4:5 / 9:16, each one written copy and one picture laid out in your browser with your logo, colours and fonts) and **Ad Multiplier** (whole-ad edits in the cloud on Kling O3 or Happy Horse video edit, which keep the sound and recreate up to 15 s, or Gemini Omni Flash)- - **Moodboards** (the curated looks open on Fuobe Soul; **Train as a look…** trains a board into a look of its own for Fuobe Soul, on either engine), **Color signature** (Soul HEX palettes; with a Fuobe Soul model on the open engine, the colours are locked after generating by default), **Photodump / Instadump** and **Fashion Factory** (a character with a Soul ID runs on Fuobe Soul), **Character Sheet**- - **AI Influencer** builder — build a character game-style: a character type (Average, Bold or Extreme human, or a creature: insect, frog, cat, dog, rodent or bird) and traits in 18 categories, with Shuffle, then save the sheet as a character+ - **Marketing Studio** (84 templates; every picture format starts on Fuobe Marketing Image on both engines, with the words set over the picture in your browser, and Bria, Nano Banana Pro, GPT Image 2.5, Ideogram and Recraft stay cloud choices), **Click to Ad** (with a logo end card), **Ads Studio** (brand kit from your website, up to 20 ads per product in 1:1 / 4:5 / 9:16, each one written copy and one picture laid out in your browser with your logo, colours and fonts; the picture is Fuobe Marketing Image's by default, and in the cloud "Pictures by" picks Nano Banana Pro or GPT Image 2.5 instead) and **Ad Multiplier** (whole-ad edits in the cloud on Kling O3 or Happy Horse video edit, which keep the sound and recreate up to 15 s, or Gemini Omni Flash)+ - **Moodboards** (the curated looks open on Fuobe Soul; **Train as a look…** trains a board into a look of its own for Fuobe Soul, on either engine), **Color signature** (Soul HEX palettes; with a Fuobe Soul model on the open engine, the colours are locked after generating by default), **Photodump / Instadump** and **Fashion Factory** (a character with a Soul ID runs on Fuobe Soul; without one, Photodump uses Qwen-Image-Edit 2511 on both engines, with Nano Banana Pro and Seedream 5.0 Pro as cloud choices; Fashion Factory dresses the shot on Fuobe Try-On and makes the photoset on Qwen-Image-Edit 2511, with FASHN and Nano Banana Pro as cloud choices), **Character Sheet** (Build from scratch and From a description draw in Fuobe Soul's Realistic look: Fuobe Soul in the cloud, the Soul Cast sheet on your GPU)+ - **AI Influencer** builder — build a character game-style: a character type (Average, Bold or Extreme human, or a creature: insect, frog, cat, dog, rodent or bird) and traits in 18 categories, with Shuffle, then save the sheet as a character. The sheet is drawn in Fuobe Soul's Realistic look (in the cloud on Fuobe Soul, with hosted Qwen-Image-Edit 2511 adding your face or clothes; Nano Banana Pro and Seedream 5.0 Pro stay choices)- **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- **Content Factory** — a faceless series in the style of a clip you like: upload it, paste a TikTok, Instagram or web-page link, or pick one of 8 preset styles. Fuobe reads it into a style brief you can edit, prices the whole series, then makes 1–10 Faceless episodes of 30 s to 5 min here, or gives you a prompt for Claude Code to make them through Fuobe's MCP server- - **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; Fuobe Genjutsu · Motion is one of its motion models, the default on your GPU), **Image to 3D** (from one photo, several photos of one object, words or an object picked in a photo, or one photo as a Gaussian splat to open in a splat viewer such as SuperSplat; Rig & animate a finished model; Pick an object and Rig & animate run on the cloud only; on your GPU one photo goes to Pixal3D by default, and the server finishes each model for the web and renders its turntable on the CPU), 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; on your GPU, **H3 Person Removal** erases a person you name, with the opt-in H3 Relay pack; 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)- - **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; Fuobe Genjutsu · Motion is one of its motion models, the default on your GPU), **Image to 3D** (from one photo, several photos of one object, words or an object picked in a photo, or one photo as a Gaussian splat to open in a splat viewer such as SuperSplat; Rig & animate a finished model; Pick an object and Rig & animate run on the cloud only), Lipsync & avatars (priced on the voice's length; Fuobe Speak follows the voice for up to about 29 s a call in the cloud, where a longer one is cut with a note, and up to 40 s on your GPU, where a longer one is refused), Motion control, Edit / Extend / Reframe video (edits that keep the clip's length are priced on its seconds, and a clip outside a model's window is refused with the reason), Video tools (**Remove object**: type it, paint it or, on the cloud, click it, and it's erased from the clip; on your GPU, **H3 Person Removal** erases a person you name, with the opt-in H3 Relay pack; **Evolution** (above); matte, relight, depth (on your GPU, Video Depth Anything large is a non-commercial choice beside the default small model), join clips, match colors), Upscale (images and video, **FPS Boost** and slow motion, **SDR to HDR** (with LoRAs in the cloud), 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)++ - **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; Fuobe Genjutsu · Motion is one of its motion models, the default on your GPU), **Image to 3D** (from one photo, several photos of one object, words or an object picked in a photo, or one photo as a Gaussian splat to open in a splat viewer such as SuperSplat; Rig & animate a finished model; Pick an object and Rig & animate run on the cloud only; on your GPU one photo goes to Pixal3D by default, and the server finishes each model for the web and renders its turntable on the CPU), Lipsync & avatars (priced on the voice's length; Fuobe Speak follows the voice for up to about 29 s a call in the cloud, where a longer one is cut with a note, and up to 40 s on your GPU, where a longer one is refused), Motion control, Edit / Extend / Reframe video (edits that keep the clip's length are priced on its seconds, and a clip outside a model's window is refused with the reason), Video tools (**Remove object**: type it, paint it or, on the cloud, click it, and it's erased from the clip; on your GPU, **H3 Person Removal** erases a person you name, with the opt-in H3 Relay pack; **Evolution** (above); matte, relight, depth (on your GPU, Video Depth Anything large is a non-commercial choice beside the default small model), join clips, match colors), Upscale (images and video, **FPS Boost** and slow motion, **SDR to HDR** (with LoRAs in the cloud), 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. **Share link…** on a result, a folder (with its subfolders) or a Cinema project makes a read-only page: choose a title, whether prompts show, and how long the link works (always, 1, 7 or 30 days). **Publish** turns selected results into a portfolio page (Feature, Series or Carousel, with a cover). The **Shared** tab lists your links with their views, to make a new link, hide prompts, re-date or revoke. A link opens without signing in, for anyone who can reach your Fuobe (Fuobe doesn't host these pages), and shared files have their embedded generation data blanked (ComfyUI workflows, video tags, EXIF). Canvas boards can't be shared yet- - **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- - **Models & licences:** **Settings → Models & licences** (`/settings/models`, also from ⌘K, About & licences and the Models page) shows the licence of every model, LoRA and ComfyUI node pack, with switches per licence class, provider, node pack, LoRA and model. Everything is on by default, and LoRAs licensed for your GPU only go to fal or Replicate with a note unless you turn on **Keep them on your GPU**. A model you switch off leaves every picker and listing (studios, Canvas, Cinema, ⌘K, the API and CLI, Assist and Fuobe's MCP server); automatic picks move to the next model that is on, and a run that can't is refused, naming the switch. Anyone who can sign in can change it, and trainings and Assist's own Claude or local-model calls aren't under the switches+ - **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, and runs your skills; Start on Home runs the job and says first what it costs; **Settings → About & licences** lists every open model's licence-- **Models & licences:** **Settings → Models & licences** (`/settings/models`, also from ⌘K, About & licences and the Models page) shows the licence of every model, LoRA and ComfyUI node pack, with switches per licence class, provider, node pack, LoRA and model. Everything is on by default, and LoRAs licensed for your GPU only go to fal or Replicate with a note unless you turn on **Keep them on your GPU**. A model you switch off leaves every picker and listing (studios, Canvas, Cinema, ⌘K, the API and CLI, Assist and Fuobe's MCP server); automatic picks move to the next model that is on, and a run that can't is refused, naming the switch. Switching off an adapter LoRA an Original's recipe always loads (the try-on LoRA, say) takes that Original out the same way. Anyone who can sign in can change it, and trainings and Assist's own Claude or Ollama calls aren't under the switches++- **Models & licences:** **Settings → Models & licences** (`/settings/models`, also from ⌘K, About & licences and the Models page) shows the licence of every model, LoRA and ComfyUI node pack, with switches per licence class, provider, node pack, LoRA and model. Everything is on by default, and LoRAs licensed for your GPU only go to fal or Replicate with a note unless you turn on **Keep them on your GPU**. A model you switch off leaves every picker and listing (studios, Canvas, Cinema, ⌘K, the API and CLI, Assist and Fuobe's MCP server); automatic picks move to the next model that is on, and a run that can't is refused, naming the switch. Switching off an adapter LoRA an Original's recipe always loads (the try-on LoRA, say) takes that Original out the same way. Anyone who can sign in can change it, and trainings and Assist's own Claude or local-model calls aren't under the switches- **Elements:** save characters, locations, props, styles and voices once, then `@mention` them in any prompt; save one straight from a Layers layer or an AI Influencer sheet. **Train** a character (with a consent tick) or a style as a **Fuobe Soul ID** from 5 to 80 photos (20 or more recommended): free on your GPU through AI-Toolkit, or on fal's trainers (about $1.50 to $6.40, priced first). It trains for one base: Z-Image Turbo (Fuobe Soul and Soul Cinema), Qwen-Image 2512 (Fuobe Soul HD), FLUX.1 [dev] and Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 4B, and, on fal only, FLUX.2 [klein] 9B and Krea 2 (the klein and Krea 2 LoRAs run in the cloud only); the dialog shows each option's engine, price, time and licence. The LoRA then works on every model of that base, on both engines where the base has both, whenever you @mention the element. With no fal key and no AI-Toolkit (and Demo mode on "auto", the default), a training is an 8-second demo that trains nothing, and the dialog says so. An old Soul ID from Higgsfield offers "Retrain for Fuobe Soul" (Higgsfield's Soul IDs can't be exported)- - **LoRAs:** small add-on files that give an open model a look, a camera move or an effect. **Settings → LoRAs** lists a library of 114 researched LoRAs (67 looks, 23 motions, 24 effects) with each one's licence and source, and downloads them. On the open engine, a LoRA ComfyUI doesn't have is downloaded into your LoRA folder before the run and checked against its SHA-256 fingerprint. On the cloud, twelve hosted models take LoRAs: Z-Image Turbo (hosted, on fal and Replicate), Qwen-Image 2512, Qwen-Image-Edit 2511, FLUX.2 [klein] 4B, Wan 2.2 A14B image and video, LTX-2.3 22B, and, for Soul ID LoRAs, FLUX.1 [dev], FLUX.1 Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 9B and Krea 2 Turbo. The Fuobe Originals' cloud routes send their looks' and moves' LoRAs too (Character swap sends Akatz Labs' swap LoRA), and a LoRA a run can't carry is left out with a warning. Fuobe Soul's looks take their LoRAs from the library, and a motion's or effect's LoRA that is in the library uses its pinned download and licence- - **Catalog:** 197 cloud models + 91 open-source models + 12 Fuobe Originals that run on both (plus 50 hidden ones: chain steps and studio helpers, self-tests, browser tools, and Gemma 4 speech translate, which no studio uses yet), 124 apps, 108 camera motions (mix any two), 255 effects; 480 of their cards show a cover rendered on a GPU (6 of them short clips), the rest a drawn preview- - **Open-source engine:** 151 API-format ComfyUI workflows (official templates, community packs and hand-built graphs), 146 of them validated against real ComfyUI node definitions (the three MiniMax H3 graphs and the Character Swap Studio's two H3 Relay graphs need node packs the validation server doesn't have), plus 84 researched LoRAs (camera moves, VFX) that 122 motion, effect and app presets use today (43 of them are also in the Settings → LoRAs library, and 36 come from civitai)- - **Evaluation harness (for developers):** `pnpm eval:run` (or `fuobe eval`) runs a suite of cases for each Fuobe Original, built or planned (Fuobe's own open-weight versions of Higgsfield's in-house models, such as Soul and DoP) on the demo, open or cloud engine, scores the results with pinned open models, runs a blind A/B review and says whether a recipe may become a default. Fuobe Soul, DoP, Cinema, Genjutsu and Soul ID are in the app now, and their suites run the shipped models too (with `soul-cinema`, `soul-hex` and `dop-mix` suites and a palette metric; since PR #12 the `cinema` suite has Director scenes and LTX-2.3 camera moves, `genjutsu` has Character swap and the Lite tiers, and `soul-id` trains per base and as a look, and needs your own photos of a person who agreed); the other Originals' suites measure their recipes on models already in the catalog, and cases that need the Original itself are skipped. Cloud runs are priced first and capped (default $5), and Higgsfield is never called. A recipe's licences are a note on its verdict, not a hold (`eval:promote --licence-hold` restores the hold, and `--commercial-only` keeps non-commercial metric models and covers out). Nothing has been measured on a GPU or the cloud yet; see [`scripts/eval/README.md`](scripts/eval/README.md)+ - **LoRAs:** small add-on files that give an open model a look, a camera move or an effect. **Settings → LoRAs** lists a library of 118 researched LoRAs (67 looks, 23 motions, 24 effects and 4 adapters that an Original's recipe always loads: try-on, next-scene, Multiple-angles and FusioniX) with each one's licence and source, and downloads them. On the open engine, a LoRA ComfyUI doesn't have is downloaded into your LoRA folder before the run and checked against its SHA-256 fingerprint. On the cloud, twelve hosted models take LoRAs: Z-Image Turbo (hosted, on fal and Replicate), Qwen-Image 2512, Qwen-Image-Edit 2511, FLUX.2 [klein] 4B, Wan 2.2 A14B image and video, LTX-2.3 22B, and, for Soul ID LoRAs, FLUX.1 [dev], FLUX.1 Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 9B and Krea 2 Turbo. Since PR #14, Upscale's SDR to HDR (LTX-2.3's HDR pass) takes up to 3 as well. The Fuobe Originals' cloud routes send their looks' and moves' LoRAs too (Character swap sends Akatz Labs' swap LoRA, Fuobe Try-On its try-on LoRA, Fuobe Mixed Media its looks' LoRAs), and a LoRA a run can't carry is left out with a warning. Fuobe Soul's looks take their LoRAs from the library, and a motion's or effect's LoRA that is in the library uses its pinned download and licence-- **Catalog:** 197 cloud models + 91 open-source models + 20 Fuobe Originals that run on both (plus 52 hidden ones: chain steps and studio helpers, self-tests, browser tools, and Gemma 4 speech translate, which no studio uses yet), 125 apps, 108 camera motions (mix any two), 255 effects++- **Catalog:** 197 cloud models + 91 open-source models + 20 Fuobe Originals that run on both (plus 52 hidden ones: chain steps and studio helpers, self-tests, browser tools, and Gemma 4 speech translate, which no studio uses yet), 125 apps, 108 camera motions (mix any two), 255 effects; 480 of their cards show a cover rendered on a GPU (6 of them short clips), the rest a drawn preview+ - **Open-source engine:** 154 API-format ComfyUI workflows (official templates, community packs and hand-built graphs), 149 of them validated against real ComfyUI node definitions (the three MiniMax H3 graphs and the Character Swap Studio's two H3 Relay graphs need node packs the validation server doesn't have), plus 84 researched LoRAs (camera moves, VFX) that 122 motion, effect and app presets use today (43 of them are also in the Settings → LoRAs library, and 36 come from civitai)+ - **Evaluation harness (for developers):** `pnpm eval:run` (or `fuobe eval`) runs a suite of cases for each Fuobe Original, built or planned (Fuobe's own open-weight versions of Higgsfield's in-house models, such as Soul and DoP) on the demo, open or cloud engine, scores the results with pinned open models, runs a blind A/B review and says whether a recipe may become a default. Fuobe Soul, DoP, Cinema, Genjutsu and Soul ID are in the app, and since PR #14 Marketing Image, Try-On, Mixed Media, Shorts, Evolution, Angles and Speak too; their suites run the shipped models (with `soul-cinema`, `soul-hex` and `dop-mix` suites and a palette metric; since PR #12 the `cinema` suite has Director scenes and LTX-2.3 camera moves, `genjutsu` has Character swap and the Lite tiers, and `soul-id` trains per base and as a look, and needs your own photos of a person who agreed; PR #14 adds `marketing`, `evolution`, `popcorn` and `angles`, and `mixed-media` and `shorts` now compare the Originals with partner models). Real runs of most suites need your own inputs in `scripts/eval/local/` (`popcorn` needs none). Cloud runs are priced first and capped (default $5), and Higgsfield is never called. A recipe's licences are a note on its verdict, not a hold (`eval:promote --licence-hold` restores the hold, and `--commercial-only` keeps non-commercial metric models and covers out). Nothing has been measured on a GPU or the cloud yet; see [`scripts/eval/README.md`](scripts/eval/README.md)- **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`).@@@ -61,16 -66,11 +66,16 @@@ The mode can also be set with `FUOBE_EN| A [fal.ai](https://fal.ai/dashboard/keys) key | `fal.ai API key` (or `FAL_KEY`) | Every cloud model and cloud app, and Soul ID training in the cloud || A Replicate token | `Replicate API token` (or `REPLICATE_API_TOKEN`) | Fallback route for models Replicate hosts; **Preferred provider** (or `FUOBE_CLOUD_PROVIDER`: `auto`, `fal` or `replicate`) picks which one goes first, unless only the other can carry the run's LoRAs or make the clip length asked || 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, scheduled tasks that plan with Claude, and your MCP connectors), text steps (translate, write, scripts, ad copy, brand research), prompt **Enhance**, storyboard splitting and Genjutsu's "Describe my character" with Claude |+ | An Anthropic key | `Anthropic API key` (or `ANTHROPIC_API_KEY`) | The full **Assist** agent (Smart and Manual modes, scheduled tasks that plan with Claude, and your MCP connectors), text steps (translate, write, scripts, ad copy, brand research), prompt **Enhance**, storyboard splitting, Genjutsu's "Describe my character", Evolution's "Write it for me" in the cloud and the skill builder's name suggestions 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) |+| [Ollama](https://ollama.com) | **AI helper** → Local model server → Ollama or Automatic (`OLLAMA_URL`, `OLLAMA_MODEL`, default `qwen3:8b`) | The same text steps and the Assist agent on a local model (tool calling) |+| [LM Studio](https://lmstudio.ai) 0.4 or later | **AI helper** → LM Studio or Automatic (`LMSTUDIO_URL`, default `http://127.0.0.1:1234`; `LMSTUDIO_MODEL`, empty for the loaded model; `LMSTUDIO_API_TOKEN` only when its Require Authentication is on). In LM Studio, start the server (Developer → Start server, or `lms server start`) and download a model (`lms get qwen/qwen3-8b`) | The same on LM Studio. A model that isn't loaded yet is loaded with 16k context (`FUOBE_LLM_CONTEXT`), which Assist's tools need |+| [Unsloth Studio](https://unsloth.ai/docs/new/studio/install) | **AI helper** → Unsloth Studio or Automatic (`UNSLOTH_URL`, default `http://127.0.0.1:8888`; `UNSLOTH_API_KEY`: an `sk-unsloth-…` key from avatar → Settings → API; `UNSLOTH_MODEL`, empty for the loaded model). Load a model on its Chat page | The same on the model loaded in Unsloth Studio. Its server-side tools (Python, terminal, web search) are always off for Fuobe's calls |+| Another OpenAI-compatible server (llama.cpp's llama-server, vLLM, Jan…) | **AI helper** → Other (`FUOBE_LLM_URL`, the base URL such as `http://127.0.0.1:8080/v1`; `FUOBE_LLM_MODEL`; `FUOBE_LLM_API_KEY`) | The same on that server |- | A LoRA folder (and a civitai account) | **Settings → LoRAs**: `LoRA folder`, ComfyUI's `models/loras` (or `COMFYUI_LORAS_DIR`), and `civitai API key` (or `CIVITAI_API_KEY`) | Fuobe downloads a LoRA ComfyUI doesn't have before the run and checks its fingerprint. 72 of the 114 library LoRAs are on civitai and need the key, which is never sent to fal or Replicate. 87 of Fuobe Soul's looks use one, and 36 of the motions' and effects' LoRA files are among them |- | AI-Toolkit (ostris) on your GPU | `AI_TOOLKIT_URL` (+ `AI_TOOLKIT_AUTH`, `AI_TOOLKIT_DATASET_DIR`; the Settings page has no field for them, so set the environment variables or `PUT /api/settings`) and `COMFYUI_LORAS_DIR` | Free Soul ID training of characters and styles from an element's photos or a moodboard, on Z-Image Turbo, Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] or FLUX.2 [klein] 4B (AI-Toolkit downloads the base weights itself; the FLUX [dev] repos need a Hugging Face token). Fuobe keeps the LoRA and copies it into ComfyUI (from an AI-Toolkit on another machine, copy it by hand). The training dialog can also download a training kit to run anywhere |+ | A LoRA folder (and a civitai account) | **Settings → LoRAs**: `LoRA folder`, ComfyUI's `models/loras` (or `COMFYUI_LORAS_DIR`), and `civitai API key` (or `CIVITAI_API_KEY`) | Fuobe downloads a LoRA ComfyUI doesn't have before the run and checks its fingerprint. 72 of the 118 library LoRAs are on civitai and need the key, which is never sent to fal or Replicate. 87 of Fuobe Soul's looks and 6 of Mixed Media's use one, and 36 of the motions' and effects' LoRA files are among them |+ | AI-Toolkit (ostris) on your GPU | **Settings → Training · AI-Toolkit**: its address, an optional token and a photos folder (a full path), each with Save & test (or `AI_TOOLKIT_URL`, `AI_TOOLKIT_AUTH`, `AI_TOOLKIT_DATASET_DIR`), and `COMFYUI_LORAS_DIR` | Free Soul ID training of characters and styles from an element's photos or a moodboard, on Z-Image Turbo, Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] or FLUX.2 [klein] 4B (AI-Toolkit downloads the base weights itself; the FLUX [dev] repos need a Hugging Face token). Fuobe keeps the LoRA and copies it into ComfyUI (from an AI-Toolkit on another machine, copy it by hand). The training dialog can also download a training kit to run anywhere |+**AI helper** picks who writes: Automatic (Claude when a key is set, else a local model, else the offline rewriter), Claude, a local model only, or offline (`FUOBE_ENHANCE_PROVIDER=auto|anthropic|local|none`; the old value `ollama` means `local`). Its local model server is Automatic by default (`FUOBE_LLM_PROVIDER=auto`): the first one that answers with a model, in the order Ollama, LM Studio, Unsloth Studio, then the Other URL. `FUOBE_LLM_PROVIDER=ollama|lmstudio|unsloth|custom` pins one. Settings → AI helper shows what each server answers (its models, whether one is loaded, what's missing) and has a **Send a test message** button for each server, which proves its model answers. The local model shares the GPU with ComfyUI, so a 4–8B model leaves room for generations.+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 (and Assist connectors' URLs and tokens) are stored in a local SQLite database (`data/fuobe.db`) and never sent to the browser in full. Generated media is saved under `data/files/`, and LoRAs downloaded only to copy them to fal or Replicate, and your trained Soul ID LoRAs, under `data/loras/`. Fuobe is single-user.@@@ -102,8 -101,8 +107,8 @@@ Uploads up to 200 MB work with sign-in### Upgrading from an earlier version- - **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; PR #9, PR #10, PR #12 and PR #13 add none, so `pnpm install` has nothing new for them); round 3 added `@xyflow/react`, `@google/model-viewer`, `three` and `unpdf`. The local model servers and the Image to 3D finish (below) add `@gltf-transform/core`, `@gltf-transform/extensions`, `@gltf-transform/functions`, `meshoptimizer`, `sharp` and `playwright-core`, so run `pnpm install` for them. 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 seven migrations: one for the Library's nested folders, pins and review status (PR #6), two new tables in PR #9, `lora_mirrors` (each LoRA copy Fuobe makes) and `content_series` (Content Factory), two in PR #12: `shares` (share links; only a hash of each link's token is stored) and Assist's `assist_schedules` and `assist_connectors`, with four new columns on `assist_thread_state`, and two in PR #13: `swap_projects` (one document per Character Swap Studio project) and the O7 cleanup, which deletes the saved Higgsfield key, turns "Higgsfield first" into Automatic and marks the ads Higgsfield drew `baked`. They are added at the first start. PR #12's and `swap_projects` only add tables and columns, but the O7 cleanup can't be undone, so back up `data/` (or `FUOBE_DATA_DIR`) first if you might go back to an earlier version. PR #7 and PR #10 add none. Settings → Models & licences keeps its switches in the existing settings table (`models.access`), and Soul ID uses the existing trainings table. 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; PR #9, PR #10, PR #12, PR #13 and PR #14 add none, so `pnpm install` has nothing new for them); 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`.++- **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; PR #9, PR #10, PR #12, PR #13 and PR #14 add none, so `pnpm install` has nothing new for them); round 3 added `@xyflow/react`, `@google/model-viewer`, `three` and `unpdf`. The local model servers and the Image to 3D finish (below) add `@gltf-transform/core`, `@gltf-transform/extensions`, `@gltf-transform/functions`, `meshoptimizer`, `sharp` and `playwright-core`, so run `pnpm install` for them. 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 seven migrations: one for the Library's nested folders, pins and review status (PR #6), two new tables in PR #9, `lora_mirrors` (each LoRA copy Fuobe makes) and `content_series` (Content Factory), two in PR #12: `shares` (share links; only a hash of each link's token is stored) and Assist's `assist_schedules` and `assist_connectors`, with four new columns on `assist_thread_state`, and two in PR #13: `swap_projects` (one document per Character Swap Studio project) and the O7 cleanup, which deletes the saved Higgsfield key, turns "Higgsfield first" into Automatic and marks the ads Higgsfield drew `baked`. They are added at the first start. PR #12's and `swap_projects` only add tables and columns, but the O7 cleanup can't be undone, so back up `data/` (or `FUOBE_DATA_DIR`) first if you might go back to an earlier version. PR #7, PR #10 and PR #14 add none (still 23 migrations). Settings → Models & licences keeps its switches in the existing settings table (`models.access`), Soul ID uses the existing trainings table, and since PR #14 a skill's recipe lives with its other files in the skills table. The list is in [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md#storage-srcserverdbts-storagets-settingsts).- **Canvases are saved in a new form (PR #10).** A board is rewritten with pages the next time it is saved, and older Fuobe builds can't read it after that. Back up the data folder if you might go back to an earlier version. Scripts that read a canvas through the API: `GET /api/canvases/:id` now returns `canvas.pages` (each page with its graph), not `canvas.graph`.- **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. A folder used by the `r4/assist-connectors` branch before its review fixes needs the same: its migration changed in place. The same goes for a folder used by the `r4/content-factory` branch on its own: there Content Factory's table took the Library migration's number, so the Library's folders, pins and review status would never be added.- **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.@@@ -119,14 -118,18 +124,20 @@@- **Scheduled tasks (PR #12)** run only while Fuobe runs; a run missed while it was off happens once after the next start. A sweep every 30 s starts at boot, and every Fuobe server on the same database runs due tasks, so a dev server on your real data folder runs, and spends on, your schedules too. A task asks first by default; one that runs on its own counts Fuobe's generation jobs against its cap, not Claude's tokens. Connectors are offered in every Claude chat, the ones you already have included; a scheduled task uses them only when you tick "Let runs use my connectors".- **New defaults in Cinema, Genjutsu and Soul ID (PR #12).** Cinema's video default is Fuobe Cinema on both engines, so a cloud take costs LTX-2.3's price per megapixel of video on fal (about $0.18 for 5 s at 720p), and stills default to Fuobe Soul Cinema. Cinema Studio 4.0, Soul 2.0 and Higgsfield's Soul Cinema leave Cinema's menus, and a saved pick falls back to the Original. Genjutsu's modes (all but Insert) default to the Fuobe Originals instead of Higgsfield's Genjutsu; old setup codes open the replacing Original (without a Higgsfield look), and Katana's Genjutsu motion option takes 1 reference instead of Higgsfield's 8. In the cloud, Fuobe Cinema and the Genjutsu Originals need a fal key. Soul ID no longer trains on Higgsfield: a Higgsfield training still queued or running fails with a note to retrain for Fuobe Soul. fal's Z-Image training is now 2,000 steps for about $1.70 (it was 1,000 for $0.85), elements hold up to 80 photos (was 20), and Photodump, Fashion and trained moodboards run on Fuobe Soul.- **Scripts that call the API (PR #12):** training a character needs `consent: true` (`POST /api/elements/[id]/trainings` takes `{target, consent}`), `/lora` takes `family` instead of `modelId` and `/training-kit` a `family`; `POST /api/genjutsu` takes mode `character`, and look kind `soul` replaces `higgsfield`; Cinema's `GET /api/cinema/projects/[id]` returns `context` as `{cloudAllowed, civitai}` (no `higgsfield`); `GET /api/models` lists only models that are on, and `POST /api/generations` answers 422, naming the switch, for one that is off.- - **Higgsfield is no longer called (O7, PR #13).** The saved Higgsfield key is deleted, and **Preferred provider** goes back to Automatic if it was "Higgsfield first" (its choices are now Automatic, fal.ai first and Replicate first). Remove `HIGGSFIELD_API_KEY` and its aliases `HF_KEY`, `HF_API_KEY` and `HF_API_SECRET` (Higgsfield's, not Hugging Face's) from `.env`: they are no longer read, and `FUOBE_CLOUD_PROVIDER=higgsfield` counts as `auto`. If Higgsfield was your only cloud key, add a fal.ai (or Replicate) key; until then, cloud runs come back as demos (with Demo mode on Auto). Reuse, saved Canvas boards and Cinema projects, Genjutsu setup codes, Katana jobs, Assist plans, retries and API, CLI or MCP calls that name Soul, Soul 2.0, Soul Cinema, Cinema Studio 4.0 or a Genjutsu model run on the Fuobe Original that replaced it, on your engine (Marketing Studio Image runs on GPT Image 2.5, Ads Studio and the AI Influencer app on Nano Banana Pro, until their Originals land), and the API's notes say so. In an API, CLI or MCP call and a retry, Cinema Studio's Director settings become words in the prompt (Reuse leaves them out and says so), and its reference takes run on Seedance 2.5. Seedance 2.5's video edit and LTX 2.5's start/end-frame clip only ran there: they now run on Kling O3 and Fuobe Cinema. Past results stay in the Library under the name they ran as ("Soul 2.0 (Higgsfield)"). A job still running there when you upgrade fails on its next check with a note to run it again, a Higgsfield Soul ID training still queued or running fails with a note to retrain for Fuobe Soul, and an Ads Studio batch made there is remade the Fuobe way on retry. Switches you set in Settings → Models & licences on a retired model or on the Higgsfield provider no longer apply to anything: if you had switched off, say, Soul 2.0, switch off its replacement too.- - **Other O7 changes (PR #13).** Happy Horse 1.1 (text, image and reference to video) now runs with a fal key: $0.14/s at 720p, $0.18/s at 1080p. The Ad Multiplier's cloud choices are Kling O3 edit (the default) and Happy Horse video edit, which keep the ad's sound but recreate at most its first 15 s (a longer selection is cut, with a note), and Gemini Omni Flash. Character Sheet → Build from scratch in the cloud runs on Fuobe Soul in Cinema's casting look (Nano Banana Pro if that is switched off); it used Soul 2.0 or Nano Banana Pro, so its price and look change. The AI Influencer app uses Nano Banana Pro in the cloud, and the GPU path is unchanged. Grok Imagine Image 2.0 takes 5 references (was 10). Old Higgsfield Soul IDs are labelled "Older Soul ID". If you installed Fuobe's skills into another agent (Cursor, Codex…), re-run `npx skills add workingprototype/Fuobe`: four playbooks now name other models.+ - **Higgsfield is no longer called (O7, PR #13).** The saved Higgsfield key is deleted, and **Preferred provider** goes back to Automatic if it was "Higgsfield first" (its choices are now Automatic, fal.ai first and Replicate first). Remove `HIGGSFIELD_API_KEY` and its aliases `HF_KEY`, `HF_API_KEY` and `HF_API_SECRET` (Higgsfield's, not Hugging Face's) from `.env`: they are no longer read, and `FUOBE_CLOUD_PROVIDER=higgsfield` counts as `auto`. If Higgsfield was your only cloud key, add a fal.ai (or Replicate) key; until then, cloud runs come back as demos (with Demo mode on Auto). Reuse, saved Canvas boards and Cinema projects, Genjutsu setup codes, Katana jobs, Assist plans, retries and API, CLI or MCP calls that name Soul, Soul 2.0, Soul Cinema, Cinema Studio 4.0 or a Genjutsu model run on the Fuobe Original that replaced it, on your engine (Marketing Studio Image ran on GPT Image 2.5, and Ads Studio and the AI Influencer app on Nano Banana Pro, until their Originals landed in PR #14: see below), and the API's notes say so. In an API, CLI or MCP call and a retry, Cinema Studio's Director settings become words in the prompt (Reuse leaves them out and says so), and its reference takes run on Seedance 2.5. Seedance 2.5's video edit and LTX 2.5's start/end-frame clip only ran there: they now run on Kling O3 and Fuobe Cinema. Past results stay in the Library under the name they ran as ("Soul 2.0 (Higgsfield)"). A job still running there when you upgrade fails on its next check with a note to run it again, a Higgsfield Soul ID training still queued or running fails with a note to retrain for Fuobe Soul, and an Ads Studio batch made there is remade the Fuobe way on retry. Switches you set in Settings → Models & licences on a retired model or on the Higgsfield provider no longer apply to anything: if you had switched off, say, Soul 2.0, switch off its replacement too.+ - **Other O7 changes (PR #13).** Happy Horse 1.1 (text, image and reference to video) now runs with a fal key: $0.14/s at 720p, $0.18/s at 1080p. The Ad Multiplier's cloud choices are Kling O3 edit (the default) and Happy Horse video edit, which keep the ad's sound but recreate at most its first 15 s (a longer selection is cut, with a note), and Gemini Omni Flash. Character Sheet → Build from scratch in the cloud runs on Fuobe Soul in Cinema's casting look (Nano Banana Pro if that is switched off); it used Soul 2.0 or Nano Banana Pro, so its price and look change. The AI Influencer app used Nano Banana Pro in the cloud, and the GPU path was unchanged (since PR #14 both draw in Fuobe Soul's Realistic look: Fuobe Soul in the cloud, the Soul Cast sheet on your GPU). Grok Imagine Image 2.0 takes 5 references (was 10). Old Higgsfield Soul IDs are labelled "Older Soul ID". If you installed Fuobe's skills into another agent (Cursor, Codex…), re-run `npx skills add workingprototype/Fuobe`: four playbooks now name other models.- **Scripts that call the API (PR #13):** `GET /api/providers/higgsfield/presets` is gone; `POST /api/providers/test` with `higgsfield` answers 400, `GET /api/status` no longer lists it, and `PUT /api/settings` ignores `higgsfieldKey` and refuses `cloudProvider: "higgsfield"` (400). `POST /api/generations` may answer with a replacement `modelId` and `notes` saying what changed. Ads batch and estimate bodies and `POST /api/brands/[id]/chat/confirm` ignore `route` and `ratio`, and `/api/ads/estimate` no longer returns `route`. `POST /api/uploads` also takes MKV and AVI (200 MB as before): the Character Swap Studio's picker lists them, other pickers still list MP4, MOV and WebM, and browsers can't play AVI. The Character Swap Studio's routes are new, under `/api/swap-studio/projects`.- **Character Swap Studio on your GPU (PR #13)** needs the H3 Relay 2.0 node pack (`akatz-ai/h3-relay` at `e2a7665`): re-run `scripts/comfy/install-comfyui.sh` with `H3_RELAY=1`, or on Windows or ComfyUI Desktop clone it into `custom_nodes` and check out that commit. It also needs VideoHelperSuite and FFmpeg on the ComfyUI machine, a 24 GB GPU with offloading and 64–128 GB of RAM (48 GB+ advised for 768p), and ComfyUI started with a higher `--max-upload-size` (100 MB by default) for continuations with more than about 30 frames of history at 1 MP; an upload ComfyUI refuses as too large now says so. It adds no model files: it uses PR #12's MiniMax H3 files. In the cloud it needs a fal key. MiniMax H3's licence (above) applies to it too. Its swap runs on "Fuobe Character swap" in the cloud and on "H3 Character Swap · studio segment" on your GPU (listed in Settings → Models & licences as a helper step studios run), and it refuses only what is switched off there: if H3's licence doesn't fit, switch off that second one too. A sweep every 3 s, from server start, starts takes that were waiting on the one before; like scheduled tasks, it runs in every Fuobe server on the same data folder, so a dev server on your real data can launch (and pay for) them too.- - **A busy ComfyUI no longer counts as down (PR #13).** Before, one 1.5–2 s check decided, so a ComfyUI busy with a job could send new runs to demo. Now it counts as up if it answered in the last 2 minutes, or if its port accepts a connection and it answers a longer 10 s check. A refused connection, an unknown host or an HTTP error still means down at once; a port that accepts connections but never answers (a hung ComfyUI, a tunnel to a dead box) is down after the 10 s check. A chain step after real ComfyUI steps (such as the Canvas concatenator's join) waits up to 60 s for ComfyUI before failing; cloud steps don't wait. The local model servers' checks (Settings → AI helper) are unchanged.-- **A busy ComfyUI no longer counts as down (PR #13).** Before, one 1.5–2 s check decided, so a ComfyUI busy with a job could send new runs to demo. Now it counts as up if it answered in the last 2 minutes, or if its port accepts a connection and it answers a longer 10 s check. A refused connection, an unknown host or an HTTP error still means down at once; a port that accepts connections but never answers (a hung ComfyUI, a tunnel to a dead box) is down after the 10 s check. A chain step after real ComfyUI steps (such as the Canvas concatenator's join) waits up to 60 s for ComfyUI before failing; cloud steps don't wait. Ollama's check was unchanged until PR #14 (below).++- **A busy ComfyUI no longer counts as down (PR #13).** Before, one 1.5–2 s check decided, so a ComfyUI busy with a job could send new runs to demo. Now it counts as up if it answered in the last 2 minutes, or if its port accepts a connection and it answers a longer 10 s check. A refused connection, an unknown host or an HTTP error still means down at once; a port that accepts connections but never answers (a hung ComfyUI, a tunnel to a dead box) is down after the 10 s check. A chain step after real ComfyUI steps (such as the Canvas concatenator's join) waits up to 60 s for ComfyUI before failing; cloud steps don't wait. The local was unchanged until PR #14 (below).+ - **New defaults and prices (PR #14).** Marketing Studio, Ads Studio, the AI Influencer builder and app, Photodump, Fashion Factory, Mixed Media, Shorts, cloud Storyboard boards and DoP's 32 Mixed Media effects now start on Fuobe Originals or hosted open models, so their results and prices change; the partner models stay as choices. None of these defaults has been measured by the evaluation harness yet. Lipsync prices talking avatars on the voice's length, not 5 s (Fuobe Speak with a 12 s voice: $2.40). Edit video prices the edits that keep the clip's length (Happy Horse, Runway Aleph 2, Lucy Edit Pro, Kling O3 4K edit, Gemini Omni Flash, Grok Imagine edit) on the clip's seconds, not a flat 5 s, and refuses a clip outside a model's window, in the app and the API: Happy Horse and Kling O3 4K edit 3–15 s, Runway Aleph 2 2–30 s, Wan 2.7 2–10 s, Gemini Omni Flash up to 10 s. Happy Horse video edit shows half its old price: $0.28 per second of clip at 720p, $0.56 at 1080p (Fuobe counted each second twice; fal's bill was not doubled). Cloud PixeletedFace adds $0.01 a picture for its face mosaic, and InfiniteTalk Long on your GPU runs up to 40 s (was 20 s) and refuses longer voices.+ - **Retries and API scripts (PR #14).** Retrying a run stored as `marketing-studio-image` or `ads-studio` lands on Fuobe Marketing Image, and `ai-influencer` on Fuobe Soul, at their prices. Cloud boards use the open models unless the body sends `partner: "nano-banana-pro"`, and `oss-wan22-vace-restyle` on your GPU now runs Fuobe Shorts. `POST /api/generations` drops `skill`, `demo` and `asked` from its input (the server sets them), and a PixeletedFace picture comes back as two rows, the mosaic first. New routes: `/api/evolution` (with `/estimate` and `/direction`), `/api/storyboards/estimate`, `/api/influencer/estimate`, and for skills `/api/assist/skills/[name]/recipe`, `/estimate`, `/run` and `/verify` (its paid `real` level is API only and needs `confirm: true`) and `/api/assist/skills/draft` (with `/check`, `/name` and `/save`); `GET /api/assist/skills/[name]/download?format=zip` gives a skill with its files.+ - **A user skill named `draft`?** Rename it before you upgrade: the skill builder now owns that address, so Fuobe can't open, edit, rename or delete a skill with that name afterwards (read from the code, not tested). Files a skill's recipe names now count as in use, so Empty trash keeps them, and an uploaded `recipe.json` loses its checks and has to be checked again on your install.+ - **The new Originals on your GPU (PR #14).** Set a LoRA folder in Settings → LoRAs so Fuobe can fetch the new LoRAs; six Mixed Media looks need a civitai key for theirs. Without a LoRA folder, Mixed Media leaves a missing look LoRA out with a note, but DoP's Mixed Media stills for the 14 looks with a LoRA fail when they're sent. Evolution, Fuobe Angles, Fuobe Shorts and Smooth need 24 GB of VRAM; Mixed Media per frame and Fuobe Speak 16 GB (the manifest's figures, not measured). In the cloud, the new Originals need a fal key; Replicate also serves Fuobe Marketing Image's edits.+ - **Ollama, busy or down (PR #14).** Ollama now follows ComfyUI's rule: one that answered in the last 2 minutes, or whose port takes a connection and answers a longer 10 s check, counts as up, so a busy Ollama no longer sends Assist to the offline planner. Opening Assist waits at most 1.5 s for an Ollama that never answers.+ - **AI-Toolkit in Settings (PR #14).** **Settings → Training · AI-Toolkit** holds the address, an optional token and the photos folder, which must be a full path, each with Save & test; it is greyed out in Paid APIs only mode. The Train dialogs' "Open Settings" goes to the section that clears their blocker.+- **Settings → Prompt enhancement is now AI helper.** Besides Claude and Ollama it talks to LM Studio, Unsloth Studio and any other OpenAI-compatible server (see the table above). Nothing needs changing: `FUOBE_ENHANCE_PROVIDER=ollama` and a saved Ollama choice now mean "a local model", the Ollama settings and environment variables are read as before, and Assist chats saved on Ollama open on the local model. With Automatic, Fuobe uses the first local server that answers with a model (Ollama first); pin one with `FUOBE_LLM_PROVIDER`. A model LM Studio loads for Fuobe gets 16k of context (`FUOBE_LLM_CONTEXT`).+- **Image to 3D on your GPU: Pixal3D and the finish.** From an image now runs Pixal3D by default (`image-to-3d-pixal3d`: MoGe 2 estimates the camera, about 250k triangles); TRELLIS.2 stays in the menu. It needs one new model file, Pixal3D's single-view weights (`pixal3d_int8_convrot`, 5.58 GB; the multi-view graph uses its own), plus MoGe 2 and the files TRELLIS.2 already uses; the Workflows page lists them. Like TRELLIS.2, it encodes with DINOv3, so its results show "Built with DINOv3". Before a job shows as done, the server makes a web copy of each open-engine GLB (meshopt geometry, WebP textures, the pivot at the bottom); the raw GLB stays the download. After it, the server renders a 4 s turntable on the CPU, one at a time, when ffmpeg and a Playwright Chromium are there (`npx playwright-core install chromium-headless-shell`); without them the 3D page records one in your browser.- - **LoRAs on the open engine:** set the **LoRA folder** in Settings → LoRAs, plus a civitai key for 72 of the 114 library LoRAs. Fuobe writes the files itself, so the folder must be one the Fuobe machine can write to (ComfyUI on the same PC, or its `models/loras` shared); otherwise place the files by hand, as you must for the two gated Hugging Face LoRAs. With no folder set, a run that needs a LoRA ComfyUI doesn't have stops and says what to do. A LoRA sent to a workflow with no model loader to attach it to now fails the run instead of being dropped silently. Since PR #10 the presets use many more LoRAs on the open engine: 84 files (was 43), 36 of them from civitai (was none). Without the civitai key, a motion, an effect or one of six Cinema Studio moves (Handheld, POV, Robot Arm, Snorricam, Tracking and Side Tracking) that needs a civitai file ComfyUI doesn't have stops before the job; Fuobe Soul leaves those LoRAs out and says so.+ - **LoRAs on the open engine:** set the **LoRA folder** in Settings → LoRAs, plus a civitai key for 72 of the 118 library LoRAs. Fuobe writes the files itself, so the folder must be one the Fuobe machine can write to (ComfyUI on the same PC, or its `models/loras` shared); otherwise place the files by hand, as you must for the two gated Hugging Face LoRAs. With no folder set, a run that needs a LoRA ComfyUI doesn't have stops and says what to do. A LoRA sent to a workflow with no model loader to attach it to now fails the run instead of being dropped silently. Since PR #10 the presets use many more LoRAs on the open engine: 84 files (was 43), 36 of them from civitai (was none). Without the civitai key, a motion, an effect or one of six Cinema Studio moves (Handheld, POV, Robot Arm, Snorricam, Tracking and Side Tracking) that needs a civitai file ComfyUI doesn't have stops before the job; Fuobe Soul leaves those LoRAs out and says so.- **Cloud runs with LoRAs:** when a model runs on both fal and Replicate, Fuobe picks the one that can take every LoRA and the clip length asked, even over **Preferred provider**. LoRAs a run can't take are left out with a warning.- **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).@@@ -140,9 -144,9 +152,9 @@@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, Fuobe DoP · LTX's LTX-2.3 graphs 32 GB, and the MiniMax H3 graphs of Character swap and the Character Swap Studio 24 GB with offloading and 64–128 GB of RAM, 48 GB+ advised). `scripts/comfy/install-comfyui.sh` installs ComfyUI and 17 custom node packs at pinned commits (the ones Fuobe was validated with; the H3 graphs aren't validated yet), the non-commercial ComfyUI-Whisper (`NC_PACKS=0` leaves it out) and Akatz Labs' GPL-3.0 `h3_character_swap` (`H3_PACK=0` leaves it out) included; `H3_RELAY=1` adds H3 Relay 2.0 (Genjutsu's Relay swap, H3 Person Removal and the Character Swap Studio). Settings → Models & licences switches packs and models off per install.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**.- 4. For LoRAs (Fuobe Soul's looks, camera motions, effects, trained Soul IDs, Character swap's LoRAs), set **Settings → LoRAs → LoRA folder** to ComfyUI's `models/loras`, and add a civitai key for civitai files. Fuobe then downloads a LoRA ComfyUI doesn't have before the run.+ 4. For LoRAs (Fuobe Soul's and Mixed Media's looks, camera motions, effects, trained Soul IDs, Character swap's LoRAs, the adapters Fuobe Try-On, Angles, Speak and Popcorn load), set **Settings → LoRAs → LoRA folder** to ComfyUI's `models/loras`, and add a civitai key for civitai files. Fuobe then downloads a LoRA ComfyUI doesn't have before the run.-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.+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 the local model (Settings → AI helper) when one is ready, and Qwen3.5 4B on your ComfyUI when none is.To check a ComfyUI connection end to end without downloading any models:@@@ -210,12 -213,11 +229,12 @@@ node tests/e2e/eval-review.mj- `docs/ARCHITECTURE.md` — how requests flow from the composer to providers and back, pipelines, live updates, security, each studio's modules- `docs/cli.md` — the `fuobe` command line: install, sign in, every command (`fuobe eval` included), 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; Openjutsu and Akatz Labs' H3 Character Swap; Liner UI language); [`docs/research/README.md`](docs/research/README.md) says what each file covers+ - `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; Openjutsu and Akatz Labs' H3 Character Swap; new models (Open-H3-Regenerate-2K, WorldCast, MOSS-Image Layout), DBS soundtrack separation, Work2Skill and accounts, all plans for now except Work2Skill's first two packages; 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+- `docs/deploy.md` — how fuobe.com is hosted and auto-deployed from `main` (server files in `deploy/fuobe.com/`)- `scripts/comfy/` — the pipeline that exports and validates the ComfyUI workflow library- `scripts/eval/` — the Fuobe Originals evaluation harness: suites, metrics, blind review and the promote rule- - `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+ - `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); a skill of your own can also carry a `recipe.json` that lets it run by itself (see [`skills/README.md`](skills/README.md)); `.agents/skills/fuobe/` teaches another agent to drive Fuobe through MCP or the CLI## Tech@@@ -223,4 -225,4 +242,4 @@@ Next.js 16 (App Router, Cache Component## License notes- Fuobe's code is open source. Model weights, LoRAs and ComfyUI node packs have their own licenses, and Fuobe treats them as information, not gates: **Settings → Models & licences** shows each one's licence and class (commercial use allowed, commercial use with conditions, restricted regions, non-commercial, research only, proprietary paid API, licence unknown), each with a switch. Everything starts switched on, so check what your use allows and switch off what doesn't fit. Several open models used here are **non-commercial** (FLUX.1/FLUX.2 [dev] and FLUX.2 [klein] 9B, which Soul ID can also train on, inswapper, MMAudio weights, USO's FLUX.1 base, some LoRAs, ComfyUI-Whisper's node code, now installed by default, TRIBE v2), HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea, MiniMax H3 (Character swap's default, H3 Person Removal and the Character Swap Studio) excludes the US, the EU, the UK and South Korea, needs MiniMax's written authorization above US$20M yearly revenue and asks commercial products to show "MiniMax H3", 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. Fuobe DoP · LTX on your GPU uses LTX-2.3 under the LTX-2 Community License (free below US$10M annual revenue) and the Gemma terms, Pixal3D, TRELLIS.2 and TripoSplat encode with DINOv3 (the DINOv3 License; their results show "Built with DINOv3"), and Akatz Labs' two H3 node packs are GPL-3.0. The Workflows page, **Settings → About & licences**, `docs/research/comfyui-oss*.md` and `docs/research/openjutsu-6.md` list each license. LoRAs have their own too: **Settings → LoRAs** shows each one's (commercial or not, your GPU only or also the cloud), and a LoRA licensed for your GPU only goes to fal or Replicate like any other, with a note, unless **Keep them on your GPU** is on. The Soul ID dialog shows each training's licence next to its price. Cloud models are billed by your provider, and Models & licences classes every fal and Replicate route as a proprietary paid API whatever its weights' licence, so the Non-commercial switch doesn't reach the hosted FLUX [dev] models.-Fuobe's code is open source. Model weights, LoRAs and ComfyUI node packs have their own licenses, and Fuobe treats them as information, not gates: **Settings → Models & licences** shows each one's licence and class (commercial use allowed, commercial use with conditions, restricted regions, non-commercial, research only, proprietary paid API, licence unknown), each with a switch. Everything starts switched on, so check what your use allows and switch off what doesn't fit. Several open models used here are **non-commercial** (FLUX.1/FLUX.2 [dev] and FLUX.2 [klein] 9B, which Soul ID can also train on, inswapper, MMAudio weights, USO's FLUX.1 base, some LoRAs, ComfyUI-Whisper's node code, now installed by default, TRIBE v2, and Video Depth Anything large, a Depth map choice on your GPU that isn't the default), HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea, MiniMax H3 (Character swap's default, H3 Person Removal and the Character Swap Studio) excludes the US, the EU, the UK and South Korea, needs MiniMax's written authorization above US$20M yearly revenue and asks commercial products to show "MiniMax H3", 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. Fuobe DoP · LTX on your GPU uses LTX-2.3 under the LTX-2 Community License (free below US$10M annual revenue) and the Gemma terms, TRELLIS.2 and TripoSplat encode with DINOv3 (the DINOv3 License; their results show "Built with DINOv3"), and Akatz Labs' two H3 node packs are GPL-3.0. Fuobe Speak's FusioniX LoRA has an Apache-2.0 card, but the LoRAs it merges weren't checked. The Workflows page, **Settings → About & licences**, `docs/research/comfyui-oss*.md` and `docs/research/openjutsu-6.md` list each license. LoRAs have their own too: **Settings → LoRAs** shows each one's (commercial or not, your GPU only or also the cloud), and a LoRA licensed for your GPU only goes to fal or Replicate like any other, with a note, unless **Keep them on your GPU** is on. The Soul ID dialog shows each training's licence next to its price. Cloud models are billed by your provider, and Models & licences classes every fal and Replicate route as a proprietary paid API whatever its weights' licence, so the Non-commercial switch doesn't reach the hosted FLUX [dev] models.++Fuobe's code is open source. Model weights, LoRAs and ComfyUI node packs have their own licenses, and Fuobe treats them as information, not gates: **Settings → Models & licences** shows each one's licence and class (commercial use allowed, commercial use with conditions, restricted regions, non-commercial, research only, proprietary paid API, licence unknown), each with a switch. Everything starts switched on, so check what your use allows and switch off what doesn't fit. Several open models used here are **non-commercial** (FLUX.1/FLUX.2 [dev] and FLUX.2 [klein] 9B, which Soul ID can also train on, inswapper, MMAudio weights, USO's FLUX.1 base, some LoRAs, ComfyUI-Whisper's node code, now installed by default, TRIBE v2, and Video Depth Anything large, a Depth map choice on your GPU that isn't the default), HunyuanVideo-Foley and Hunyuan3D 2.1 exclude the EU, UK and South Korea, MiniMax H3 (Character swap's default, H3 Person Removal and the Character Swap Studio) excludes the US, the EU, the UK and South Korea, needs MiniMax's written authorization above US$20M yearly revenue and asks commercial products to show "MiniMax H3", 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. Fuobe DoP · LTX on your GPU uses LTX-2.3 under the LTX-2 Community License (free below US$10M annual revenue) and the Gemma terms, Pixal3D, TRELLIS.2 and TripoSplat encode with DINOv3 (the DINOv3 License; their results show "Built with DINOv3"), and Akatz Labs' two H3 node packs are GPL-3.0. Fuobe Speak's FusioniX LoRA has an Apache-2.0 card, but the LoRAs it merges weren't checked. The Workflows page, **Settings → About & licences**, `docs/research/comfyui-oss*.md` and `docs/research/openjutsu-6.md` list each license. LoRAs have their own too: **Settings → LoRAs** shows each one's (commercial or not, your GPU only or also the cloud), and a LoRA licensed for your GPU only goes to fal or Replicate like any other, with a note, unless **Keep them on your GPU** is on. The Soul ID dialog shows each training's licence next to its price. Cloud models are billed by your provider, and Models & licences classes every fal and Replicate route as a proprietary paid API whatever its weights' licence, so the Non-commercial switch doesn't reach the hosted FLUX [dev] models.diff --cc docs/ARCHITECTURE.mdindex 856580f5,304a72b2..f023a182--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@@ -1,6 -1,6 +1,6 @@@# Architecture- 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, ComfyUI, and Claude or a local LLM server for text: Ollama, LM Studio, Unsloth Studio or any OpenAI-compatible one), fetches LoRA files from Hugging Face and civitai when a run needs them, and stores every input and output locally, so the library never depends on a provider's expiring URLs. Since round 4 part 4 the admin decides which models, providers, licence classes, node packs and LoRAs the install offers (Settings → Models & licences; everything is on by default), and a read-only share link (`/s/<token>`) opens one page and its files without a session. Since round 4 part 5 Fuobe calls no Higgsfield API: Higgsfield is only what Fuobe is measured against, and a stored or scripted reference to one of its models runs on what replaced it (see Retired models).-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, ComfyUI, and Claude or Ollama for text), fetches LoRA files from Hugging Face and civitai when a run needs them, and stores every input and output locally, so the library never depends on a provider's expiring URLs. Since round 4 part 4 the admin decides which models, providers, licence classes, node packs and LoRAs the install offers (Settings → Models & licences; everything is on by default), and a read-only share link (`/s/<token>`) opens one page and its files without a session. Since round 4 part 5 Fuobe calls no Higgsfield API: Higgsfield is only what Fuobe is measured against, and a stored or scripted reference to one of its models runs on what replaced it (see Retired models). Since round 5 part 1 a feature gets a cloud route only where its model (or its base model, with LoRA support) is hosted on fal or Replicate; otherwise it runs on the open engine only, with no stand-in recipe (the owner's decision of 2026-10-29; see Fuobe Originals for the one exception, and two smaller cases, left to decide). A user skill can also carry a recipe that Fuobe checks, prices and runs by itself (see Skills that run by themselves).++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, ComfyUI, and Claude or a local LLM server for text: Ollama, LM Studio, Unsloth Studio or any OpenAI-compatible one), fetches LoRA files from Hugging Face and civitai when a run needs them, and stores every input and output locally, so the library never depends on a provider's expiring URLs. Since round 4 part 4 the admin decides which models, providers, licence classes, node packs and LoRAs the install offers (Settings → Models & licences; everything is on by default), and a read-only share link (`/s/<token>`) opens one page and its files without a session. Since round 4 part 5 Fuobe calls no Higgsfield API: Higgsfield is only what Fuobe is measured against, and a stored or scripted reference to one of its models runs on what replaced it (see Retired models). Since round 5 part 1 a feature gets a cloud route only where its model (or its base model, with LoRA support) is hosted on fal or Replicate; otherwise it runs on the open engine only, with no stand-in recipe (the owner's decision of 2026-10-29; see Fuobe Originals for the one exception, and two smaller cases, left to decide). A user skill can also carry a recipe that Fuobe checks, prices and runs by itself (see Skills that run by themselves).```proxy.ts: hostAllowed() (no password set) → crossSite() → share links (GET / HEAD on /s/<token>[/f/<path>]: openShare, no session)@@@ -63,29 -66,32 +66,32 @@@ Feed, Library, studios (React Query cac| `trainers.generated.ts` | Round 4 part 4. The fal trainers (`HOSTED_TRAINERS`: endpoint, fields, price per step, the output field the LoRA comes back in, licence). **Generated** by `scripts/gen-trainers.py` from `fuobe-originals-recipes-5.json`'s trainers; `training.ts` prices Soul ID from it || `studio-packs.generated.ts` | Round 4 part 5. The 14 Photodump / Instadump packs and the 6 Fashion Factory templates (name, photo or shot count, description). **Generated** by `scripts/gen-studio-packs.py` from the research in `higgsfield-image-studios.json`. It replaces `higgsfield-presets.generated.ts`, which went with `higgsfield-models.generated.ts` and their generators (see Retired models); the Soul preset fallback list and `presetPrompt` left `packs.ts` with it || `replaced.ts` | Round 4 part 5 (O7). What replaced each retired model, training target and lost operation, pure and browser-safe: `REPLACED_BY` (12 model ids → the model that does the job now, with `was`, the name it ran under, a `note`, and `original`, `ops`, `withReferences` and `director` where they apply), `TRAINING_REPLACED_BY`, `OPS_REPLACED_BY`, `replacedBy`, `currentModelId`, `replacementOf` and `migrateRequest` (see Retired models) |- | `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`). Since round 4 part 3 `MODELS` starts with the Fuobe Originals: `original()` joins each one's ComfyUI routes to its generated cloud half. Since round 4 part 5 the cloud list is `CLOUD_MODELS` and the cloud tools only (no Higgsfield models or routes are joined, and the hand-written `ai-influencer` is gone), and two hidden open models run Character Swap Studio's graphs: `oss-h3-swap-segment` (`video-swap` on `video-character-swap-h3-segment`) and `oss-h3-person-mask` (`bg-remove-video` on `video-mask-h3-relay`) |+ | `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`). Since round 4 part 3 `MODELS` starts with the Fuobe Originals: `original()` joins each one's ComfyUI routes to its generated cloud half. Since round 4 part 5 the cloud list is `CLOUD_MODELS` and the cloud tools only (no Higgsfield models or routes are joined, and the hand-written `ai-influencer` is gone), and two hidden open models run Character Swap Studio's graphs: `oss-h3-swap-segment` (`video-swap` on `video-character-swap-h3-segment`) and `oss-h3-person-mask` (`bg-remove-video` on `video-mask-h3-relay`). Since round 5 part 1 `originals` holds the eight new Originals' GPU halves, `oss-video-depth-vda-large` joins the open list, the hidden `oss-face-mosaic` (`face-mosaic` on `image-face-mosaic-sam3`) is the face mosaic's GPU step, and `oss-tryon-klein` carries the try-on LoRA in `ModelOptions.loras`, so its switch governs it |-| `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` |+| `llm-models.ts` | `text-llm` (cloud: Claude, else a local model) and `oss-text-llm` (open: a local model only, never Claude, route endpoint `ollama`; since round 4 its translations run on ComfyUI's Qwen3.5 4B, `oss-qwen35-translate`, when no local model server is ready), kind `text`, ops `translate` and `write` || `elements.ts` | Elements (character / location / prop / style / voice), `@handle` parsing and `applyMentions`; since round 4 part 4 an element holds up to 80 photos (`MAX_ELEMENT_PHOTOS`) and a mention brings its trained LoRA to every model of the LoRA's family on either engine (`identityFor`); since round 4 part 5 an older Soul ID (Higgsfield's `referenceId`) goes to no model; the element shows "Older Soul ID" with "Retrain for Fuobe Soul" (nothing retrains by itself) || `sketch.ts` | `applySketch` (masks and drawings → the right operation and inputs) |- | `storyboard.ts` | Storyboard models per engine, scene splitting and frame prompts |+ | `storyboard.ts` | Storyboard models per engine, scene splitting and frame prompts. Since round 5 part 1 (O13, Popcorn) `planStoryboard` writes each frame's request: Fuobe's open recipe on both engines (`STORYBOARD_MODELS`: in the cloud Z-Image Turbo, or Qwen-Image-Edit 2511 with references, then Qwen-Image-Edit 2509 with the next-scene LoRA, `nextLoras`), Nano Banana Pro as a cloud partner for every frame (`STORYBOARD_PARTNERS`), and a Fuobe Soul look (frame 1 on `fuobe-soul` without references, the look's words on the next frames, `frame.look`; a 21:9 look board made at 16:9 and cropped, `LOOK_CROPPED`) || `training.ts` | Fuobe Soul ID (round 4 part 4; see Training): the 7 families (`TRAINING_FAMILIES`: each base's models, lead model and fal trainer), the 13 targets (`TRAINING_TARGETS`: 5 AI-Toolkit, 8 fal), the photo rules and consent line (`SOUL_ID_PHOTOS`, `SOUL_ID_COPY`, `needsConsent`), prices (`trainerCost`), `falTrainingInput` and `trainedLoraUrl`, `AITK_MODELS` and `aiToolkitJob` (character or style preset), `identityFor` (an element's LoRA for a model's family), `trainingCaption`. Higgsfield Soul ID is no longer a target || `character-swap.ts` | Round 4 part 4. Genjutsu's Character swap, pure (see Fuobe Originals): limits (`CHARACTER_SWAP`), who to swap, the H3 window plan and canvas (`windowPlan`, `h3Canvas`, `samCoords`), prompts (`swapPrompt`, `anchorPrompt`), the anchor models, the swap, Turbo and Person Remover LoRAs with their pinned files (`SWAP_LORAS`, `TURBO_LORA`, `PERSON_REMOVER_LORA`, `graphLoras`) and the licences as data (`CHARACTER_LICENCES`, `MINIMAX_H3_LICENCE`); since round 4 part 5 `H3_WORKFLOWS` also names Character Swap Studio's segment graph, so its LoRAs download before a run |- | `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. Since round 4 part 3 `index.ts` rebuilds every motion's and effect's routes with `dopPreset` (`dop.ts`) |+ | `apps.ts`, `motions.ts` | 125 apps, 108 camera motions, 255 effects: prompt templates, input slots, option pickers, cloud and open routes. `APP_ALIASES` keeps renamed app ids working. Since round 4 part 3 `index.ts` rebuilds every motion's and effect's routes with `dopPreset` (`dop.ts`). Since round 5 part 1 the Fuobe Angles app (`app-fuobe-angles`, badges new and beta) sits next to the Angles app, which keeps its Qwen-Image-Edit 2511 recipe (`ANGLES_2511_LORA`), and the AI Influencer app's routes carry the casting look (`PresetRoute.look`: `CAST_LOOK`, the Realistic look) || `engines.ts` | Round 4 part 3. Pure: which engine a model runs on. `enginesOf`, `runsOn`, `dualEngine`, `providerEngine`, `onEngine` (an Original as it runs on one engine) and `pickEngine` (see Fuobe Originals) || `swap-studio.ts`, `swap-studio-plan.ts`, `swap-studio-edit.ts` | Round 4 part 5. Character Swap Studio, pure (see Studios): the project document and its rules, every job's steps on each engine, and the page's edits |- | `soul.ts`, `soul-cards.ts` | Round 4 part 3. Fuobe Soul: `soulRecipe` (the look's words, LoRAs in slot order, tail, grade, overlay), `soulSize` / `soulMegapixels` (`FAL_MEGAPIXEL`), `promptWithLoras`, `soulPostSteps`, legacy id lookup. `soul-cards.ts` is the browser-safe part: look cards for the pickers, `DEFAULT_LOOK` (`v1-general`), the model ids; since round 4 part 4 `OWN_LOOK` (`own-style`: a moodboard trained as a style LoRA is the look; its LoRA carries it, with no look words, look LoRAs or grade) |+ | `soul.ts`, `soul-cards.ts` | Round 4 part 3. Fuobe Soul: `soulRecipe` (the look's words, LoRAs in slot order, tail, grade, overlay), `soulSize` / `soulMegapixels` (`FAL_MEGAPIXEL`), `promptWithLoras`, `soulPostSteps`, legacy id lookup. `soul-cards.ts` is the browser-safe part: look cards for the pickers, `DEFAULT_LOOK` (`v1-general`), the model ids; since round 4 part 4 `OWN_LOOK` (`own-style`: a moodboard trained as a style LoRA is the look; its LoRA carries it, with no look words, look LoRAs or grade). Since round 5 part 1 a look can name a step after it (`SoulLook.post`, read by `soulPostStep`: PixeletedFace's `face-mosaic`, from the research's `presets[].post`) || `soul-originals.generated.ts`, `soul-looks.generated.ts` | Round 4 part 3. The 139 Soul looks with their recipes, tails, sizes, sampler and Soul Cinema's recipe, and the pickers' slim cards. **Generated** by `scripts/gen-soul-originals.py` from `fuobe-originals-recipes-5.json` and `higgsfield-image-studios.json` |- | `dop.ts` | Round 4 part 3. Fuobe DoP: `dopPreset` (a motion's or effect's open and cloud routes, its grade, its relight step), `presetLoras`, `DOP_GRADES`, the relight step's models and the Fun Camera poses (moved here from `index.ts`) |+ | `dop.ts` | Round 4 part 3. Fuobe DoP: `dopPreset` (a motion's or effect's open and cloud routes, its grade, its relight step), `presetLoras`, `DOP_GRADES`, the relight step's models and the Fun Camera poses (moved here from `index.ts`); since round 5 part 1 the 32 Mixed Media effects' still in the look (`mixedPrestep`, `mixedLookOf`: see Fuobe Originals) || `oss-loras.generated.ts` | Since round 4 part 3 the preset → LoRA map v2 (`scripts/gen-oss-loras.py`): `OSS_LORAS` (168 keys, preset ids from the research's `motionsEffects` first, then round-1 Wan matches by slug; 99 files, 36 of them on civitai; round 4 part 4 added `motion-bts` with the BTS move's LTX-2.5 LoRA), each LoRA with its base and licence flags, and `DOP_RECIPES` (300 presets: status, Fun Camera pose, LTX-2.3 `cameraLora`, LTX-2.5 `cameraMotion`, alias) || `loras.ts` | LoRAs in a run, pure (round 4 part 2): library lookups (`libraryEntry`, `loraRef`), the licence rules (`gpuOnlyLicence`; since round 4 part 4 `localOnly` keeps such a LoRA off fal and Replicate only while Settings → Models & licences keeps GPU-only LoRAs on the GPU; `gated`; `needsToken` for civitai links), `fitLoras` (what a cloud route can carry, and notes on the rest), `lorasFit` (for route choice), `loraFields` (each API's payload shape) and `loraEndpointFor`; since round 4 part 3 `triggerOf` (a LoRA's trigger without its full stop or brackets). Downloads and mirrors are in `src/server/loras.ts` (see LoRAs) |- | `lora-library.generated.ts` | 114 researched LoRAs (67 looks, 23 motions, 24 effects), each with its pinned download, a unique local file name, SHA256, size and licence snapshot, plus the motion / effect preset → LoRA map (`MOTION_EFFECT_LORAS`). **Generated** by `scripts/gen-lora-library.py` from `fuobe-originals-recipes-5.json`. The downloader and Settings → LoRAs read it. Since round 4 part 3 Fuobe Soul's looks name its keys, and a DoP preset's LoRA that is a library file (47 of the map's 99) takes its pinned download and licence from it |+ | `lora-library.generated.ts` | 118 researched LoRAs (67 looks, 23 motions, 24 effects and, since round 5 part 1, 4 adapters), each with its pinned download, a unique local file name, SHA256, size and licence snapshot, plus the motion / effect preset → LoRA map (`MOTION_EFFECT_LORAS`). **Generated** by `scripts/gen-lora-library.py` from `fuobe-originals-recipes-5.json`. The downloader and Settings → LoRAs read it. Since round 4 part 3 Fuobe Soul's looks name its keys, and a DoP preset's LoRA that is a library file (47 of the map's 99) takes its pinned download and licence from it. Since round 5 part 1 the group `adapter` (the research's `adapterLoras`) holds the LoRAs an Original's recipe always loads: the try-on LoRA for FLUX.2 [klein] 4B, next-scene for Qwen-Image-Edit 2509, dx8152's Multiple-angles for 2509 and FusioniX for Wan 2.1 I2V 14B; and `MIXED_MEDIA_LOOK_LORAS` maps 14 of the 33 Mixed Media looks to a Z-Image LoRA (read by `mixed-media-looks.ts`' `mixedLoras`, kept apart so the studio page doesn't ship the library) || `influencer-options.generated.ts` | The AI Influencer builder's data: 19 categories (Character type first) and their options, the 6 creature types with species, Shuffle's weights and the two clash messages (`CONFLICT_MESSAGES`). **Generated** by `scripts/gen-influencer-options.py` from `docs/research/higgsfield-delta-4.json`; the rules and the prompt compiler are in `src/lib/influencer.ts` |- | `index.ts` | Lookup helpers; motions and effects through `dopPreset` (effects also `withPrestepPrice`: the relight step's price), round-1 Wan LoRAs on video apps (`withOssLoras`), the apps' dedicated open workflows (`APP_OPEN_OVERRIDES`: ReActor, the Qwen relight, the try-on); registers the LLM models. Since round 4 part 3 `modelsFor` lists an Original for an operation only on the engines whose routes run it |- | `plan.ts` | Pure planning logic (operation inference, prompt composition, batching, input validation, cost estimate, `pricingAt`, `routeLoras`); since round 4 part 3 the Soul plan (`Plan.soul`, `Plan.notes`), `mixLoras`, and per-megapixel prices for every picture made; since round 4 part 4 `withoutTriggers` (a LoRA left out takes its trigger word with it), a character's strength scaling its LoRA on every model, and video priced per megapixel (`videoMegapixels`: the tier's real size × frames, Fuobe Cinema's LTX-2.3) |- | `payload.ts` | `buildPayload(FieldMap, GenInput)`, `extractMedia(response)`, `extractOutputs(response, op)` (structured outputs), `keepMatte` and `noOutputsError`; `sizeValue` takes an exact size table per tier and writes one `{width, height}` field when the map names a `key` (round 4 part 3: Fuobe Soul, fal's `image_size`); since round 4 part 5 `pointsValue` adds `frame_index` to a SAM point clicked on a later frame (`PixelPoint.frame`) |+ | `index.ts` | Lookup helpers; motions and effects through `dopPreset` (effects also `withPrestepPrice`: the relight step's price), round-1 Wan LoRAs on video apps (`withOssLoras`), the apps' dedicated open workflows (`APP_OPEN_OVERRIDES`: ReActor, the Qwen relight, the try-on); registers the LLM models. Since round 4 part 3 `modelsFor` lists an Original for an operation only on the engines whose routes run it; since round 5 part 1 `withPrestepPrice` prices a prestep on its model's cloud half (`onEngine(m, "cloud")`), so a prestep on an Original has a cloud price |+ | `plan.ts` | Pure planning logic (operation inference, prompt composition, batching, input validation, cost estimate, `pricingAt`, `routeLoras`); since round 4 part 3 the Soul plan (`Plan.soul`, `Plan.notes`), `mixLoras`, and per-megapixel prices for every picture made; since round 4 part 4 `withoutTriggers` (a LoRA left out takes its trigger word with it), a character's strength scaling its LoRA on every model, and video priced per megapixel (`videoMegapixels`: the tier's real size × frames, Fuobe Cinema's LTX-2.3); since round 5 part 1 a model's recipe LoRAs (`ModelOptions.loras`) go before the user's with their trigger words first, `defaultPrompt` fills an empty prompt, an app route's `look` runs `soulRecipe` on a model that isn't Soul (`routeLook`; a Soul model given an app's preset id reads it as the app, not a look), Fuobe Angles' camera fields become words on the GPU or are refused when the camera doesn't move, a talking avatar is priced on its voice (`avatarSeconds`, from `params.sourceDuration`), a clip edit that keeps the clip's length on the clip's seconds capped at the model's window (`clipEditSeconds`, fixes-5), and a megapixel model on the size sent as `params.extra.image_size` |+ | `payload.ts` | `buildPayload(FieldMap, GenInput)`, `extractMedia(response)`, `extractOutputs(response, op)` (structured outputs), `keepMatte` and `noOutputsError`; `sizeValue` takes an exact size table per tier and writes one `{width, height}` field when the map names a `key` (round 4 part 3: Fuobe Soul, fal's `image_size`); since round 4 part 5 `pointsValue` adds `frame_index` to a SAM point clicked on a later frame (`PixelPoint.frame`); since round 5 part 1 `numFrames.multiple` (fal's Wan 2.2 S2V takes 4n frames) and `faceMaskOutputs` (fal SAM 3.1's masks for the face mosaic, as `meta.role` `mask` outputs) || `palettes.ts` | `applySignature` (Color signature / Moodboard picks → native palette, style id, or words) and `withSignatureWords`; since round 4 part 3 curated moodboards are Fuobe Soul looks, and `locksByDefault` turns the palette lock on for Soul models; since round 4 part 4 a moodboard trained as a style LoRA runs as Fuobe Soul's `own-style` look on the Z-Image family, on either engine || `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`, `canvas-board.ts`, `shorts.ts`, `shorts-models.ts`, `mixed-media.ts`, `marketing.ts`, `faceless.ts`, `packs.ts`, `remove-object.ts`, `genjutsu.ts`, `content-factory.ts` | Each studio's data and pure planner, shared by client and server (see Studios) |+ | `cinema.ts`, `canvas.ts`, `canvas-board.ts`, `shorts.ts`, `shorts-models.ts`, `mixed-media.ts`, `marketing.ts`, `faceless.ts`, `packs.ts`, `remove-object.ts`, `genjutsu.ts`, `content-factory.ts`, `evolution.ts` | Each studio's data and pure planner, shared by client and server (see Studios; `evolution.ts` since round 5 part 1) |+ | `open-tools.ts` | Round 5 part 1 (O11). Pure: Fuobe Angles' camera as the Multiple-angles LoRA's own words (`anglesWords`, `anglesPrompt`, `ANGLES_FIELDS`, `ANGLES_LORA`; the Angles app's `ANGLES_2511_LORA`, which Cinema's Location views read too), Fuobe Speak's graph settings and LoRA (`SPEAK_GRAPH`, `SPEAK_LORA`, `SPEAK_PROMPT`) and the face mosaic's models per engine and block size (`FACE_MOSAIC_MODELS`, `MOSAIC_TARGET`, `MOSAIC_SCALE`, `faceMosaicStep`) |+ | `clip-windows.ts` | Round 5 part 1 (fixes-5). The clip lengths each clip-edit model takes (`sourceSeconds`, `clipWindowProblem`: Happy Horse and Kling O3 4K edit 3–15 s, Runway Aleph 2 2–30 s, Wan 2.7 2–10 s, Gemini Omni Flash up to 10 s), shared by pricing, the composer, the server, Shorts and Mixed Media. Grok Imagine video edit, which fal cuts to 8 s, has no window yet, so a longer clip isn't blocked and is priced in full |+ | `mixed-media-looks.ts` | Round 5 part 1 (O9). `mixedLoras`: a Mixed Media look's Z-Image LoRAs from `MIXED_MEDIA_LOOK_LORAS` |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's `{r,g,b}` objects, Ideogram members with falling weights, plain lists; an `rgb`-array format is still supported, unused since Higgsfield's Recraft route went). `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`).@@@ -124,11 -132,13 +132,13 @@@ Every adapter implements `isConfigured`- **Round 4 part 2.** A graph with no diffusion-model loader refuses LoRAs instead of dropping them (`canTakeLoras` in `src/lib/comfy.ts`), and a missing-LoRA error points at the LoRA's model card and at Settings → LoRAs. `comfyLoraFiles(route)` reads `GET /models/loras` from the server that runs the route, for the download before submit (see LoRAs). An OCR graph's `lines` output is read by `parseOcrLines` (`src/lib/ocr.ts`: code fences, `bbox_2d` / `text_content`, 0–1000 boxes, cut-off answers) into text, `meta.lines` and `meta.size` (from its `frame` output); an answer with no list keeps its words, with `meta.unreadable`. `video-append-endcard` is bound to the ad's own width, height and fps from its header (an unreadable header is refused), and a silent ad loses the LoadAudio chain that would read its sound (`dropLoadedSound`).- **Round 4 part 3.** Image uploads record their size (`imageSize`), so "auto" takes the start frame's shape on any graph when there is no clip header (before, the workflow's default size). Fuobe DoP: a request with a Fun Camera pose (`params.extra.cameraMotion`) on `wan22-i2v-14b` runs on `wan22-fun-camera-14b` (`CAMERA_POSE_GRAPH`), with any LoRAs injected as on the plain graph. Fuobe Soul's image to image binds `megapixels` (1 for 720p, 2 for 1080p; a new binding key in `scripts/comfy/build-library.mjs`). Multi-view 3D: `SLOT_RULES` can name `views` (the sides of one object, into one node); `viewSlots` puts each photo on the side `params.extra.views` names (in order when unnamed; two photos of one side are refused), and a side with no photo is cut out of the graph with its cut-out and crop (`dropBranch` in `src/lib/comfy.ts`), instead of reusing the previous image. The Canvas concatenator's `video-fit-clip`: a muted clip, or one whose header says it has no sound, gets stereo silence as long as its kept frames (`silenceVhsAudio`), so every clip of a packet-copy join carries a track; with no known length it gets no track. Splat outputs are typed `model/ply`, `model/x-spz` or `model/x-ksplat` (ComfyUI serves them as octet-stream), and an output with role `splat` carries `meta.format`.- **Round 4 part 4.** `CAMERA_POSE_GRAPH` also moves Fuobe Cinema's `wan22-i2v-14b-lightx2v` to `wan22-fun-camera-14b` when a request carries a Fun Camera pose. Character swap (manifest capability `video-character-swap`, the H3 graphs): the quality goes out as the unpatched `h3_character_swap` pack's strings ("480" / "768", `packResolution`); the window and history frames are fitted to the pack's rules (`windowPlan`); `params.extra.lora` picks the swap LoRA's file, and "none" links the swap-LoRA loader out (`bypassNode`); clicks become SAM 3.1 coordinates in H3's canvas (`samCoords`) with `selection` index 0 (the clicked mask comes first); with no anchor frame (`images[1]`), `withoutAnchor` deletes the anchor loader and the `ImageScale` nodes that read only it, and sets `use_anchor` false; with no words, the prompt is Openjutsu's instruction (`swapPrompt`). In `submit()` (`generations.ts`), a graph that loads its own LoRAs (the H3 Turbo and swap LoRAs, or the Person Remover) gets them downloaded before the run like injected ones (`graphLoras`).- - **Round 4 part 5: reachability.** A busy ComfyUI is no longer taken for a down one. Before, one `GET /system_stats` with a 1.5–2 s timeout decided, so a CPU ComfyUI busy with a job could send new runs to the demo provider. Now `probeComfy(force)` asks with a 2 s timeout (`askComfy`: yes, with the RAM it reports; no; or late). A refused connection, a name that doesn't resolve or an HTTP error is down at once. A late answer is busy, so reachable, when the server answered in the last 2 minutes (`seen`). Otherwise, when its port takes a TCP connection within 3 s (`takesConnection`, `node:net`), it gets one longer look of 10 s and counts as reachable if it answers then. A longer look that goes unanswered marks it down and isn't tried again for 2 minutes (`silent`), so further checks stay quick: a port that only takes connections (an ssh tunnel or a proxy whose ComfyUI is gone, a hung ComfyUI) isn't busy forever. The numbers are `REACH` (`answerMs`, `connectMs`, `lookMs`, `answeredLatelyMs`), exported for the tests; they aren't settings. Callers that arrive while a check of the same URL runs share it (`globalThis.__fuobeComfyProbe`); the 10 s cache is unchanged, and a check of an old address no longer overwrites the status of a new one. A busy record keeps its RAM, so `comfyRam()` still works. The blocking first check (`probeComfySync`) still waits at most 1.5 s plus 1 s, and its worker also opens a TCP connection: an answer is reachable, a refusal or an HTTP error unreachable, and no answer counts as reachable for now when the connection was taken (unreachable when it wasn't); either way a forced `probeComfy` settles it in the background. `isConfigured()`'s background refresh catches its errors. `GET /api/status` and `GET /api/comfyui` force a check and keep their shape, but can take longer: about 5 s for a host that drops packets, about 15 s for a port that answers late (at most once every 2 minutes per silent server). Right after start or an address change, a port that takes connections counts as up until the background check ends, so a run started then can go to a ComfyUI that never answers. Only the main URL is checked this way, not the isolated worker. The local LLM servers' check (`probeLocal`, also exported as `probeOllama`) is unchanged and still takes a timeout as down.- - **Round 4 part 5: reachability.** A busy ComfyUI is no longer taken for a down one. Before, one `GET /system_stats` with a 1.5–2 s timeout decided, so a CPU ComfyUI busy with a job could send new runs to the demo provider. Now `probeComfy(force)` asks with a 2 s timeout (`askComfy`: yes, with the RAM it reports; no; or late). A refused connection, a name that doesn't resolve or an HTTP error is down at once. A late answer is busy, so reachable, when the server answered in the last 2 minutes (`seen`). Otherwise, when its port takes a TCP connection within 3 s (`takesConnection`, `node:net`), it gets one longer look of 10 s and counts as reachable if it answers then. A longer look that goes unanswered marks it down and isn't tried again for 2 minutes (`silent`), so further checks stay quick: a port that only takes connections (an ssh tunnel or a proxy whose ComfyUI is gone, a hung ComfyUI) isn't busy forever. The numbers are `REACH` (`answerMs`, `connectMs`, `lookMs`, `answeredLatelyMs`), exported for the tests; they aren't settings. Callers that arrive while a check of the same URL runs share it (`globalThis.__fuobeComfyProbe`); the 10 s cache is unchanged, and a check of an old address no longer overwrites the status of a new one. A busy record keeps its RAM, so `comfyRam()` still works. The blocking first check (`probeComfySync`) still waits at most 1.5 s plus 1 s, and its worker also opens a TCP connection: an answer is reachable, a refusal or an HTTP error unreachable, and no answer counts as reachable for now when the connection was taken (unreachable when it wasn't); either way a forced `probeComfy` settles it in the background. `isConfigured()`'s background refresh catches its errors. `GET /api/status` and `GET /api/comfyui` force a check and keep their shape, but can take longer: about 5 s for a host that drops packets, about 15 s for a port that answers late (at most once every 2 minutes per silent server). Right after start or an address change, a port that takes connections counts as up until the background check ends, so a run started then can go to a ComfyUI that never answers. Only the main URL is checked this way, not the isolated worker. Ollama's check (`probeOllama`) was left as it was then, taking a timeout as down; since fixes-5 (round 5 part 1) it follows the same rules (see LLM provider).++ - **Round 4 part 5: reachability.** A busy ComfyUI is no longer taken for a down one. Before, one `GET /system_stats` with a 1.5–2 s timeout decided, so a CPU ComfyUI busy with a job could send new runs to the demo provider. Now `probeComfy(force)` asks with a 2 s timeout (`askComfy`: yes, with the RAM it reports; no; or late). A refused connection, a name that doesn't resolve or an HTTP error is down at once. A late answer is busy, so reachable, when the server answered in the last 2 minutes (`seen`). Otherwise, when its port takes a TCP connection within 3 s (`takesConnection`, `node:net`), it gets one longer look of 10 s and counts as reachable if it answers then. A longer look that goes unanswered marks it down and isn't tried again for 2 minutes (`silent`), so further checks stay quick: a port that only takes connections (an ssh tunnel or a proxy whose ComfyUI is gone, a hung ComfyUI) isn't busy forever. The numbers are `REACH` (`answerMs`, `connectMs`, `lookMs`, `answeredLatelyMs`), exported for the tests; they aren't settings. Callers that arrive while a check of the same URL runs share it (`globalThis.__fuobeComfyProbe`); the 10 s cache is unchanged, and a check of an old address no longer overwrites the status of a new one. A busy record keeps its RAM, so `comfyRam()` still works. The blocking first check (`probeComfySync`) still waits at most 1.5 s plus 1 s, and its worker also opens a TCP connection: an answer is reachable, a refusal or an HTTP error unreachable, and no answer counts as reachable for now when the connection was taken (unreachable when it wasn't); either way a forced `probeComfy` settles it in the background. `isConfigured()`'s background refresh catches its errors. `GET /api/status` and `GET /api/comfyui` force a check and keep their shape, but can take longer: about 5 s for a host that drops packets, about 15 s for a port that answers late (at most once every 2 minutes per silent server). Right after start or an address change, a port that takes connections counts as up until the background check ends, so a run started then can go to a ComfyUI that never answers. Only the main URL is checked this way, not the isolated worker. The local LLM servers' check (`probeLocal`, also exported as `probeOllama`) was left as it was then, taking a timeout as down; since fixes-5 (round 5 part 1) it follows the same rules (see LLM provider).- **Round 4 part 5: Character Swap Studio and uploads.** `prepareWorkflow()` rewrites the studio's two graphs per job (`segmentGraph` and `maskGraph` in `src/lib/swap-studio-graphs.ts`, pure, keyed by `STUDIO_WORKFLOWS`). A segment (`video-character-swap-h3-segment`): without history the plan, the window and the append lose their initial history; with it, the previous take's master comes in as `historyVideo` from `historyStart` for `historyLength` frames; the approved mask replaces SAM's chain (`maskVideo` from `maskStart`); the anchor is Picture 2, or Picture 3 at the canvas size after a history boundary (`anchorAfterHistory`); masked generation off bypasses the edit mask; and an `ImageFromBatch` node (`master_tail`) keeps only the take's last `masterKeep` frames in its 16-bit FFV1 master (output role `master`). A mask (`video-mask-h3-relay`): words, a selection or clicks (moved into H3's canvas by `samCoords`) on frame `keyFrame`, followed for `spanFrames`, spliced between the frames of the version it corrects (`prevMask`), with blank frames before a track that starts mid-shot and has nothing to correct; a shot too long for the server's RAM is refused before it runs (`maskMemoryProblem`). An upload ComfyUI answers with HTTP 413 now fails in words, naming `--max-upload-size` (100 MB unless set), for every feature (on the isolated worker before its own message). `.avi` uploads are probed too (`aviInfo`).+ - **Round 5 part 1: route settings, LoRA slots, voices, product shots.** `submit()` puts a route's `extra` under the run's own `params.extra` (Fuobe Speak's `SPEAK_GRAPH` on `infinitetalk-wanwrapper`: 15 motion frames, 25 steps, shift 10, cfg 5, audio cfg 5, `unipc`, colour match `reinhard`). A route with `loraSlot` puts the run's one LoRA in a wrapper graph's own LoRA loader (Fuobe Speak's FusioniX in kijai's `WanVideoLoraSelect`); another route on that graph (InfiniteTalk Long) still refuses a LoRA. A talking avatar, like a lip re-sync, renders as long as its voice (`params.sourceDuration`, else the voice's header) up to the graph's frame cap, 1000 frames (40 s) on the wrapper graph, and a longer voice is refused, not cut (InfiniteTalk Long, on the same graph, used to stop at the graph's 500-frame default, 20 s). Fuobe Marketing Image's Standalone shot (`params.extra.productShot` with exactly one photo) moves from `qwen-image-edit-2511-multi` to `product-shot-qwen-edit-2509` (`PRODUCT_SHOT_GRAPH`). `injectLoras` (`src/lib/comfy.ts`) no longer adds a LoRA the graph already loads, for every graph.+ - **Round 5 part 1 (fixes-5): reachability shared with Ollama.** The busy-vs-down rules above moved to `src/server/providers/reach.ts` (`hostPort`, `takesConnection`, `ask`, `checkReach`, `sharedCheck`, `reachSync`), which Ollama's check now uses too (see LLM provider). `REACH` is exported from there, and one map of running checks (`globalThis.__fuobeReachChecks`) replaces `__fuobeComfyProbe`; `probeComfy` and `probeComfySync` keep their behaviour (`tests/comfy-reach.test.ts`).- **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. 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. An extract-frames job returns as many frames as `max_frames` asks (4 without a count), so a per-frame Mixed Media demo fans out like the real one. Splat and rig jobs get the demo GLB too (`meta.format` `glb`), so a demo run never shows the splat card. Since round 4 part 5 a `video-swap` on Character Swap Studio's segment graph also returns a `master`, so a demo continuation runs like a real one.+ - **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. An extract-frames job returns as many frames as `max_frames` asks (4 without a count), so a per-frame Mixed Media demo fans out like the real one. Splat and rig jobs get the demo GLB too (`meta.format` `glb`), so a demo run never shows the splat card. Since round 4 part 5 a `video-swap` on Character Swap Studio's segment graph also returns a `master`, so a demo continuation runs like a real one. Since round 5 part 1 a `face-mosaic` job returns a demo picture with no masks. A request with `demo: true` (a skill's free dry run) goes to this provider whatever Settings → Demo mode says (see Pipelines).## Structured outputs@@@ -255,8 -280,8 +280,8 @@@ Round 4 part 5 (O7). Fuobe no longer caRound 4 part 4. Licences are information, not gates (the owner's decision of 2026-10-27): every model, LoRA and ComfyUI node pack carries its licence as data, and the admin decides what the install offers. Everything is on by default.-- **Licence data** (`src/lib/licences.ts`). Each licence falls in a class (`LicenceClass`: Commercial use allowed, Commercial use with conditions, Restricted regions, Non-commercial, Research only, Proprietary paid API, Licence unknown); `licenceInfo` reads a licence text and `mergeLicences` keeps the strictest. An open route's licence comes from its workflow's licence text in the manifest (or `EARLIER_LICENCES`) and its node packs from the manifest; `NODE_PACKS` records each pack's licence (20, with `h3_character_swap` and `h3-relay`). Every fal and Replicate route is classed "Proprietary paid API" (`paidApiLicence`), whatever its weights' licence; the text LLM route follows Anthropic's terms or the Ollama model's licence (`llmLicence`); the browser tools are Fuobe's own code. A LoRA's licence is its ref's snapshot, else the library's (`loraLicence`); the Character swap's LoRAs carry MiniMax H3's terms. The generated `ModelDef.licence` isn't read here yet.+- **Licence data** (`src/lib/licences.ts`). Each licence falls in a class (`LicenceClass`: Commercial use allowed, Commercial use with conditions, Restricted regions, Non-commercial, Research only, Proprietary paid API, Licence unknown); `licenceInfo` reads a licence text and `mergeLicences` keeps the strictest. An open route's licence comes from its workflow's licence text in the manifest (or `EARLIER_LICENCES`) and its node packs from the manifest; `NODE_PACKS` records each pack's licence (20, with `h3_character_swap` and `h3-relay`). Every fal and Replicate route is classed "Proprietary paid API" (`paidApiLicence`), whatever its weights' licence; the text LLM route follows Anthropic's terms or the licence of the local model in use (`llmLicence` with `localModelInUse()`: the model the ready server reports in its cached probe, else the pinned server's model setting, else Ollama's; an LM Studio or Unsloth id such as `google/gemma-3-12b` is matched on its last part). With a licence class switched off, `readAccess()` makes a new switches object when that model changes, so the gated views don't keep the old model's class; the browser tools are Fuobe's own code. A LoRA's licence is its ref's snapshot, else the library's (`loraLicence`); the Character swap's LoRAs carry MiniMax H3's terms. The generated `ModelDef.licence` isn't read here yet.- - **The switches** (`ModelAccess` in `src/lib/model-access.ts`): the models, licence classes, providers (`fal`, `replicate`, `comfyui`, `llm`, `local`; `higgsfield` until round 4 part 5), node packs and LoRAs switched off, and `keepGpuOnlyLoras` (off by default). They are one JSON value in the settings table under `models.access` (`readAccess` / `saveAccess` in `src/server/model-access.ts`; no migration), and a missing or unreadable value means everything is on (`ALL_ON`). A saved value that switched off the retired provider or a retired model keeps those entries, which match nothing any more and aren't carried over to the replacements. A route is off when its model, its provider, one of its node packs or its licence class is off (`routeOff`); a model is off when none of its routes is on, and a Fuobe Original with one engine's routes off runs on the other only (`gateModel`). There is no admin role: anyone who can sign in or holds an API token can change them, and on an install without a password anyone who can reach it.+ - **The switches** (`ModelAccess` in `src/lib/model-access.ts`): the models, licence classes, providers (`fal`, `replicate`, `comfyui`, `llm`, `local`; `higgsfield` until round 4 part 5), node packs and LoRAs switched off, and `keepGpuOnlyLoras` (off by default). They are one JSON value in the settings table under `models.access` (`readAccess` / `saveAccess` in `src/server/model-access.ts`; no migration), and a missing or unreadable value means everything is on (`ALL_ON`). A saved value that switched off the retired provider or a retired model keeps those entries, which match nothing any more and aren't carried over to the replacements. A route is off when its model, its provider, one of its node packs or its licence class is off (`routeOff`); a model is off when none of its routes is on, and a Fuobe Original with one engine's routes off runs on the other only (`gateModel`). Since round 5 part 1 a model whose recipe LoRA (`ModelOptions.loras`) is switched off counts as off too (`recipeLoraOff`, read by `isOffered` and `offeredSummary`), so it leaves the pickers, server defaults move on, and a run of it is refused naming the LoRA; the four adapter LoRAs are listed with their licences and switches. There is no admin role: anyone who can sign in or holds an API token can change them, and on an install without a password anyone who can reach it.- **Enforcement.** Runs: `prepare()` and `createGenerations()` go through `offeredFor` (`requireOffered`; then `offeredRoutes` for the route choice and `offeredLoras` for the LoRAs), and `assertOneMode` checks every step of a chain before a row exists (see Pipelines). A refusal names the switch (`offMessage`: "… is turned off in Settings → Models & licences (Non-commercial is switched off). Turn it back on there, or pick another model"), and `POST /api/generations` answers it with a 422. Listings: `GET /api/models` (and so the CLI) and the `search_models` tool of Assist and Fuobe's MCP server list only what is on (`offeredModels`). `GET /api/status` adds an `access` summary while anything is off (`offeredSummary`); the browser filters with it (`useModelAccess`, `offered`): the studio catalog (`CatalogProvider`), the canvas node picker, Cinema's menus, the studios' own menus (Genjutsu, Remove object, Image to 3D, Marketing, Katana, Shorts, Layers…), the Models page and ⌘K (`indexEntries` in `src/lib/command-search.ts`). Automatic picks fall back to the next model that is on and does the same job (`offeredDefault`, `firstOn`, `chooseMaker`'s `offered`); a fixed pick with no menu (a hidden helper step, Storyboard's model per engine) is refused, naming the switch.- **Settings → Models & licences** (`/settings/models`: `src/app/(studio)/settings/models/page.tsx`, `src/components/model-access-view.tsx`): the class and provider switches with counts, searchable tabs for models (by class), LoRAs and node packs, each row with its licence, link and note, its own switch and the switch that turns it off, an Off filter and "Back to the defaults". `GET /api/settings/models` returns the whole list (`accessList`); `PUT` takes `{changes: [{kind: model | class | provider | pack | lora, id, on} | {kind: "keepGpuOnlyLoras", on} | {kind: "reset"}]}` and answers 400 when asked to switch off an id the install doesn't have (`knownSwitch`). Settings, ⌘K, About & licences and the Models page link to it.- **Gates turned into information.** LoRAs licensed for the GPU only go to the cloud with a note unless `keepGpuOnlyLoras` is on (see LoRAs), and `dop.ts` lets such a LoRA ride on a cloud route that is already Fuobe DoP. The BTS motion's non-commercial LTX-2.5 LoRA joins the map (`motion-bts` in `oss-loras.generated.ts`); the preset keeps running on its words until the LoRA is evaluated, and its line says why. `gen-oss-loras.py`, `gen-lora-library.py` and `gen-soul-originals.py` print licence notes instead of failing. The evaluation harness holds a recipe for its licence only when asked (`--licence-hold`). `install-comfyui.sh` installs the non-commercial ComfyUI-Whisper unless `NC_PACKS=0`. Studio defaults a licence gate once chose are unchanged.@@@ -264,24 -289,9 +289,24 @@@## 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 AI helper is Claude, or Automatic on an install that isn't open-only; then the local model (`local`, see Local LLM servers) when a local server is ready, unless AI helper is pinned to Claude. Claude errors fall back to the next backend; endpoint `ollama` (`oss-text-llm`: the id predates the other servers and means "local only") never uses Claude; AI helper → Offline rewriter (`none`) turns text steps off. Since round 4 an open-source **translation** with no local model ready 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 a local model, and the message with neither running names both. The job keeps the local server it started on (`payload.local`), polls as "Writing with LM Studio", and a text step on a local model costs 0. The provider's label is a getter, `Claude or <server>` (`llmLabel()`), so chain errors and `/api/status` name the server in use; `llmMissing()` adds the server's own reason (a key, no model loaded). `probeOllama` is kept as an alias of `probeLocal`. The connection test asks the servers themselves: the Anthropic key with a free one-model list call (`testClaude`; when text steps run elsewhere it says where), and a local server's URL, model or key by asking that server whether it answers with the model (`checkLocal`).-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, later checks refresh a 15 s cache in the background. Since round 5 part 1 (fixes-5) Ollama's check (`probeOllama`, `GET /api/tags`) follows ComfyUI's busy-vs-down rules through `src/server/providers/reach.ts` (see Providers): a refused port or an HTTP error is down at once, a late answer is busy when Ollama answered in the last 2 minutes, else a port that takes a connection gets one 10 s look. The blocking first check (`probeOllamaSync`) counts a port that takes the connection but stays silent for 1.5 s as busy, so reachable, until the background check settles. Assist asks through `ollamaSoon`, which waits at most 1.5 s and only for what no check has said yet, and lists Ollama's models from the shared check (`ollamaModels`); before, Assist had its own 0.8 s check. The other awaited checks (an LLM chain step, Genjutsu's Describe, Evolution's direction, the Faceless writer) can now wait about 12 s the first time on a port that accepts connections but never answers. 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`).++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 AI helper is Claude, or Automatic on an install that isn't open-only; then the local model (`local`, see Local LLM servers) when a local server is ready, unless AI helper is pinned to Claude. Claude errors fall back to the next backend; endpoint `ollama` (`oss-text-llm`: the id predates the other servers and means "local only") never uses Claude; AI helper → Offline rewriter (`none`) turns text steps off. Since round 4 an open-source **translation** with no local model ready 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 a local model, and the message with neither running names both. The job keeps the local server it started on (`payload.local`), polls as "Writing with LM Studio", and a text step on a local model costs 0. The provider's label is a getter, `Claude probe, (`llmLabel()`), so chain errors and `/api/status` name the server in use; `llmMissing()` adds the server's Since round 5 part 1 (fixes-5) every local server's check (`refresh` in `src/server/llm/probe.ts`: Ollama, LM Studio, Unsloth Studio and the custom URL) follows ComfyUI's busy-vs-down rules from `src/server/providers/reach.ts` (see Providers): a refused port is down at once and an HTTP answer is read as it is, a late answer is busy when the server answered in the last 2 minutes (it keeps its last answers), else a port that takes a connection gets one 10 s look. The blocking first check (`refreshSync`) counts a port that takes the connection but stays silent for 1.5 s as busy, so reachable, until the background check settles. Assist asks through `localSoon`, which reads the last check, refreshes a stale one in the background and waits at most 1.5 s only for a server no check has answered for yet; before, it waited on the full check. The other awaited checks (an LLM chain step, Genjutsu's Describe, Evolution's direction, the Faceless writer) can now wait about 12 s the first time on a port that accepts connections but never answers. A reason (a key, no model loaded). `probeOllama` is kept as an alias of `probeLocal`. The connection test asks the servers themselves: the Anthropic key with a free one-model list call (`testClaude`; when text steps run elsewhere it says where), and a local server's URL, model or key by asking that server whether it answers with the model (`checkLocal`).- `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 a local model, 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, Content Factory's cloud style brief) call `llmText(system, user, { json?, timeoutMs? })` in `src/server/enhance.ts`, with offline fallbacks (60 s, or 3 minutes while the local model still has to load or reads pictures). Since round 4 part 2 `llmText` also takes pictures (Content Factory's reference frames: Claude image blocks, or images sent to a local vision model; Content Factory asks again with words only when the local model doesn't answer with the frames), and `llmTextBackend()` says which LLM would answer (Claude is the one that costs money). Faceless and Explainer names, topics and scripts, and Content Factory's episode titles, go through the llm provider itself (`askLlm()` in `src/server/faceless.ts` submits and polls a `text-llm` / `oss-text-llm` job, `extra.json` carrying the schema), so they follow the episode's engine. The callers that want JSON pass a JSON Schema next to their prompt (brand kit, manual kit and product facts in `brand.ts`, ad copy with exactly `count` ads and the brand chat in `ads.ts`, the Director's answer with its slug enums, Faceless topics, scripts and pictures in `lib/catalog/faceless.ts`, and a root array of exactly n frames for storyboards). Claude ignores it; the parsers stay tolerant of prose and fences either way. 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.-`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, Content Factory's cloud style brief) call `llmText()` in `src/server/enhance.ts`, with offline fallbacks. Since round 4 part 2 `llmText` also takes pictures (Content Factory's reference frames: Claude image blocks, or `images` for an Ollama vision model; Content Factory asks again with words only when Ollama doesn't answer with the frames), and `llmTextBackend()` says which LLM would answer (Claude is the one that costs money). Since round 5 part 1 `llmSeesImages()` says whether that LLM sees pictures (Claude does; an Ollama model when `/api/show` lists "vision", cached 10 minutes), so a skill check judges a look only with a model that sees it. Faceless and Explainer names, topics and scripts, and Content Factory's episode titles, 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.++`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 a local model, 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, Content Factory's cloud style brief) call `llmText(system, user, { json?, timeoutMs? })` in `src/server/enhance.ts`, with offline fallbacks (60 s, or 3 minutes while the local model still has to load or reads pictures). Since round 4 part 2 `llmText` also takes pictures (Content Factory's reference frames: Claude image blocks, or images sent to a local vision model; Content Factory asks again with words only when the local model doesn't answer with the frames), and `llmTextBackend()` says which LLM would answer (Claude is the one that costs money). Since round 5 part 1 `llmSeesImages()` says whether that LLM sees pictures (Claude does; an Ollama model when `/api/show` lists "vision", cached 10 minutes), so a skill check judges a look only with a model that sees it. Faceless and Explainer names, topics and scripts, and Content Factory's episode titles, go through the llm provider itself (`askLlm()` in `src/server/faceless.ts` submits and polls a `text-llm` / `oss-text-llm` job, `extra.json` carrying the schema), so they follow the episode's engine. The callers that want JSON pass a JSON Schema next to their prompt (brand kit, manual kit and product facts in `brand.ts`, ad copy with exactly `count` ads and the brand chat in `ads.ts`, the Director's answer with its slug enums, Faceless topics, scripts and pictures in `lib/catalog/faceless.ts`, and a root array of exactly n frames for storyboards). Claude ignores it; the parsers stay tolerant of prose and fences either way. 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.++## Local LLM servers (`src/server/llm/`)++One layer for every local model: `ollama` (its own `/api/chat`), `lmstudio`, `unsloth` and `custom` (any OpenAI-compatible server: llama.cpp's llama-server, vLLM, Jan…), the last three on `POST {base}/chat/completions`. Text steps, `llmText()` and the Assist agent all call `chatLocal(ready, request)`; nothing streams.++| file | what |+|---|---|+| `servers.ts` | Settings → `LocalServer`s: `localServers()` is the pinned one (`llmProvider`) or, in Automatic, Ollama, LM Studio, Unsloth Studio and the custom URL when set, in that order. URLs lose a pasted `/v1`; a custom URL is an OpenAI base URL (a bare host gets `/v1`). `aiHelper()` reads the old `enhanceProvider` value `ollama` as `local`. LM Studio's token also comes from `LM_API_TOKEN`, Unsloth's key from `UNSLOTH_STUDIO_AUTH_TOKEN` |+| `probe.ts` | Each server is asked with GETs sent at once (1.5 s): Ollama `/api/tags`; LM Studio `/api/v1/models` (loaded copies, context, `trained_for_tool_use`, reasoning) and `/v1/models` for versions before 0.4; Unsloth `/api/liveness` (its `service` must be "Unsloth UI Backend": Jupyter also likes :8888) and `/v1/models` (rows with a `task` are speech or image models); custom `{base}/models`. Answers are cached 15 s per kind, URL and key hash; `interpret()` turns them into a `LocalStatus` (up, auth, chat models without embeddings, the model a call uses, `loaded`, `context`, `problem` in the user's words, `warning`) with the current Settings, so a new model name needs no new probe. The blocking first look (`refreshSync`) runs every GET in one worker thread and reads the answers with `receiveMessageOnPort` |+| `index.ts` | `probeLocal()`, `activeLocal()` (async) and `localReady()` (sync, for routing: the first look at a server waits, later looks refresh in the background) return the first ready server. `chatLocal()` loads an LM Studio model that isn't loaded yet with `llmContext` (`POST /api/v1/models/load`, shared by concurrent calls; the chat endpoint can't set the context and LM Studio's default is 4k–8k), sends the call with the request's signal and timeout, asks again without `response_format` when a server rejects structured output, and reads tool calls written as text. `reloadLmStudio()` unloads and reloads with the context; `testLocal()` times a tiny call; `checkLocal(kind?)` only asks the servers (Settings fields Save & test, through the llm provider's `test`); `localSummary()` feeds `/api/status` |+| `wire.ts` | Pure request builders and parsers. Ollama: `think:false` for one-shot text, `format` (a schema, or `"json"`), `options.num_ctx`, pictures as `images`. OpenAI: string tool arguments, `tool_call_id` results, pictures as `image_url` data URLs, `response_format` json_schema (LM Studio without `strict`; `json_object` for "any object" except on LM Studio), Unsloth's `enable_tools:false` on every call and `enable_thinking:false` for one-shot text, and no `model` for Unsloth unless one is picked (its loaded model answers). Answers lose `<think>` blocks (also a lone closing tag, or a thought cut off); `reasoning_content` / `reasoning` only mark `thought`. Tool calls get Fuobe's own nine-character ids |+| `messages.ts` | `toChatMessages()`: Assist's stored history for a local model. One system message first; for the OpenAI kinds a mid-chat context update joins the user's turn ("Context update from Fuobe (not the user):"), user turns in a row merge, and tool ids become nine letters and digits (a stable hash), as strict templates (Gemma, Mistral, some Qwen ones) need; Ollama keeps its old shape. `healToolCalls()` reads `<tool_call>{…}</tool_call>`, LM Studio's `[TOOL_REQUEST]{…}[END_TOOL_REQUEST]` and a reply that is only the call's JSON, for the offered tools only |+| `errors.ts` | Failed calls in words that say what to do: start the server (the command for each), add or check the key (where each server makes them), download or load a model, reload with more context, or free GPU memory. `emptyReply()` says when a model spent its whole reply thinking |++`GET /api/llm` (`?refresh=1` asks again) lists every server's status for Settings → AI helper, without keys; `POST /api/llm` runs `{action: "test", kind?}` or `{action: "load", model?}` (LM Studio reload). `GET /api/status` adds an `llm` block: the helper, whether Claude takes text steps, the pinned server, the local server in use (kind, label, URL, model, loaded, context, warning), the reason when none can run, and what each candidate answered. `fuobe status` prints it as "Local LLM: LM Studio at … · model".## Live updates (`src/server/live.ts`, `src/lib/api.ts`)@@@ -324,8 -334,8 +349,8 @@@ Checked: unit tests (token storage and- **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. Since round 4 part 4 the same client key drives `ShareGuard`, the throttle on wrong share tokens.- **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, and since round 4 part 4 also lets an Assist connector's URL use plain http beyond localhost (Fuobe never fetches a connector's URL itself: Anthropic's servers do).- - **LoRA links** (round 4 part 2) don't go through `fetchRemote`. `POST /api/generations` takes a LoRA link only over https on huggingface.co, hf.co, civitai.com, fal.media or replicate.delivery, with no credentials in it (`LORA_HOSTS` in `src/app/api/generations/route.ts`), and a file name that stays inside the LoRA folder (`lorasPath` also requires `.safetensors`). The server may download such a file into the LoRA folder before a ComfyUI run. Downloads from huggingface.co and civitai must match a SHA256; a link on hf.co, fal.media or replicate.delivery isn't held to one, so such a file can be kept unchecked, with no size limit and a 60-minute timeout. The civitai key travels only in civitai's download URL and is redacted from messages.- - **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`), and the same holds for LM Studio's token, Unsloth Studio's key and the Other server's key (`localServer()` in `src/server/llm/servers.ts`): only a key typed with the new address goes to it. The local model's context field (`llmContext`) only saves, since no server tests it on its own (`ConnectField`'s `saveOnly`). Like saving an address, a test makes the server fetch the ComfyUI or local LLM server address it is given. Since round 4 part 2 the route also tests the civitai key (`{provider: "civitai"}`, civitai's `/me`), which isn't a model provider's. Since round 4 part 5 `higgsfield` is no test provider: the route answers 400 "Unknown provider".+ - **LoRA links** (round 4 part 2) don't go through `fetchRemote`. `POST /api/generations` takes a LoRA link only over https on huggingface.co, hf.co, civitai.com, fal.media or replicate.delivery, with no credentials in it (`LORA_HOSTS`, since round 5 part 1 in `src/server/request-schema.ts` with the rest of the API's request schema, `GenerationRequestSchema`, which a skill's recipe goes through too; server-set fields such as `skill`, `demo` and `asked` aren't in it, so input drops them), and a file name that stays inside the LoRA folder (`lorasPath` also requires `.safetensors`). The server may download such a file into the LoRA folder before a ComfyUI run. Downloads from huggingface.co and civitai must match a SHA256; a link on hf.co, fal.media or replicate.delivery isn't held to one, so such a file can be kept unchecked, with no size limit and a 60-minute timeout. The civitai key travels only in civitai's download URL and is redacted from messages.-- **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. Since round 4 part 2 the route also tests the civitai key (`{provider: "civitai"}`, civitai's `/me`), which isn't a model provider's. Since round 4 part 5 `higgsfield` is no test provider: the route answers 400 "Unknown provider". Since round 5 part 1 (fixes-5) it tests AI-Toolkit (`{provider: "ai-toolkit"}`, `testAiToolkit` in `src/server/training.ts`): `GET <url>/api/jobs?only_active=true` with a 10 s timeout and the token when one is set, or, with `field: "aiToolkitDatasetDir"`, whether that full path (or its nearest existing parent) can be written, without creating it. A saved token isn't sent to a new, unsaved address. Like the others, this makes the server fetch any address typed in Settings.++- **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`), and the same holds for LM Studio's token, Unsloth Studio's key and the Other server's key (`localServer()` in `src/server/llm/servers.ts`): only a key typed with the new address goes to it. The local model's context field (`llmContext`) only saves, since no server tests it on its own (`ConnectField`'s `saveOnly`). Like saving an address, a test makes the server fetch the ComfyUI or local LLM server address it is given. Since round 4 part 2 the route also tests the civitai key (`{provider: "civitai"}`, civitai's `/me`), which isn't a model provider's. Since round 4 part 5 `higgsfield` is no test provider: the route answers 400 "Unknown provider". Since round 5 part 1 (fixes-5) it tests AI-Toolkit (`{provider: "ai-toolkit"}`, `testAiToolkit` in `src/server/training.ts`): `GET <url>/api/jobs?only_active=true` with a 10 s timeout and the token when one is set, or, with `field: "aiToolkitDatasetDir"`, whether that full path (or its nearest existing parent) can be written, without creating it. A saved token isn't sent to a new, unsaved address. Like the others, this makes the server fetch any address typed in Settings.- Uploads up to 200 MB pass the proxy (`experimental.proxyClientMaxBodySize: "210mb"` in `next.config.ts`, room for the multipart overhead). Since round 4 part 5 `POST /api/uploads` also takes MKV (`video/x-matroska`) and AVI (`video/x-msvideo`) for every upload (only Character Swap Studio's picker lists them; the others still list MP4, MOV and WebM), and maps the names browsers give them (`video/avi`, `video/msvideo`, `video/vnd.avi`, `video/mkv`); browsers can't play AVI, so only Character Swap Studio makes a playable copy (on the cloud), and some providers may refuse it. `/api/files` sends `nosniff` and a UTF-8 charset for text; since round 4 part 4 it and the share files route share `fileResponse` (`src/server/file-response.ts`), and a path that exists but isn't a file is a 404. 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()` (round 4 part 5 adds `/character-swap/[id]`, record kind `swap-project`).## Studios@@@ -335,24 -345,26 +360,26 @@@ Each studio keeps its data and pure pla| 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` (prose; the native Cinema Studio 4.0 fields are no longer used; since round 4 part 5 `directorFieldWords` writes a stored Cinema Studio 4.0 request's fields as those words), `planCinema` (steps with `after`, notes, blocker, cost), `takesClips` (feature-detected from the FieldMap). Round 4 part 4 (Fuobe Cinema, see Fuobe Originals): the menus per mode and engine (`CINEMA_MODELS`, the Original first, `ORIGINAL_LINES`), `CINEMA_CAMERA_LORA`, `cinemaMoveRoute`, `CAST_MODELS` / `LOCATION_MODELS`, `planLocationView`, `editPrompt`; no Higgsfield model or key check (`HIGGSFIELD_ONLY` is gone). 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; since round 4 part 4 the `source` take's facts: `modelId`, `prompt`, `seconds`, `resolution`, `aspectRatio`); `cinemaContext()` is `{cloudAllowed, civitai, has}` | `/api/cinema/projects[/id[/folders[/folderId] \| /items[/genId/retry \| /tiles] \| /generate \| /director]]` (generate takes `action` `scene` and `recompose`; the project's `context` is `{cloudAllowed, civitai}`) | `components/cinema/*`: workspace (since round 4 part 4 a Share button in the header and a share item in the project menu), folder sidebar, feed (finishes Fuobe Soul stills), prompt bar (the Original first with its badge and per-engine line, models switched off left out), Director's Panel, camera moves (a route badge per move on both engines), palette editor (`color-math.ts`), grid crops (`grid-math.ts`), Soul builders (Fuobe Soul looks), 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 templates (cloud and open); since round 4 part 5 `withCurrentModels` (on every board read: `toCanvas` in `src/server/canvas.ts`) and `cleanGraph` move a node on a retired model, or on a partner model's lost operation, to what replaced it (`currentNode`; an Original node keeps the cloud unless it names an engine); input ports for the round-4 operations, and a chained route fed by another node (a keyframe film, the open text-to-3D route) is refused before Run. Round 4 part 3: 18 node types (new: Change voice, Clone voice with a `voice` port type, Translate for text or video, Video concatenator with per-clip `clips` cuts, mutes and `order`, Table with `columns` and `rows`; their default models are in `PREFERRED`: `voice-change` ElevenLabs Voice Changer or `oss-chatterbox-vc`, `dub` ElevenLabs Dubbing, `translate` `text-llm` or `oss-text-llm`), 7 templates (new: `clips-film`, `table-film`; the talking avatar's sample is a Clone voice node), `concatRequest` and `rowRequest` (a node made in steps, a node run per table row: see Pipelines), `tablesFeeding`, `CONCAT_LIMITS` (50 clips, 30 fps, 512 MB a clip, cloud joins of 24), `CONCAT_RATIOS` (8 shapes, 720 on the short side) and `TABLE_LIMITS` (8 columns, 50 rows). `catalog/canvas-board.ts`: pages (`readPages`: a row saved before pages reads as page 1; `copyPage` with `remapNodeData`), groups (`groupMembers`: a node belongs to every group its top-left corner sits in; `groupTargets` for Run group), comment pins with replies, shapes and pen strokes (`penShape`, at most 400 points), `BOARD_LIMITS` (20 pages) | `canvas.ts`: zod graph (since round 4 part 3 with groups, comments and shapes, and `PagesSchema`), CRUD, `canvasView`, `runCanvas` (one generation per step with `dependsOn`, or one `createPipeline` for a node made in steps or rows; runs kept in `runs_json`), `graphProblem`, `pagesProblem`. Round 4 part 3: `graph_json` holds `{pages: [{id, name, graph}]}` (no migration; a canvas switches when next saved); `updateCanvas` takes every page or one page's graph, and a page it can't take (a 21st, or one the run names that is gone) is a `CanvasConflict` (409); a run saves every page first and runs one page, a selection or a group; the cloud concatenator's silent WAVs are written per run (`silenceWriter`), and a stored clip over 512 MB is refused (`oversizedClip`) | `/api/canvases[/id[/duplicate \| /run]]`. Since round 4 part 3 create, PATCH and run take `pages` (PATCH also `graph` with `page`; run also `page` and `group`), and responses return `pages`, not `graph` (summaries add `pageCount`) | `components/canvas/*` on @xyflow/react: editor store (`canvas-context.tsx`, `useSyncExternalStore`, `DescribeCache`, whose key follows a concatenator's tables), nodes, palette, phone node list. Round 4 part 3: `board.tsx` (groups, comments and shapes as React Flow nodes), `toolbar.tsx` (V, H, D, E, N, ⇧T, R, T, C), page tabs and per-page undo in `canvas-editor.tsx`, and in `nodes.tsx` the Clone voice, Table, concatenator and open dub hand-off (a Translate video node on an open-only install starts a `/api/dub` session, keeps it as `dubId` and offers the dubbed clip back as a Video input); phones get a page picker over the read-only board |+ | **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 templates (cloud and open); since round 4 part 5 `withCurrentModels` (on every board read: `toCanvas` in `src/server/canvas.ts`) and `cleanGraph` move a node on a retired model, or on a partner model's lost operation, to what replaced it (`currentNode`; an Original node keeps the cloud unless it names an engine); input ports for the round-4 operations, and a chained route fed by another node (a keyframe film, the open text-to-3D route) is refused before Run. Round 4 part 3: 18 node types (new: Change voice, Clone voice with a `voice` port type, Translate for text or video, Video concatenator with per-clip `clips` cuts, mutes and `order`, Table with `columns` and `rows`; their default models are in `PREFERRED`: `voice-change` ElevenLabs Voice Changer or `oss-chatterbox-vc`, `dub` ElevenLabs Dubbing, `translate` `text-llm` or `oss-text-llm`), 7 templates (new: `clips-film`, `table-film`; the talking avatar's sample is a Clone voice node), `concatRequest` and `rowRequest` (a node made in steps, a node run per table row: see Pipelines), `tablesFeeding`, `CONCAT_LIMITS` (50 clips, 30 fps, 512 MB a clip, cloud joins of 24), `CONCAT_RATIOS` (8 shapes, 720 on the short side) and `TABLE_LIMITS` (8 columns, 50 rows). `catalog/canvas-board.ts`: pages (`readPages`: a row saved before pages reads as page 1; `copyPage` with `remapNodeData`), groups (`groupMembers`: a node belongs to every group its top-left corner sits in; `groupTargets` for Run group), comment pins with replies, shapes and pen strokes (`penShape`, at most 400 points), `BOARD_LIMITS` (20 pages). Round 5 part 1 (O13): 10 Effects 2.0 chains as templates in their own section (`EFFECT_CHAINS`, `effectChainTemplate`, `CanvasTemplate.group`: Agamemnon, Fallen Angel, Pearl Earring…), each Your photo → "Set the scene" edit (`qwen-image-edit-2511-cloud` or `oss-qwen-edit`) → a 5 s Fuobe DoP clip with the effect's own catalog words (`effectWords`) → output, on both engines; a Canvas node can't carry a DoP preset, so a chain doesn't use an effect's LoRA, and an effect renamed in the catalog makes the module throw on import (`tests/effect-chains.test.ts` would catch it) | `canvas.ts`: zod graph (since round 4 part 3 with groups, comments and shapes, and `PagesSchema`), CRUD, `canvasView`, `runCanvas` (one generation per step with `dependsOn`, or one `createPipeline` for a node made in steps or rows; runs kept in `runs_json`), `graphProblem`, `pagesProblem`. Round 4 part 3: `graph_json` holds `{pages: [{id, name, graph}]}` (no migration; a canvas switches when next saved); `updateCanvas` takes every page or one page's graph, and a page it can't take (a 21st, or one the run names that is gone) is a `CanvasConflict` (409); a run saves every page first and runs one page, a selection or a group; the cloud concatenator's silent WAVs are written per run (`silenceWriter`), and a stored clip over 512 MB is refused (`oversizedClip`) | `/api/canvases[/id[/duplicate \| /run]]`. Since round 4 part 3 create, PATCH and run take `pages` (PATCH also `graph` with `page`; run also `page` and `group`), and responses return `pages`, not `graph` (summaries add `pageCount`) | `components/canvas/*` on @xyflow/react: editor store (`canvas-context.tsx`, `useSyncExternalStore`, `DescribeCache`, whose key follows a concatenator's tables), nodes, palette, phone node list. Round 4 part 3: `board.tsx` (groups, comments and shapes as React Flow nodes), `toolbar.tsx` (V, H, D, E, N, ⇧T, R, T, C), page tabs and per-page undo in `canvas-editor.tsx`, and in `nodes.tsx` the Clone voice, Table, concatenator and open dub hand-off (a Translate video node on an open-only install starts a `/api/dub` session, keeps it as `dubId` and offers the dubbed clip back as a Video input); phones get a page picker over the read-only board || **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`, `TOOL_MODELS` (each tool's models per engine). Round 4 part 2: Inpaint (`inpaintPrompt`) and the Enhancer (`ENHANCE_LOOKS` Skin, Soft glow, Sharpen and Detail; `ENHANCE_DETAIL_SCALE` makes Detail 2× on every engine), text rows placed from OCR boxes (`placeTextBlocks`), `seeThrough`, `readableBackdrop`, `elementDraft`; `src/lib/ocr.ts` reads an OCR model's answer into lines with 0–1 boxes | `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. Round 4 part 2: `text-detect` picks op `ocr` or `text-layers` from the model's routes (cloud Ideogram 3.0 Text Layers or Florence-2 OCR, open OvisOCR3); `inpaint` sends the painted mask (and a red-tinted sketch), and `applySketch` gives mask models the mask and edit models the tinted copy (cloud Nano Banana Pro, FLUX.1 Fill [pro], Z-Image Turbo Inpaint; open FLUX.1 Fill [dev]); `enhance` is an edit with a fixed instruction (Nano Banana Pro, Seedream 5.0 Pro; open Qwen-Image-Edit 2511) or, for Detail, an upscaler (Topaz, SeedVR; open SeedVR2 or ESRGAN) | `/api/layers[/id[/versions \| /jobs[/jobId]]]` (jobs take `inpaint` with `mask` and `sketch`, and `enhance` with `settings.look`), `/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; paint mode on the stage (`stage.tsx`), Keep transparency on only for layers with see-through pixels (`keep-alpha.ts`), and Save as element (`save-element.tsx`: the layer's trimmed PNG through `POST /api/elements`, as a character, prop or style) |- | **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), cloud Fast plan (trim → restyle → original sound), preview plan. Round 4 part 2: the cloud Per frame plan (`planMixedFrames`, the cloud default): cut → `extract-frames` (every Nth frame of the clip, `frameSampling`; up to 500 a call) → one Nano Banana 2 or Seedream 5.0 Flash edit per frame (`frameEditParams`: a fixed seed on Nano Banana 2, while Seedream 5.0 Flash takes none; `planMixedFrames` gives each frame the one styled before it as a second picture, in lanes of 12 that start from the approved preview) → `images-to-video` in clips of up to 200 frames → `join-clips` at up to 2048 px (`frameJoinSize`; 4K frames are then drawn at 2K, `frameResolution`) → the cut's own sound; the limits are `FRAME_LIMITS` | `mixed-media.ts`: estimate (adds `mode`, `perFrameUsd`, the sampled `fps`, `providers`, `modelId`), render, preview; `cloudMode` takes `mode` or reads it from the model (a model of the other mode is a 422); `retryMixed` redoes only failed or canceled steps and what follows them (`createPipeline` `existing`, `unfilledRequest`) and cancels the old waiting ones; `framesProgress` names the frame that failed; no table (History is the feed: features `mixed-media`, `mixed-media-step`, `mixed-media-frame-step`, `mixed-media-preview`) | `/api/mixed-media[/preview \| /estimate \| /retry \| /progress?id=]` | `components/mixed-media/*` (the Restyle switch, Per frame or Fast, and the price per frame) |- | **Image studios** (Color signature, Moodboards, Photodump, Fashion Factory, Character Sheet) | `catalog/palettes.ts` (`applySignature`, `SignatureRecord` in `request.signature`; since round 4 part 3 a Soul model locks the palette by default on the open engine, and curated moodboards are Fuobe Soul looks: see Fuobe Originals), `catalog/packs.ts` (photo-run planners with `PlanCaps`; since round 4 part 5 `PlanCaps` is only `has(id, engine)`, the packs and templates come from `studio-packs.generated.ts`, and `castSheetModel` makes Character Sheet's Soul Cast sheet on Fuobe Soul's cloud half in Cinema's casting look (Nano Banana Pro when that half is switched off; the Soul Cast sheet graph on the GPU); since round 4 part 4 Photodump and Fashion run a character with a Soul ID on Fuobe Soul with its trained LoRA on both engines, `PHOTODUMP_SOUL` and `soulIdOf`, else Nano Banana Pro, Seedream 5.0 Pro or Qwen-Image-Edit from the photos). Since round 4 part 4 a moodboard trained as a style LoRA is a Fuobe look (`OWN_LOOK`, `own-style`: its LoRA, no look words) on Fuobe Soul and the Z-Image family on either engine (`palettes.ts`) | `palettes.ts` (seeded 50 palettes, lock chains; the lock keeps a Soul look's `presetStrength` and the `engine`), `moodboards.ts` (status derived from the cover job, Recraft style id, style LoRA; since round 4 part 4 `moodboardTrainingTargets` and `trainMoodboard`: a style element from up to 80 of the board's images, trained on the GPU or with fal's Z-Image style trainer), `photodump.ts` (runs as one `createPipeline` batch; `retryPhoto`, since round 4 part 5 through `currentRequest`, its chained step too; the AI Influencer app's sheet runs on Nano Banana Pro in the cloud, `sheetRequest`) | `/api/palettes[/id \| /lock]`, `/api/moodboards[/id[/retry \| /train]]` (since round 4 part 4 `GET …/train` lists the style targets with price, blocker and demo flag, and `POST` takes an optional `target`), `/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; the curated sets are built in (`CURATED_SETS` in `moodboards/logic.ts`, drawn covers, nothing fetched from Higgsfield) and a curated card opens `/image?model=fuobe-soul&moodboard=curated:<id>`; since round 4 part 5 the empty Image studio's "Make your own Soul look" cards (`moodboards/soul-preset-cards.tsx`) show for Fuobe Soul and Soul HD, where they showed for Soul 2.0 |- | **AI Influencer builder** (`/influencer`; round 4 part 2) | `src/lib/influencer.ts`: the tiers (Average, Bold, Extreme, and six creature types with species and body colour), what each tier shows, pick rules and the two clashes (`togglePick`, `conflictFor`, `setTier`), seeded Shuffle with the researched weights and per-category locks (`shuffleInfluencer`), the prompt compiler (`compileSheetPrompt`, `compileCastPrompt`, `compileDressPrompt`), `faceOfRun` and `planInfluencer` per engine; the option data is generated (`catalog/influencer-options.generated.ts`) | `influencer.ts`: prices with Photodump's helpers (`planCaps`, `previewRun`, `runEngine`) and makes one job or a two-step `createPipeline`. Cloud: one sheet on Nano Banana Pro (16:9, 2K, the default) or Seedream 5.0 Pro, with the photo and clothing as references. Open: the Soul Cast sheet (`oss-zimage-soul-cast`); with a face, a reference or clothing, Qwen-Image-Edit 2511 (`oss-qwen-edit`) then takes the sheet as image 1, the photo and clothing after it (3 images at most), and the sheet becomes a helper step (`influencer-step`). No Higgsfield route. `retryPhoto` (`photodump.ts`) runs both steps again when the sheet failed, and re-chains a pass that never launched | `POST /api/influencer` (`?preview=1` prices it); retries through `POST /api/photodump/retry` | `components/influencer/*` (`influencer-builder.tsx`, `option-panel.tsx`); Save as character reuses `SaveCharacter` from `fashion/character-sheet.tsx` and reads the face from the run itself (`faceOfRun`); linked from Character Sheet, and from the AI Influencer app through `StudioConfig.related` |- | **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` (since round 4 part 5 without Marketing Studio Image), `UGC_MODELS`, `OPEN_SOUND_JOIN`; since round 4 part 5 the Ad Multiplier's `MULTIPLIER_MODELS` (cloud: Kling O3 edit by default, Happy Horse video edit and Gemini Omni Flash), `MULTIPLIER_WINDOW` (Kling O3 and Happy Horse recreate at most 15 s) and `mentionsFor` binding `@ImageN` for Happy Horse as for Kling; since round 4 part 2 the Click to Ad logo end card (`END_CARD`, `END_CARD_MODELS`, `endCardSteps`: cloud [`overlay-image`: the logo on the brand colour →] `ken-burns` → a silent track (`merge-audio-video`) → `join-clips` after the ad; open `oss-append-endcard`, or `oss-still-to-clip` + `oss-join-sound1` for an ad ComfyUI didn't encode) | `brand.ts` (website scrape, research job, `kitForSite`), `marketing.ts` (`planMarketing`, `planClickToAd`, `planMultiplier` with `referenceFacts` → RunPlan → `createPipeline`; since round 4 part 5 it cuts a longer selection to the edit model's window with a note, prices the edit by the clip's length and keeps the reference's sound (`KEEP_SOUND`: Kling's `keep_audio`, Happy Horse's `audio_setting` "origin"); since round 4 part 4 the Ad Multiplier's open recreation runs `fuobe-genjutsu-motion` pinned to the open engine; `marketing_runs` keeps the input for Run again and the browser composite; `withEndCard` turns the ad's last step into a helper and adds the card, with `adEncoder`, `cardBackground` and `silentWav`), `ads.ts` (batches, creatives, concepts, chat, proposals; since round 4 part 5 every ad is copy plus one visual composited in the browser: `BatchBody` has no `route` or `ratio`, the estimate no `route`, and an ad Higgsfield drew whole is `baked`, shown as it is and remade the Fuobe way on Retry) | `/api/brands/**` (since round 4 part 5 `POST /api/brands/[id]/chat/confirm` takes `{messageId, engine}`), `/api/products/**`, `/api/marketing/**` (Click to Ad and its estimate take `endCard`), `/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`); the 9:16 end card drawn in the browser (`marketing/end-card.ts`) and uploaded once per look |+ | **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; since round 5 part 1 per engine, with "… at 30 fps" in Fuobe Shorts' price line); `lib/trim-range.ts`. Since round 5 part 1 the default is Fuobe Shorts on both engines (`SHORTS_ORIGINAL`; `planOriginalTake`, `originalSegmentProblem`, `originalBilledSeconds`, `vaceDownsample`: see Fuobe Originals), with Gemini Omni Flash, Kling O3 4K Edit, Happy Horse, Lucy Edit Pro, Runway Aleph 2, LTX 2.3 restyle and Wan 2.7 as cloud choices | `shorts.ts` (sessions, segments with takes and the primary take, stitches; `probeSource` reads MP4 then WebM via `webm-probe.ts`; since round 5 part 1 sessions keep `source.fps`, and a cloud Fuobe Shorts take records its `still` step), `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 job, on `oss-mixed-media` until round 5 part 1), cloud Fast plan (trim → restyle → original sound), preview plan. Round 4 part 2: the cloud Per frame plan (`planMixedFrames`, the cloud default until round 5 part 1): cut → `extract-frames` (every Nth frame of the clip, `frameSampling`; up to 500 a call) → one Nano Banana 2 or Seedream 5.0 Flash edit per frame (`frameEditParams`: a fixed seed on Nano Banana 2, while Seedream 5.0 Flash takes none; `planMixedFrames` gives each frame the one styled before it as a second picture, in lanes of 12 that start from the approved preview) → `images-to-video` in clips of up to 200 frames → `join-clips` at up to 2048 px (`frameJoinSize`; 4K frames are then drawn at 2K, `frameResolution`) → the cut's own sound; the limits are `FRAME_LIMITS`. Since round 5 part 1 (O9) the default on both engines is Fuobe Mixed Media (`MIXED_ORIGINAL`, `MIXED_FRAME_MODELS`: the Original first, then Nano Banana 2 and Seedream 5.0 Flash in the cloud), drawn frame by frame with no lanes (`originalFrameRequest`, `originalFrameParams`, `originalFrameSize`); `MIXED_MODES` adds Smooth on both engines (`planMixedSmooth`), and Fast stays cloud only (see Fuobe Originals) | `mixed-media.ts`: estimate (adds `mode`, `perFrameUsd`, the sampled `fps`, `providers`, `modelId`), render, preview; `cloudMode` takes `mode` or reads it from the model (a model of the other mode is a 422); since round 5 part 1 `mode: "smooth"`, `source.width` / `height` for the frame size, the look LoRAs a run can reach (civitai key, LoRA folder) with notes, and Smooth's 17-frame / 5 fps refusal before anything is paid for; `retryMixed` redoes only failed or canceled steps and what follows them (`createPipeline` `existing`, `unfilledRequest`) and cancels the old waiting ones; `framesProgress` names the frame that failed; no table (History is the feed: features `mixed-media`, `mixed-media-step`, `mixed-media-frame-step`, `mixed-media-preview`) | `/api/mixed-media[/preview \| /estimate \| /retry \| /progress?id=]` | `components/mixed-media/*` (the Restyle switch, Per frame or Fast, since round 5 part 1 also Smooth, and the price per frame) |+ | **Image studios** (Color signature, Moodboards, Photodump, Fashion Factory, Character Sheet) | `catalog/palettes.ts` (`applySignature`, `SignatureRecord` in `request.signature`; since round 4 part 3 a Soul model locks the palette by default on the open engine, and curated moodboards are Fuobe Soul looks: see Fuobe Originals), `catalog/packs.ts` (photo-run planners with `PlanCaps`; since round 4 part 5 `PlanCaps` is only `has(id, engine)`, the packs and templates come from `studio-packs.generated.ts`, and `castSheetModel` makes Character Sheet's Soul Cast sheet on Fuobe Soul's cloud half in Cinema's casting look (Nano Banana Pro when that half is switched off; the Soul Cast sheet graph on the GPU); since round 4 part 4 Photodump and Fashion run a character with a Soul ID on Fuobe Soul with its trained LoRA on both engines, `PHOTODUMP_SOUL` and `soulIdOf`, else Nano Banana Pro, Seedream 5.0 Pro or Qwen-Image-Edit from the photos; since round 5 part 1 the cloud's default without a Soul ID is hosted Qwen-Image-Edit 2511, `PHOTO_EDIT`, and Fashion Factory's outfit is Fuobe Try-On with its photoset on Qwen edit, `FASHION_MODELS`, `fashionModel`, Nano Banana Pro and FASHN staying as cloud choices; Character Sheet's "From a description" draws on Fuobe Soul in the casting look). Since round 4 part 4 a moodboard trained as a style LoRA is a Fuobe look (`OWN_LOOK`, `own-style`: its LoRA, no look words) on Fuobe Soul and the Z-Image family on either engine (`palettes.ts`) | `palettes.ts` (seeded 50 palettes, lock chains; the lock keeps a Soul look's `presetStrength` and the `engine`), `moodboards.ts` (status derived from the cover job, Recraft style id, style LoRA; since round 4 part 4 `moodboardTrainingTargets` and `trainMoodboard`: a style element from up to 80 of the board's images, trained on the GPU or with fal's Z-Image style trainer), `photodump.ts` (runs as one `createPipeline` batch; `retryPhoto`, since round 4 part 5 through `currentRequest`, its chained step too; the character sheets, `sheetRequest`, which since round 5 part 1 draw the casting look on Fuobe Soul, or on the Soul Cast sheet graph with that look's words and LoRAs) | `/api/palettes[/id \| /lock]`, `/api/moodboards[/id[/retry \| /train]]` (since round 4 part 4 `GET …/train` lists the style targets with price, blocker and demo flag, and `POST` takes an optional `target`), `/api/photodump[/packs[/id] \| /character \| /fashion \| /retry]` (since round 5 part 1 `/fashion` takes an optional `modelId` for the photoset) | `components/{palettes,moodboards,photodump,fashion}/*`; k-means in `palettes/extract.worker.ts`; the chips load through `useSignature` in the composer; the curated sets are built in (`CURATED_SETS` in `moodboards/logic.ts`, drawn covers, nothing fetched from Higgsfield) and a curated card opens `/image?model=fuobe-soul&moodboard=curated:<id>`; since round 4 part 5 the empty Image studio's "Make your own Soul look" cards (`moodboards/soul-preset-cards.tsx`) show for Fuobe Soul and Soul HD, where they showed for Soul 2.0 |+ | **AI Influencer builder** (`/influencer`; round 4 part 2) | `src/lib/influencer.ts`: the tiers (Average, Bold, Extreme, and six creature types with species and body colour), what each tier shows, pick rules and the two clashes (`togglePick`, `conflictFor`, `setTier`), seeded Shuffle with the researched weights and per-category locks (`shuffleInfluencer`), the prompt compiler (`compileSheetPrompt`, `compileCastPrompt`, `compileDressPrompt`), `faceOfRun` and `planInfluencer` per engine; the option data is generated (`catalog/influencer-options.generated.ts`) | `influencer.ts`: prices with Photodump's helpers (`planCaps`, `previewRun`, `runEngine`) and makes one job or a two-step `createPipeline`. Cloud: one sheet on Nano Banana Pro (16:9, 2K; the default until round 5 part 1) or Seedream 5.0 Pro, with the photo and clothing as references. Open: the Soul Cast sheet (`oss-zimage-soul-cast`); with a face, a reference or clothing, Qwen-Image-Edit 2511 (`oss-qwen-edit`) then takes the sheet as image 1, the photo and clothing after it (3 images at most), and the sheet becomes a helper step (`influencer-step`). No Higgsfield route. `retryPhoto` (`photodump.ts`) runs both steps again when the sheet failed, and re-chains a pass that never launched. Since round 5 part 1 (O10) the cloud default is Fuobe Soul: a 16:9 1080p sheet in the Realistic look (`INFLUENCER_LOOK`, `v1-realistic`), then hosted Qwen-Image-Edit 2511 adds the face, reference or clothing with no size sent, so the sheet keeps its shape; Nano Banana Pro and Seedream 5.0 Pro stay as choices and are the fallback, with a note, when Fuobe Soul or hosted Qwen edit is switched off. On the GPU the Soul Cast sheet carries that look's words and LoRAs | `POST /api/influencer` (`?preview=1` prices it; since round 5 part 1 also `POST /api/influencer/estimate`, the same price at the path the evaluation harness uses); retries through `POST /api/photodump/retry` | `components/influencer/*` (`influencer-builder.tsx`, `option-panel.tsx`); Save as character reuses `SaveCharacter` from `fashion/character-sheet.tsx` and reads the face from the run itself (`faceOfRun`); linked from Character Sheet, and from the AI Influencer app through `StudioConfig.related` |+ | **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` (since round 4 part 5 without Marketing Studio Image; since round 5 part 1 Fuobe Marketing Image first for every image format on both engines and the only one on the GPU, `MARKETING_IMAGE_MODEL`, with `wordsOnTop` saying when the browser sets the words), Ads Studio's picture models (`AD_VISUAL_MODELS`, `adVisualModel`, round 5 part 1), `UGC_MODELS`, `OPEN_SOUND_JOIN`; since round 4 part 5 the Ad Multiplier's `MULTIPLIER_MODELS` (cloud: Kling O3 edit by default, Happy Horse video edit and Gemini Omni Flash), `MULTIPLIER_WINDOW` (Kling O3 and Happy Horse recreate at most 15 s) and `mentionsFor` binding `@ImageN` for Happy Horse as for Kling; since round 4 part 2 the Click to Ad logo end card (`END_CARD`, `END_CARD_MODELS`, `endCardSteps`: cloud [`overlay-image`: the logo on the brand colour →] `ken-burns` → a silent track (`merge-audio-video`) → `join-clips` after the ad; open `oss-append-endcard`, or `oss-still-to-clip` + `oss-join-sound1` for an ad ComfyUI didn't encode) | `brand.ts` (website scrape, research job, `kitForSite`), `marketing.ts` (`planMarketing`, `planClickToAd`, `planMultiplier` with `referenceFacts` → RunPlan → `createPipeline`; since round 4 part 5 it cuts a longer selection to the edit model's window with a note, prices the edit by the clip's length and keeps the reference's sound (`KEEP_SOUND`: Kling's `keep_audio`, Happy Horse's `audio_setting` "origin"); since round 4 part 4 the Ad Multiplier's open recreation runs `fuobe-genjutsu-motion` pinned to the open engine; `marketing_runs` keeps the input for Run again and the browser composite; `withEndCard` turns the ad's last step into a helper and adds the card, with `adEncoder`, `cardBackground` and `silentWav`; since round 5 part 1 `onPlanEngine` pins every dual-engine step to the studio's engine in the estimate and the launch, `runsFor` makes a batch with words on top N one-picture runs, and a GPU Standalone shot of one photo is flagged `productShot`), `ads.ts` (batches, creatives, concepts, chat, proposals; since round 4 part 5 every ad is copy plus one visual composited in the browser: `BatchBody` has no `route` or `ratio`, the estimate no `route`, and an ad Higgsfield drew whole is `baked`, shown as it is and remade the Fuobe way on Retry; since round 5 part 1 `BatchBody` takes an optional `modelId` for the picture, and Retry reuses the batch's) | `/api/brands/**` (since round 4 part 5 `POST /api/brands/[id]/chat/confirm` takes `{messageId, engine}`), `/api/products/**`, `/api/marketing/**` (Click to Ad and its estimate take `endCard`; since round 5 part 1 `POST /api/marketing/runs/[id]/compose` serves cloud Fuobe Marketing Image runs too), `/api/ads/**` | `components/{marketing,ads,brand}/*` (since round 5 part 1 Ads Studio's cloud-only "Pictures by" select in `ads/new-ads.tsx`); ad layout math (`ads/layout.ts`) → canvas render with Google fonts (`ads/render.ts`) → stored zip (`ads/zip.ts`); @mention helpers (`ads/mention.ts`); the 9:16 end card drawn in the browser (`marketing/end-card.ts`) and uploaded once per look || **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`. Since round 4 part 2 a channel's `settings.brief` (`BriefLook`, from Content Factory) adds look, camera and music words to the prompts, sets the scene length and the captions' words and position | `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}/*` || **Content Factory** (`/content-factory`, `/content-factory/[id]`; round 4 part 2) | `catalog/content-factory.ts`: the style brief (`StyleBrief`: format, hook, pacing, shots, look, animation, voice, music, captions, topics; `parseBrief` reads an LLM's answer, `offlineBrief` makes one from the clip's shape, length and speech rate), 8 preset styles, 4 animation styles, lengths 30 s to 5 min, up to 10 episodes, the link guard (`referenceLink`: TikTok, Instagram, a direct clip or a web page; YouTube asks for an upload; `pageMedia` finds a page's og:video or `<video>`), episode titles (`parseSeries`, `offlineSeries`), prices (`seriesPrice`, `briefCostUsd`) and the Generate in Claude message (`claudePlan`, `claudeMessage`, `mcpCommand`) | `content-factory.ts`: a series is a `content_series` row whose episodes are ordinary Faceless episodes in a channel of its own (`createChannel` with the brief in its settings, then `createEpisode` per title; nothing is forked). Reading a reference: cloud = `extract-frames` (about a frame a second, JPEG) and Scribe v2 as generations, then `llmText` writes the brief from up to 20 frames (`fitFrames` keeps them within 15 MB) and the transcript; open = one `oss-reference-brief` job (Gemma 4 E4B, the first 30 s). A link is fetched through `fetchRemote`. The brief is written in this process when the series is next read (`seriesView`), and Generate / Next episode hold a one-process claim, so repeated clicks make one series | `/api/content-factory/series[/id[/generate \| /episodes \| /read]]`, `/api/content-factory/{estimate,claude}`; `POST /api/faceless/episodes` takes 30–300 s on a channel whose settings carry a brief | `components/content-factory/*` (`home.tsx`, `series-view.tsx`, `parts.tsx`, `hooks.ts`); the series page is a record page with a real 404 (`series` in `record-pages.ts` / `records.ts`) |-| **Image to 3D** (`/image-to-3d`; round 4 part 3: five modes and Rig & animate) | `lib/av/model3d.ts`: the modes (From an image, From several images, From text, Pick an object, Splat: `MODEL3D_MODES`), the models per mode and engine, the default first (`MODELS_3D`; Pick an object has no open model, rigging is Meshy on fal only), the sides of a multi-view model (`VIEW_SIDES`: the front is needed; left and right are the object's own), `model3dBlocker`, `model3dRequest` (the sides go in `params.extra.views`), `stillPromptFor3d`, what a card shows (`model3dView`, `splatFormatOf`, `stillOf`: the still a text-to-3D model was built from), `CLOUD_NOTICES` ("Built with DINOv3" for TripoSplat and TRELLIS.2 on fal too), 30 curated Meshy animations in 6 groups (`ANIMATION_PRESETS`; the dialog starts on Casual walk, and any id up to 696 can be typed) and `rigRequest` | ordinary generations; the open text route is `createStillTo3d` (see Pipelines); the extra formats and previews are stored (`persistArtifacts`) | `POST /api/generations` (and `?preview=1` for the price line before a run); `?mode=` and `?model=` pick the mode and model (⌘K opens every 3D model and Meshy Rigging here) | `app/(studio)/image-to-3d/page.tsx` (an async server component: each open model's licence line, read from the manifest in a `"use cache"` function), `components/model3d/*`: `model3d-studio.tsx` (the mode radio group, the side slots, the price), `model-card.tsx` (a splat shows its orbit video or cut-out and a .spz / .ply download, since Fuobe doesn't draw splats; a rigged model plays its animation), `rig-dialog.tsx`, `hooks.ts`. The Library viewer (`ModelViewer` in `result-media.tsx`) never loads model-viewer for a splat |+| **Image to 3D** (`/image-to-3d`; round 4 part 3: five modes and Rig & animate) | `lib/av/model3d.ts`: the modes (From an image, From several images, From text, Pick an object, Splat: `MODEL3D_MODES`), the models per mode and engine, the default first (`MODELS_3D`; From an image opens on Pixal3D, `oss-pixal3d` on `image-to-3d-pixal3d`, with TRELLIS.2 as the fallback; Pick an object has no open model, rigging is Meshy on fal only), the sides of a multi-view model (`VIEW_SIDES`: the front is needed; left and right are the object's own), `model3dBlocker`, `model3dRequest` (the sides go in `params.extra.views`), `viewerGlb` (the web GLB when there is one), `stillPromptFor3d`, what a card shows (`model3dView`, `splatFormatOf`, `stillOf`: the still a text-to-3D model was built from), `CLOUD_NOTICES` ("Built with DINOv3" for TripoSplat and TRELLIS.2 on fal too), 30 curated Meshy animations in 6 groups (`ANIMATION_PRESETS`; the dialog starts on Casual walk, and any id up to 696 can be typed) and `rigRequest` | ordinary generations; the open text route is `createStillTo3d` (see Pipelines); the extra formats and previews are stored (`persistArtifacts`). `src/server/model3d-finish.ts` finishes the first GLB of an open image-to-3D job in two steps, each a child process: `finishModel` before the job succeeds (`scripts/model3d/finish-glb.mjs` with glTF Transform, meshoptimizer and sharp: a roughness floor by material read from the metallic channel, the pivot at the bottom centre, meshopt geometry and WebP textures at 2048, in `meta.web`; the raw GLB stays the download), then `startTurntable` after it (`scripts/model3d/render-turntable.mjs`: `<model-viewer>` in headless Chromium on SwiftShader, CPU only, 96 frames at 24 fps on a studio backdrop, encoded by ffmpeg, plus a poster), one at a time at below-normal priority; `meta.finish.turntable` is queued, rendering (with progress), done, skipped (no Chromium or ffmpeg: the page records one in the browser) or failed, and a restart picks up the queued ones. A failure keeps what was made | `POST /api/generations` (and `?preview=1` for the price line before a run); `?mode=` and `?model=` pick the mode and model (⌘K opens every 3D model and Meshy Rigging here) | `app/(studio)/image-to-3d/page.tsx` (an async server component: each open model's licence line, read from the manifest in a `"use cache"` function), `components/model3d/*`: `model3d-studio.tsx` (the mode radio group, the side slots, the price), `model-card.tsx` (cards play the turntable and never load a GLB; a splat shows its orbit video or cut-out and a .spz / .ply download, since Fuobe doesn't draw splats; a rigged model plays its animation), `model-viewer.ts` (the viewer's setup: the same-origin meshopt decoder `public/vendor/meshopt_decoder.js`), `turntable.ts` and `webm.ts` (the browser's own turntable when the server can't: 96 frames at 24 fps through WebCodecs), `rig-dialog.tsx`, `hooks.ts`. The Library viewer (`ModelViewer` in `result-media.tsx`) never loads model-viewer for a splat || **Translate & dub, Transcribe, Captions, Trim, Katana, 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`; since round 4 part 4 the motion step offers `fuobe-genjutsu-motion` on both engines instead of Higgsfield's Genjutsu, and `RETIRED_MOTION_MODELS` maps saved jobs' old ids; since round 4 part 5 it keeps only `oss-wan22-animate`, and `currentMotionModel` sends other retired ids through `currentModelId`), `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,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`); since round 4 part 4 the open "H3 Person Removal" eraser for a named person (`oss-h3-person-remove`, `planPersonRemoval`: see Fuobe Originals; Wan VACE stays the default) | `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`, `?mode=character`) | `catalog/genjutsu.ts`: modes Motion transfer, Character swap (round 4 part 4), Object swap, Restyle, Insert; the models per engine (`MAKERS`, `chooseMaker`: since round 4 part 4 the mode's Fuobe Original first, then other open weights, then partners; the alternatives include SCAIL-2, Wan Motion, Wan 2.2 Animate Replace, H3 Max Recast, Kling O3 and P-Video Replace in the cloud and H3 Character Swap · Relay 2.0 on the GPU; no Higgsfield model; see Fuobe Originals), `LEGACY_MAKERS` (since round 4 part 5 built from `REPLACED_BY`), list prices (`MAKER_USD`), `swapTarget`, `makerPrompt`, `planGenjutsu` (reuses Remove object's pieces, windows and `joinWithSound`; Restyle runs Shorts' planner with `keepShape`, or in the cloud the Original's own plan; Character swap is `planCharacterSwap` with `catalog/character-swap.ts`; every step names its engine), Copy / Paste setup codes (`encodeSetup` / `decodeSetup`, `gj1.` + base64url JSON, `/api/files/` URLs only; old codes open the replacing Original) | `genjutsu.ts`: `estimateGenjutsu` (since round 4 part 4 with each model's `source`, the anchors, the Character swap's limits and the GPU it was tested on), `createGenjutsu` (one `createPipeline`: `genjutsu`, `genjutsu-step`), `characterSwitches` (the Character swap's settings for the chosen model, with notes), `describeCharacter`, `transcribeClip`; `mixProblem` refuses a run that would mix paid and demo steps before anything starts. No table | `/api/genjutsu[/estimate]` (`once()` on `requestId`; since round 4 part 4 mode `character` with a `character` object and the part's `cuts`, and look kind `soul` instead of `higgsfield`), `POST /api/genjutsu/describe` and `/transcribe` (round 4 part 4) | `components/genjutsu/*` (`genjutsu-studio.tsx` with source badges and licence lines in the picker, `character-panel.tsx`, `look-picker.tsx` with Fuobe Soul's 139 looks, `use-cuts.ts`, `setup-code.tsx`); "Use in Genjutsu" / "Animate with Genjutsu" result actions; `StudioConfig.related` links from Motion control (to the Character swap) and Edit video; since round 4 part 5 the Character swap's "Open in Character Swap Studio" (`CharacterFacts`) makes a studio project on the same engine with the clip and the character's picture and description (`openInStudio`, `studioHandOff`), and is a plain link to `/character-swap` before a clip is loaded |+ | **Evolution** (`/video-tools/evolution`; round 5 part 1, O13) | `catalog/evolution.ts`: limits (`EVOLUTION`: a 4–30 s clip up to 500 MB, up to 40 references, a direction of up to 10,000 characters of which the first 1,500 reach the model), `INTENSITIES`, `planEvolution` on Shorts' segment, stitch, cut, join and mux planners (GPU segments of up to 81 frames at 16 fps with a direction frame each; cloud pieces of up to 20 s), `nearestShape`, the direction writer's prompt and offline writer (`DIRECTION_SYSTEM`, `directionRequest`, `offlineDirection`), `evolutionProblem` (see Fuobe Originals) | `evolution.ts`: `writeDirection` (Claude or Ollama, else offline; never generates), `estimateEvolution`, `createEvolution` (one `createPipeline`: `evolution` for the finished clip, `evolution-step` for the cuts, direction frames, segments and joins; Shorts' `once()` on `requestId`); the run and the estimate check that Fuobe Evolution is switched on. No table: history is the feed | `POST /api/evolution` (201 with the final clip, the items, the direction and who wrote it), `/api/evolution/estimate`, `/api/evolution/direction` | `components/evolution/*` (`evolution-tool.tsx`: clip and trim, references, Low / Medium / High, "Write it for me", price, before / after wipe; `hooks.ts`), a mode of the Video tools hub (`src/lib/hubs.ts`, `mode-switch-studio.tsx`). Edit video lists `fuobe-evolution` with a "Change" control; Evolution has no Assist or MCP tool yet |+ | **Genjutsu** (`/genjutsu`, `?mode=character`) | `catalog/genjutsu.ts`: modes Motion transfer, Character swap (round 4 part 4), Object swap, Restyle, Insert; the models per engine (`MAKERS`, `chooseMaker`: since round 4 part 4 the mode's Fuobe Original first, then other open weights, then partners; the alternatives include SCAIL-2, Wan Motion, Wan 2.2 Animate Replace, H3 Max Recast, Kling O3 and P-Video Replace in the cloud and H3 Character Swap · Relay 2.0 on the GPU; no Higgsfield model; see Fuobe Originals), `LEGACY_MAKERS` (since round 4 part 5 built from `REPLACED_BY`), list prices (`MAKER_USD`), `swapTarget`, `makerPrompt`, `planGenjutsu` (reuses Remove object's pieces, windows and `joinWithSound`; Restyle runs Shorts' planner with `keepShape`, or in the cloud the Original's own plan; Character swap is `planCharacterSwap` with `catalog/character-swap.ts`; every step names its engine, which since round 5 part 1 includes the Original restyle steps of `planFuobeRestyle`, the Soul-look first frame and the partner cloud restyle steps), Copy / Paste setup codes (`encodeSetup` / `decodeSetup`, `gj1.` + base64url JSON, `/api/files/` URLs only; old codes open the replacing Original) | `genjutsu.ts`: `estimateGenjutsu` (since round 4 part 4 with each model's `source`, the anchors, the Character swap's limits and the GPU it was tested on), `createGenjutsu` (one `createPipeline`: `genjutsu`, `genjutsu-step`), `characterSwitches` (the Character swap's settings for the chosen model, with notes), `describeCharacter`, `transcribeClip`; `mixProblem` refuses a run that would mix paid and demo steps before anything starts. No table | `/api/genjutsu[/estimate]` (`once()` on `requestId`; since round 4 part 4 mode `character` with a `character` object and the part's `cuts`, and look kind `soul` instead of `higgsfield`), `POST /api/genjutsu/describe` and `/transcribe` (round 4 part 4) | `components/genjutsu/*` (`genjutsu-studio.tsx` with source badges and licence lines in the picker, `character-panel.tsx`, `look-picker.tsx` with Fuobe Soul's 139 looks, `use-cuts.ts`, `setup-code.tsx`); "Use in Genjutsu" / "Animate with Genjutsu" result actions; `StudioConfig.related` links from Motion control (to the Character swap) and Edit video; since round 4 part 5 the Character swap's "Open in Character Swap Studio" (`CharacterFacts`) makes a studio project on the same engine with the clip and the character's picture and description (`openInStudio`, `studioHandOff`), and is a plain link to `/character-swap` before a clip is loaded || **Character Swap Studio** (`/character-swap`, `/character-swap/[id]`; round 4 part 5) | `catalog/swap-studio.ts`: Akatz Labs' H3 Character Swap workbench for whole clips (`docs/research/openjutsu-6.md` §4.2) as one project document (`SwapProject`: one character, a picture and a description, and up to 20 clips of .mp4, .mov, .mkv, .webm or .avi, each at most 3,592 frames at 24 fps, 149.66 s, and 200 MB; `SWAP_STUDIO`). A clip holds its cuts and shots (`shotsFromCuts`; each shot Replace character or Keep original), its transcript and voices; a shot holds who to swap, mask versions (`MaskVersion`: Track shot or Update frame, made and approved on one engine), anchor variants and segments (`applyLayout`: 5, 10 or 15 s layouts, split, merge, moved boundaries; each segment Starts fresh or Continues previous, with its own words, speaker, prompt, seed and anchor). A take is frozen as queued (`freezeTake`: settings, who, anchor, mask, history), waits for the takes it continues from (`planQueue`, `dependencies`) and carries its review (favourite, Keep / Maybe / Skip, notes; `exportDecisions`); `masterKeep` is how many last frames a GPU take's master keeps for the next segment; `assemblyPieces` lays the chosen takes over the timeline, kept shots as filmed, and names out-of-date takes (`stale`) instead of refusing them; also `maskMemoryProblem` and `studioHandOff`. `swap-studio-plan.ts`: every job as `PlanStep`s per engine (`STUDIO_MODELS`): the GPU's 24 fps copy (`planNormalize`, `oss-fit-clip`) or the cloud's browser copy of a clip the page can't play (`planPreview`, fal `scale-video`); words (`planTranscribe`: `oss-qwen3-asr` or `scribe-v2`); masks (`planMask`: `oss-h3-person-mask`, or fal's SAM 3.1 video with `frame_index`, for review only; `cloudMaskCut`); anchors (`planAnchor`: Qwen-Image-Edit 2511, or GPT Image 2.5 Sunburst or Nano Banana Pro); a take (`planSegmentTake`: on the GPU one `video-swap` on `oss-h3-swap-segment` with the approved mask, the anchor and the previous take's master as history; in the cloud the segment cut with `trim-video`, the previous take's last frame (`extract-frame`), `fuobe-character-swap` on whole seconds (`cloudCallSeconds`, 5–15) and a `fit` trim back to the segment); `frozenTakePlan`; and the assembly (`planAssembly`: on the GPU every piece fitted at 24 fps, `oss-join-encoded` up to 100 a join, `oss-mux`; in the cloud pieces cut, scaled to one size with `scale-video` (`cloudFilmSize`), joined with `join-clips` up to 24 a join at `target_fps` 24, then `merge-audio-video` with the clip's sound or silence). `swap-studio-edit.ts`: `applyEdit`, the page's edits (refused while a shot's takes run: `shotBusy`, `EditError`). `src/lib/av/scene-cuts.ts`: Detect edits' maths (FFmpeg's scene score at 0.32; a coarse 64 px pass at 0.18, then a fine pass at the clip's width, up to 1280 px). `src/lib/swap-studio-graphs.ts`: the per-job graph rewrites (see Providers) | `swap-studio.ts`: projects in `swap_projects`, changed in one synchronous read-modify-write (`mutate`; `revision`, `waiting`). Every job is a `createPipeline` (helper feature `swap-studio-step`; the assembled clip is `swap-studio` and lands in the Library). Reading a project (`advanceProject`: the view, the estimate and the decisions) fills in finished jobs and launches waiting takes, which can be paid fal calls; `ensureSwapStudioRunner`, started by `src/instrumentation.ts`, does the same every 3 s for projects with `waiting > 0`, with the page closed too, in every Fuobe server on the same data folder. `queueTakes` checks and prices every take first (`price`: no demo and real steps mixed); `mustOffer` and `loraFor` apply Settings → Models & licences (the GPU refuses to run without the Turbo LoRA and runs without a switched-off swap LoRA, with a note; fal's route needs a swap LoRA); `editProject` stops the jobs an edit leaves nothing pointing at; `estimateProject` prices segments, shots, the project, masks, anchors, words and the assembly (Sunburst anchors are billed by tokens and left out, as is a cloud browser copy, billed by compute seconds); `studioNotes`, `decisions` | `GET` / `POST /api/swap-studio/projects`; `GET` / `PATCH` / `DELETE …/[id]`; `POST …/[id]/clips`, `/prepare`, `/transcribe`, `/masks`, `/anchors`, `/queue` (mode `segment`, `from` or `all`), `/stop`, `/takes/stop`, `/assemble`; `GET …/[id]/estimate`, `/decisions` (the Export decisions JSON) | `components/swap-studio/*`: `home.tsx` (the projects; New project on your GPU or the cloud), `workbench.tsx` with seven stages (Shots, Words, Who to swap, Scene anchors, Segments, Takes & review, Assemble; `stage-*.tsx`), `use-scene-cuts.ts` (Detect edits in the browser), `hooks.ts` (`openInStudio`); the Finish stage (a clean background plate, cut-outs) shows as not available (`FINISH_UNAVAILABLE`). Checked: unit and API tests (`swap-studio`, `swap-studio-edit`, `swap-studio-api` with the demo provider on both engines, `comfy-swap-studio` through the real provider on the library graphs, `avi-probe`) and a browser check of the whole flow in demo mode on the cloud engine (`tests/e2e/character-swap-studio.mjs`); nothing has run on a GPU or with a fal key |- | **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)" |+ | **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); since round 5 part 1 SDR to HDR (`ltx-2-3-hdr`) switches to `fal-ai/ltx-2.3-quality/hdr/lora` when the run carries LoRAs (up to 3) | 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; since round 4 part 3 Fuobe DoP films keyframes this way, on the GPU only) | `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]`, since round 4 part 4 `/assist/scheduled`) | `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); since round 4 part 4 `lib/assist-schedule.ts` (rules, time zones, the cap) and `lib/assist-connectors.ts` (URL checks and masking) | `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); since round 4 part 4 `assist/schedules.ts` and `assist/connectors.ts` (see Assist agent) | `/api/assist/**`; since round 4 part 4 `/api/assist/schedules[/scheduleId[/run]]` and `/api/assist/connectors[/connectorId]` | `components/assist/*`, `assist-view.tsx`; "Open in <Studio>" cards for studio jobs; since round 4 part 4 `schedule-dialog.tsx` (from a chat's Schedule button), `scheduled-view.tsx` (the Scheduled page and each project's Scheduled tab), `connectors-settings.tsx` (Settings → Assist · connectors) and connector tool calls in the transcript |+ | **Storyboard** (`/storyboard`; Popcorn looks and prices since round 5 part 1, O13) | `catalog/storyboard.ts` (above: `planStoryboard`, `STORYBOARD_MODELS`, `STORYBOARD_PARTNERS`, the look and the 21:9 crop); `src/lib/storyboard-board.ts` (`filmReady`: "Make the film" waits until the browser has graded and cropped a look board's frames, or gave up, `finishGaveUp` in `soul-finish.ts`) | `storyboard.ts`: `StoryboardBodySchema` (shared by the run and its estimate: `look`, `lookStrength`, `partner`), `estimateStoryboard` (each frame priced on its own model, which Assist's `create_storyboard` now uses too), the film's shape from `frame.crop`; `pollOne` writes the look's finish meta on every frame (see Structured outputs) | `POST /api/storyboards` (`look`, `lookStrength`, `partner: "nano-banana-pro"`), `POST /api/storyboards/estimate` (`{costUsd, demo, frames, models}`) | `storyboard-view.tsx`: the Look chip with a "No look" state (`look-chip.tsx`'s `none`), the price and frame count next to Generate (disabled while the estimate errs), and in the cloud a "Frames made on" choice of Fuobe or Nano Banana Pro. A 4-frame cloud board is priced under $0.20 in the tests (Nano Banana Pro: about $0.60) |+ | **Assist** (`/assist`, `/assist/skills`, `/assist/memory`, `/assist/projects/[id]`, since round 4 part 4 `/assist/scheduled`) | `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); since round 4 part 4 `lib/assist-schedule.ts` (rules, time zones, the cap) and `lib/assist-connectors.ts` (URL checks and masking); since round 5 part 1 `lib/recipe.ts` and `lib/recipe-builder.ts` (see Skills that run by themselves) and `memoryCardLine` (a "Remember this?" card says "Saves to memory for future chats" while it asks, "Saved…" once approved, "Not saved to memory" after Not now; before, it said "Saved" while it still asked) | `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`; since round 5 part 1 `skillRecipe`, `setSkillFile`, `skillFiles` for the .zip download, `verified` stripped from an imported recipe, and "draft" a reserved name), since round 5 part 1 `recipes.ts`, `recipe-builder.ts` and `recipe-routes.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); since round 4 part 4 `assist/schedules.ts` and `assist/connectors.ts` (see Assist agent) | `/api/assist/**`; since round 4 part 4 `/api/assist/schedules[/scheduleId[/run]]` and `/api/assist/connectors[/connectorId]`; since round 5 part 1 `/api/assist/skills/[name]/{recipe,estimate,run,verify}`, `…/download?format=zip` and `/api/assist/skills/draft[/check \| /name \| /save]` | `components/assist/*`, `assist-view.tsx` (since round 5 part 1 `run-skill-dialog.tsx`, the "Runs by itself" chip and checks in `skills-view.tsx`, and `plan-jobs.tsx`, the approval card's job list shared with the Run form), `components/skills/*` (the skill builder); "Open in <Studio>" cards for studio jobs; since round 4 part 4 `schedule-dialog.tsx` (from a chat's Schedule button), `scheduled-view.tsx` (the Scheduled page and each project's Scheduled tab), `connectors-settings.tsx` (Settings → Assist · connectors) and connector tool calls in the transcript |## ComfyUI workflow library (`workflows/comfyui/`, `scripts/comfy/`)@@@ -389,18 -403,30 +418,30 @@@ Failed fal jobs (4xx, `FAILED`), a miss## Assist agent (`src/server/assist/`)-A manual tool-use loop over Claude (adaptive thinking with `block_binding` drop-block, betas `thinking-binding-controls-2026-08-01` and `server-side-fallback-2026-07-01` (not for Haiku), and since round 4 part 4 `mcp-client-2025-11-20` when connectors ride along, top-level `cache_control` and two cached system blocks, streamed with `client.beta.messages.stream(...).finalMessage()`, `max_tokens` 32k or 64k at Extra / Max effort). Modes: **Free** (Ollama, or the offline planner), **Smart** (Claude, needs a key), **Manual** (pick claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 or claude-fable-5-1 and the effort). `resolveAgent()` picks one per chat.+A manual tool-use loop over Claude (adaptive thinking with `block_binding` drop-block, betas `thinking-binding-controls-2026-08-01` and `server-side-fallback-2026-07-01` (not for Haiku), and since round 4 part 4 `mcp-client-2025-11-20` when connectors ride along, top-level `cache_control` and two cached system blocks, streamed with `client.beta.messages.stream(...).finalMessage()`, `max_tokens` 32k or 64k at Extra / Max effort). Modes: **Free** (a local model, or the offline planner), **Smart** (Claude, needs a key), **Manual** (pick claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 or claude-fable-5-1 and the effort, or one of the local server's models). `resolveAgent()` picks one per chat. The agent ids are `claude`, `local` and `offline`; chats and browsers that saved the old `ollama` read as `local` (`normalizeAgent()`, the `ModeChoice` schema).- **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; since round 4 part 3 it says an Original runs on both engines and names the 139 looks; since round 4 part 4 it lists only models Settings → Models & licences offers, and the offline planner's default picks fall back with `offeredDefault`), `list_elements` (since round 4 part 4 a trained element counts only LoRAs some run can use), `list_recent`, `check_generations` (text inline, meta, images attached), `generate` (with `after`: the call becomes one `createPipeline`; not `strict`, zod-validated; since round 4 part 3 a job takes `look` and `engine`, and a job without an engine follows the user's; since round 4 part 5 a job naming a retired model or operation runs on its replacement, `toRequest` through `currentRequest`, without the note), `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`, 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. Since round 4 part 5 `create_ads` always plans Fuobe's ads (copy and a visual, each in 1:1, 4:5 and 9:16). 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, Character Swap Studio, Remove object, Content Factory, the AI Influencer builder and Layers' Inpaint, Enhancer and Save as element 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 a local model's tool calling (`local` in `agent.ts`: the history through `toChatMessages()`, the answer back as `tool_use` blocks; a picked model the server doesn't list gives way to its default), 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…").+ - **Tools** (`tools.ts`, `context-tools.ts`, `studio-tools.ts`): `search_models` (kinds image, video, audio, text, model3d; since round 4 part 3 it says an Original runs on both engines and names the 139 looks; since round 4 part 4 it lists only models Settings → Models & licences offers, and the offline planner's default picks fall back with `offeredDefault`), `list_elements` (since round 4 part 4 a trained element counts only LoRAs some run can use), `list_recent`, `check_generations` (text inline, meta, images attached), `generate` (with `after`: the call becomes one `createPipeline`; not `strict`, zod-validated; since round 4 part 3 a job takes `look` and `engine`, and a job without an engine follows the user's; since round 4 part 5 a job naming a retired model or operation runs on its replacement, `toRequest` through `currentRequest`, without the note), `create_storyboard` (the only `strict` tool; since round 5 part 1 each frame priced on its own model through `estimateStoryboard`), `list_skills`, `load_skill` (since round 5 part 1 a skill with a recipe also gets its "Run it" section, as the chat context's active skills do), `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`, 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. Since round 4 part 5 `create_ads` always plans Fuobe's ads (copy and a visual, each in 1:1, 4:5 and 9:16), since round 5 part 1 with the visual on Fuobe Marketing Image; since then `restyle_footage`'s Shorts session runs `fuobe-shorts` by default on both engines. A call the studio can't take runs as a `createPipeline` of catalog models in the Library (for `restyle_footage` on the open engine, `fuobe-mixed-media` at seed 424242 with references dropped), 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, Character Swap Studio, Remove object, Content Factory, the AI Influencer builder, Evolution and Layers' Inpaint, Enhancer and Save as element 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. Since round 5 part 1 (fixes-5) `resolveAgent()` and the panel ask Ollama through the shared busy-vs-down check (`ollamaSoon`, at most 1.5 s), so a busy Ollama no longer sends a chat to the offline planner (see LLM provider). 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…").++- History is stored append-only exactly as the API returned it; local images are kept as URLs and converted to base64 per request. Since round 5 part 1 (fixes-5) `resolveAgent()` and the panel ask the local servers through the shared busy-vs-down check (`localSoon`, at most 1.5 s), so a busy local server no longer sends a chat to the offline planner (see LLM provider). The same loop runs on a local model's tool calling (`local` in `agent.ts`: the history through `toChatMessages()`, the answer back as `tool_use` blocks; a picked model the server doesn't list gives way to its default), 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…").- **Scheduled tasks** (round 4 part 4; `src/lib/assist-schedule.ts`, `src/server/assist/schedules.ts`). A task is a prompt (with files, a project, an engine and the chat's mode) that runs as a new chat on the server's clock. Rules (`ScheduleRule`): daily at a time, weekly on some days, every N real hours (1–168), or once, in an IANA time zone. `nextRun` works out the next time with `zonedToUtc` / `wallClock`, pure, so the dialog's "Next run" preview and the server agree: a time a spring-forward skips runs as much later as the clocks jumped, a time a fall-back repeats runs once, and every N hours ignores the clocks. The sweep (`ensureScheduleRunner`, started at boot by `src/instrumentation.ts`, and when a task is made) runs every 30 s, the first one 5 s after boot, and starts up to 10 due tasks, each claimed by a compare-and-set on `next_run_at`, so two sweeps never start the same run and a run missed while the server was off happens once. A run time that passes while the previous run is still going is skipped and recorded, not queued. Every process on the same database sweeps, dev servers included. Each run is a new chat ("<task> · <time>") in the task's project; its context says it is a scheduled run nobody watches (`scheduleLine`), so the model doesn't ask questions and ends with a summary. **Approval modes:** Ask first (the default: the plan waits as an approval card, and nothing is generated until it is approved, though a Claude run still uses the Anthropic key to plan) or auto-run within a cap per run (`cap_usd`, default $2, at most $500): `step()` prices each gated call with `planFor()` and `spendOf` (demo jobs $0, an unknown price always waits), `withinCap` lets it start while the run's `spent_usd` stays under the cap, and a plan over it waits. Claude's own tokens and connector side effects aren't counted. `POST /api/assist/schedules/[id]/run` (Run now) answers 202 with the chat, 409 only while the last run is still going, 422 with the reason when paused or failed. Deleting a project pauses its tasks, with the reason shown (`deleteProject` in `assist/projects.ts`). The UI: the Schedule button in a chat's header, `/assist/scheduled` and each project's Scheduled tab.-- **Connectors** (round 4 part 4; `src/lib/assist-connectors.ts`, `src/server/assist/connectors.ts`). Custom remote MCP servers in Settings → Assist · connectors (`#assist-connectors`; `/api/assist/connectors[/id]`): name, URL, optional token and optional allowed tools. `checkConnectorUrl` takes https, plain http only for localhost unless `FUOBE_ALLOW_PRIVATE_URLS=1`, no user name or password in the URL, at most 2,048 characters, and warns that a local or private address needs a public tunnel. Tokens and URLs are stored in plain text in SQLite like the other keys; the browser gets them masked (`maskToken`, `maskConnectorUrl`: the query and every path segment that isn't a short plain word hidden). Claude chats send them through the Messages API's MCP connector (beta `mcp-client-2025-11-20` beside the others): `mcpParams` gives one `mcp_servers` entry (URL, slug, `authorization_token`) and one `mcp_toolset` per enabled connector, and an allow-list turns the rest off (`default_config: {enabled: false}` plus `configs`). Anthropic's servers connect and call the tools inside the reply, so approval cards and the cap never see those calls; the context's `connectorsLine` tells the model to check in chat before posting, sending, creating, editing or deleting in an Ask-first chat. Every ordinary Claude chat gets every enabled connector (`assist_thread_state.connectors` defaults to 1); a scheduled run only when its task opts in (`assist_schedules.connectors`, off by default). History from a connector deleted or switched off is sent as text (`withoutMissingServers`); the stored history is unchanged. Ollama and the offline planner can't use connectors and say so once. The transcript lists each connector tool Claude used.+- **Connectors** (round 4 part 4; `src/lib/assist-connectors.ts`, `src/server/assist/connectors.ts`). Custom remote MCP servers in Settings → Assist · connectors (`#assist-connectors`; `/api/assist/connectors[/id]`): name, URL, optional token and optional allowed tools. `checkConnectorUrl` takes https, plain http only for localhost unless `FUOBE_ALLOW_PRIVATE_URLS=1`, no user name or password in the URL, at most 2,048 characters, and warns that a local or private address needs a public tunnel. Tokens and URLs are stored in plain text in SQLite like the other keys; the browser gets them masked (`maskToken`, `maskConnectorUrl`: the query and every path segment that isn't a short plain word hidden). Claude chats send them through the Messages API's MCP connector (beta `mcp-client-2025-11-20` beside the others): `mcpParams` gives one `mcp_servers` entry (URL, slug, `authorization_token`) and one `mcp_toolset` per enabled connector, and an allow-list turns the rest off (`default_config: {enabled: false}` plus `configs`). Anthropic's servers connect and call the tools inside the reply, so approval cards and the cap never see those calls; the context's `connectorsLine` tells the model to check in chat before posting, sending, creating, editing or deleting in an Ask-first chat. Every ordinary Claude chat gets every enabled connector (`assist_thread_state.connectors` defaults to 1); a scheduled run only when its task opts in (`assist_schedules.connectors`, off by default). History from a connector deleted or switched off is sent as text (`withoutMissingServers`); the stored history is unchanged. A local model and the offline planner can't use connectors and say so once. The transcript lists each connector tool Claude used.+ ## Skills that run by themselves (`src/lib/recipe.ts`, `src/server/recipes.ts`, `src/lib/recipe-builder.ts`, `src/server/recipe-builder.ts`)++ Round 5 part 1 (Work2Skill W1 and W2; plan in `docs/research/work2skill-7.md`). `SKILL.md` stays the playbook people and agents read. A user skill "runs by itself" when its files hold a valid `recipe.json`: Fuobe checks it, prices it and runs it with new inputs, with no chat and no LLM. The recipe lives in the skill's existing `files_json`, so there is no migration.++ - **The format** (`src/lib/recipe.ts`, pure and browser-safe; `RecipeSchema`, `fuobeRecipe: 1`). Typed inputs (`params`: image, video, audio, text, number, choice or @element; at most 12) and either a graph of `generate` steps (each a `GenerationRequest` with `after` and `chain`, exactly as `createPipeline` takes them; at most 24) or one `tool` step (a gated Assist tool such as `dub_video` or `add_captions`, alone). A string that is exactly `"{{id}}"` takes the input with its type; `{{id}}` inside a longer string inserts its text. Optional `checks` per step (kind, count, aspect, seconds, sound, and a `look` sentence for a model that sees images) and `verified` per engine (the day the plan check, the dry run and the real test passed, and `catalog`, a hash of each step's model, operation, route and price table). Server-set fields (`SERVER_FIELDS`: `skill`, `demo`, `asked`, `chainFilled`…) are stripped from a recipe's requests. `recipeProblems` refuses at save time, never at run time: unknown or unused placeholders, duplicate ids and keys, a tool step that isn't alone, a graph `createPipeline` would refuse, a count that varies on a step others wait for, and inputs whose default, example or options don't fit their type.+ - **Fill and compile.** `fill` puts the values in (defaults for what isn't given). `compile` turns one run into the filled requests of one `createPipeline`, each stamped with `skill {name, run}` and the skill's title as `batchTitle` (a dry run adds `demo: true` and the hidden feature `skill-check`), or into one tool call. `checkValues` validates a row and `parseRows` a pasted or uploaded CSV / TSV (up to 50 rows), the same in the browser and on the server. `recipeMarkdown` writes the "Run it" section (inputs, steps, the equivalent `generate` or studio-tool call; at most 20,000 characters) that `load_skill`, the chat context and MCP prompts add to a recipe skill.+ - **Runs on the server** (`src/server/recipes.ts`; routes under `src/app/api/assist/skills/[name]/` with `src/server/recipe-routes.ts`). `compileRun` sends every filled request through the API's own `GenerationRequestSchema` and puts a dual-engine Original on the run's engine. Fuobe never moves a step to the other engine: `recipeEngines` is the engines every step allows under Settings → Engine mode. `estimateRecipe` prices one run or many with `planSteps` / `planFor`, as Assist's approval card does. `runRecipe` starts one `createPipeline` per row, or one `executeTool` call per row whose rows `stampRequests` (`generations.ts`) stamps afterwards. A run is refused with 409 until the plan check has passed on that engine, or while the skill is switched off; a CSV with a header and no rows is a 422.+ - **Checks** (`verifyRecipe`, `POST …/verify`). `plan`: each step planned and priced as it would start; when every refusal is only a provider to connect (`onlyConnect`: messages that start "Connect"), the same run on the demo route stands in, with a note. `demo` (the default): the plan check, then a free dry run on the mock provider whatever Settings → Demo mode says (`request.demo`; at most 120 s per engine; small stand-in files for media inputs with no example), whose hidden rows go to the Trash; a Run doesn't wait for it. `real` (API only, needs `confirm: true`, holds the request up to 15 minutes): the examples on the user's keys, outputs checked by their structure (`probeMedia`) and the look judged only by a model that sees images (`llmSeesImages`; on the GPU only Ollama, never paid Claude). Tool steps get the plan check only. `needsRecheck` asks for a check again when a step's model was retired (`REPLACED_BY`) or switched off, or the plan hash changed. A check that finds the recipe changed while it ran refuses with 409 and keeps the edit. An uploaded `recipe.json` loses its `verified` dates, and the .zip download (`?format=zip`) never carries this install's checks; examples and source stay out unless `&examples=1`.+ - **Making a skill from results** (W2; `src/server/recipe-builder.ts`, `src/lib/recipe-builder.ts`, `src/components/skills/*`). `draftFromGenerations` walks the picked results back through `depends_on` and chain slots to the exact requests that made them. Results handed on by hand in the composer (Edit, Animate) are linked by matching file URLs (`linkByFile`); a stack that ran as one job per result becomes one step (`jobsOf`); an expansion comes back as the request it was asked as (`GenerationRequest.asked`; older ones are told apart by step labels and refused with `STEPS_REFUSAL`); a retired model moves to its replacement (`currentRequest`); and Translate & dub, Katana and Captions are lifted to their Assist tools (`dub_video`, `katana`, `add_captions`). Other studios that plan their own steps are refused by name (`STUDIOS`, `notSupported`). Every input starts Fixed. The review screen marks what varies (media, @elements, whole prompts, words picked in a prompt, and the takes, shape, length and quality), and `buildRecipe` and `skillBody` write the recipe and SKILL.md live. `POST /api/assist/skills/draft` returns the draft and the refusals; `/draft/check` runs the plan check and the dry run on an unsaved recipe (kept in memory by recipe hash, `draftKey`: 200 entries for 6 hours, so a restart loses a passed dry run); `/draft/name` is an optional naming pass by Claude or Ollama; `/draft/save` checks the plan again and saves, with 409 for a taken name and 422 for a failing plan. "draft" is a reserved skill name; a user skill already called that would have its GET, PATCH and DELETE routes shadowed by the POST-only draft route (read from the routing, not tested, and nothing renames it). A skill made from demo results says so in its Run form (`DEMO_NOTE`, `source.demo`) until a real test passes.+ - **UI.** A recipe skill's card on the Skills page shows "Runs by itself", and its dialog shows where it was checked or why it needs a re-check (`skills-view.tsx`). The Run form (`run-skill-dialog.tsx`, `/assist/skills?run=<name>`) builds its fields from the inputs, offers only engines whose check passed, prices live, lists the steps (`plan-jobs.tsx`) and has a Many tab for CSV rows. ⌘K lists "Run <skill>…" (`skillEntries` in `src/lib/command-search.ts`). "Make a skill from this…" is in every finished result's ⋯ menu and "Make a skill" in the Library's selection bar; `SkillBuilderProvider` wraps `StudioChrome` (`app-sidebar.tsx`), so the viewer opened from ⌘K or a job notification has it too, and loads the review screen on first open.+ - **Checked** in demo mode only: unit and API tests (`recipe`, `recipes`, `recipe-builder`) with Demo mode off and no keys, and the browser checks `skills-run` and `skills-builder`. No skill has run with a paid key or on a GPU, the naming pass and look judging have not met a live Claude or Ollama vision model, the three lifts are tested as drafts only, and the real check level has no button. The text agents read (the "Run it" section, a built skill's SKILL.md) mentions a `run_skill` MCP tool that comes with W3 and doesn't exist yet.+## MCP server (`src/server/mcp.ts`, `/api/mcp`)- 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`, so since round 4 part 4 `search_models` lists only models that are on and a run of one switched off is refused, naming the switch) 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. Content Factory's Generate in Claude (round 4 part 2) sends nothing itself: its dialog shows the `claude mcp add --transport http fuobe <origin>/api/mcp` line (`mcpCommand`, with a Bearer header when a password is set) and the prompt `POST /api/content-factory/claude` writes for the existing `faceless_episode` tool, on the engine this server's MCP runs on (Settings → Engine mode). That tool takes up to 8 scenes a call, so a longer episode comes out in parts. Assist's scheduled tasks can't be made through it (or the CLI) yet. It is Fuobe's own server; the remote MCP servers Claude chats can use are Assist's connectors (above).+ 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`, so since round 4 part 4 `search_models` lists only models that are on and a run of one switched off is refused, naming the switch) 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 (since round 5 part 1 a recipe skill's prompt ends with its "Run it" section; there is no `run_skill` tool yet). Requests from a foreign `Origin` are refused; the proxy applies the same sign-in rules as the REST API. Content Factory's Generate in Claude (round 4 part 2) sends nothing itself: its dialog shows the `claude mcp add --transport http fuobe <origin>/api/mcp` line (`mcpCommand`, with a Bearer header when a password is set) and the prompt `POST /api/content-factory/claude` writes for the existing `faceless_episode` tool, on the engine this server's MCP runs on (Settings → Engine mode). That tool takes up to 8 scenes a call, so a longer episode comes out in parts. Assist's scheduled tasks can't be made through it (or the CLI) yet. It is Fuobe's own server; the remote MCP servers Claude chats can use are Assist's connectors (above).## Command line (`bin/`)@@@ -410,13 -436,13 +451,13 @@@Round 4 part 2. A developer tool, not part of the app: it measures the Fuobe Originals (Fuobe's own open-weight versions of Higgsfield's in-house models) so that a recipe (models, LoRAs, settings) becomes a default only after it has been measured, and then only in a commit a person reviews. Like the CLI it is a client of a running Fuobe, in plain Node: `scripts/eval/eval.mjs` (`run`, `report`, `review`, `compare`, `promote`, `covers`, `history`, `validate`, `setup`, `trash`; `pnpm eval:<command>` or `fuobe eval <command>`) with the logic in `scripts/eval/lib/*.mjs`. The full guide is [`scripts/eval/README.md`](../scripts/eval/README.md).- - **Cases** (`cases/*.json`, checked against `case.schema.json`, which `lib/schema.mjs` writes): one suite per Original (`selftest`, `soul`, `soul-id`, `dop`, `genjutsu`, `mixed-media`, `shorts`, `speak`, `cinema`, and since round 4 part 3 `soul-cinema`, `soul-hex` and `dop-mix`) with model targets per engine (`demo`, `open`, `cloud`), variants (`recipe`, `prompt-only`, `half-strength`, a cloud `partner`…) and inputs from `local/` (git-ignored: photos, clips, voices) or the small synthetic `fixtures/` for demo runs. `soul.json`, `soul-cinema.json`, `soul-hex.json`, `dop.json` and `dop-mix.json` are generated by `gen-cases.mjs` from `higgsfield-image-studios.json` (look ids) and `fuobe-originals-recipes-5.json` (recipes, LoRAs, Soul Cinema's recipe, the motion map); `eval:validate` fails when they're out of date. Since round 4 part 3 every request names its `engine` (an Original runs on both), the `original` variant runs the shipped Originals (Graffiti on `fuobe-soul-hd`), a variant can add fixed `words` after the prompt and its own `submit` route (`{{request}}` in a route body is the job's own request: Soul HEX's lock goes through `POST /api/palettes/lock`), and a recipe's Hugging Face LoRA is fetched at the commit the research pinned (`pinnedLora` in `lib/recipes.mjs`). Round 4 part 4 extends `cinema.json` (Fuobe Cinema on both engines, equal to `planCinema`'s plans), `genjutsu.json` (7 cases with the Originals and Character swap, and a synthetic 6 s `fixtures/walk-6s.mp4` so demo runs meet the 5 s minimum) and `soul-id.json` (5 cases: character, cinema, hd, flux and look, each trained, half-strength and with the photos as references); a training can name its `kind` (character or style).- - **Runner** (`lib/run.mjs`, `plan.mjs`, `recipes.mjs`): every job goes through Fuobe's REST API (`/api/generations` with the recipe's `loras`, `/api/uploads`, `/api/elements`, and studio routes such as `/api/genjutsu` and `/api/mixed-media`) with the feature `eval`, a helper the Library hides. The harness holds no prices: each job is priced by the server's preview or estimate, a cloud job reserves its price under the spend cap (`--max-usd`, default $5), and an unpriced one is skipped unless `--allow-unpriced`. Round 4 part 5 drops its Higgsfield skip (`HIGGSFIELD_SKIP`, `viaHiggsfield`, and the one for Higgsfield training targets) with the provider. Since round 4 part 4 a character training sends `consent: true` only when the case says the person agreed, a training the server would run as a demo (or can't start) is skipped or stopped, so "trained" results always come from a real LoRA, and an element takes up to 80 photos. On the open engine it also reads ComfyUI, read-only (`/system_stats`, `/history`, `/object_info/LoraLoader`). Each run is a folder under the git-ignored `scripts/eval/results/` (`run.json`, `jobs.jsonl`, the outputs, `metrics.json`, `summary.json`, `report.html`).+ - **Cases** (`cases/*.json`, checked against `case.schema.json`, which `lib/schema.mjs` writes): one suite per Original (`selftest`, `soul`, `soul-id`, `dop`, `genjutsu`, `mixed-media`, `shorts`, `speak`, `cinema`, and since round 4 part 3 `soul-cinema`, `soul-hex` and `dop-mix`) with model targets per engine (`demo`, `open`, `cloud`), variants (`recipe`, `prompt-only`, `half-strength`, a cloud `partner`…) and inputs from `local/` (git-ignored: photos, clips, voices) or the small synthetic `fixtures/` for demo runs. `soul.json`, `soul-cinema.json`, `soul-hex.json`, `dop.json` and `dop-mix.json` are generated by `gen-cases.mjs` from `higgsfield-image-studios.json` (look ids) and `fuobe-originals-recipes-5.json` (recipes, LoRAs, Soul Cinema's recipe, the motion map); `eval:validate` fails when they're out of date. Since round 4 part 3 every request names its `engine` (an Original runs on both), the `original` variant runs the shipped Originals (Graffiti on `fuobe-soul-hd`), a variant can add fixed `words` after the prompt and its own `submit` route (`{{request}}` in a route body is the job's own request: Soul HEX's lock goes through `POST /api/palettes/lock`), and a recipe's Hugging Face LoRA is fetched at the commit the research pinned (`pinnedLora` in `lib/recipes.mjs`). Round 4 part 4 extends `cinema.json` (Fuobe Cinema on both engines, equal to `planCinema`'s plans), `genjutsu.json` (7 cases with the Originals and Character swap, and a synthetic 6 s `fixtures/walk-6s.mp4` so demo runs meet the 5 s minimum) and `soul-id.json` (5 cases: character, cinema, hd, flux and look, each trained, half-strength and with the photos as references); a training can name its `kind` (character or style). Round 5 part 1 adds the suites `marketing` (7 cases; Standalone shots flagged `productShot` only on the open and demo engines), `evolution`, `popcorn` and `angles` (needs a local `angles/subject.png`), and `mixed-media` (7 looks; variants `studio`, `smooth`, `words`, `partner-frames`, `fast`) and `shorts` (a `shorts/session` case through `/api/shorts/sessions`, with a Gemini Omni Flash partner variant) now compare the Originals with partners. `eval validate` (`lib/schema.mjs`) refuses, in every suite, a route body that names a `{{inputs.*}}` token missing from the case's inputs or demo inputs.+ - **Runner** (`lib/run.mjs`, `plan.mjs`, `recipes.mjs`): every job goes through Fuobe's REST API (`/api/generations` with the recipe's `loras`, `/api/uploads`, `/api/elements`, and studio routes such as `/api/genjutsu` and `/api/mixed-media`) with the feature `eval`, a helper the Library hides. The harness holds no prices: each job is priced by the server's preview or estimate, a cloud job reserves its price under the spend cap (`--max-usd`, default $5), and an unpriced one is skipped unless `--allow-unpriced`. Round 4 part 5 drops its Higgsfield skip (`HIGGSFIELD_SKIP`, `viaHiggsfield`, and the one for Higgsfield training targets) with the provider. Since round 4 part 4 a character training sends `consent: true` only when the case says the person agreed, a training the server would run as a demo (or can't start) is skipped or stopped, so "trained" results always come from a real LoRA, and an element takes up to 80 photos. On the open engine it also reads ComfyUI, read-only (`/system_stats`, `/history`, `/object_info/LoraLoader`). Since round 5 part 1 `routeResult` (exported) also reads a Shorts session's answer (the latest stitch's final clip and each take's look). Each run is a folder under the git-ignored `scripts/eval/results/` (`run.json`, `jobs.jsonl`, the outputs, `metrics.json`, `summary.json`, `report.html`).- **Metrics** (`metrics/fuobe_metrics`, Python) run in their own venv, which `pnpm eval:setup` makes with uv from pinned requirements (CPU torch by default); `lib/metrics.mjs` starts `python -m fuobe_metrics.score` from that venv, else through `uv run`. CLIP score, the LAION aesthetic predictor, style against reference images (CLIP or DINOv2), identity (AuraFace with the YuNet face detector, installed with `--identity`; since round 4 part 4 the non-commercial buffalo_l runs when asked for, unless `--commercial-only`), temporal drift and warp error, a lip-sync proxy, shot continuity and, since round 4 part 3, palette fit (`paletteFit`, `paletteCover`: how close the pixels are to the palette the request sent, in Lab); every weight is pinned to a Hugging Face revision and its licence is stored with the scores. Without Python, a run keeps its timing and cost.-- **Report, review, compare, promote** (`report.mjs`, `review.mjs`, `compare.mjs`, `covers.mjs`): a contact sheet; a blind A/B page served on 127.0.0.1:4173 (ratings saved next to the run; the key to which side is which is never served); `compare` exits 1 when a guarded metric regresses; `promote` applies the promote rule (at least 3 results, metrics against every alternative, and at least 6 blind ratings of the case's pairs, or every pair when the review offered fewer, with 55 % of the non-tie ones for the candidate; since round 4 part 4 a licence is reported, and holds the recipe only with `--licence-hold`) and with `--record` writes its verdicts into `fuobe-originals-recipes-5.json` (`--apply-strengths` also lowers over-cooked LoRA strengths) as a diff to review; `covers` turns promoted renders into preset covers listed in `src/lib/preset-previews.generated.ts` (`--commercial-only` leaves out a render whose LoRAs can't be sold), which `previewFor` shows instead of the procedural preview.+- **Report, review, compare, promote** (`report.mjs`, `review.mjs`, `compare.mjs`, `covers.mjs`): a contact sheet; a blind A/B page served on 127.0.0.1:4173 (ratings saved next to the run; the key to which side is which is never served); `compare` exits 1 when a guarded metric regresses; `promote` applies the promote rule (at least 3 results, metrics against every alternative, and at least 6 blind ratings of the case's pairs, or every pair when the review offered fewer, with 55 % of the non-tie ones for the candidate; since round 4 part 4 a licence is reported, and holds the recipe only with `--licence-hold`) and with `--record` writes its verdicts into `fuobe-originals-recipes-5.json` (`--apply-strengths` also lowers over-cooked LoRA strengths) as a diff to review; `covers` turns promoted renders into preset covers listed in `src/lib/preset-previews.generated.ts` (`--commercial-only` leaves out a render whose LoRAs can't be sold), which `previewFor` shows instead of the procedural preview; with `--from-masters <dir>` it takes rendered masters instead, one folder per preset id (`coversFromMasters`: a `clip.mp4` becomes a clip cover, else `start.png` a still one), merged so that only the ids it writes are replaced, and re-runnable (a cover newer than its master is kept).- - **Server seams** it relies on: `loras` on `POST /api/generations`, the preview's `route`, `prompt` and `loras {applied, dropped}` (`routeLoras`), and `providers` on the Genjutsu and Mixed Media estimates.+ - **Server seams** it relies on: `loras` on `POST /api/generations`, the preview's `route`, `prompt` and `loras {applied, dropped}` (`routeLoras`), and `providers` on the Genjutsu and Mixed Media estimates; since round 5 part 1 the `<route>/estimate` paths of the new suites (`/api/influencer/estimate`, `/api/evolution/estimate`, `/api/storyboards/estimate`).- Checked: the self-test ran on a CPU ComfyUI and scored 4 CPU-only jobs, demo runs pass, and the report and review pages are browser-tested (`tests/e2e/eval-review.mjs`). The Originals are in the app now, but none has been measured on a GPU or the cloud, no recipe has been promoted, and `preset-previews.generated.ts` holds only the covers made from rendered masters (see UI → Galleries), none from a measured run.-Checked: the self-test ran on a CPU ComfyUI and scored 4 CPU-only jobs, demo runs pass, and the report and review pages are browser-tested (`tests/e2e/eval-review.mjs`). The Originals are in the app now, but none has been measured on a GPU or the cloud, no recipe has been promoted, and `preset-previews.generated.ts` is still empty. Round 5 part 1: `eval validate` passes every suite, and a test runs two `evolution` cases on the demo provider; `popcorn`, `angles`, `marketing` and the new `mixed-media` and `shorts` cases have not run for real, so Fuobe Angles stays a separate beta app and Fuobe Speak isn't Lipsync's default until their suites promote them. Real runs need new local inputs (`scripts/eval/README.md`).++Checked: the self-test ran on a CPU ComfyUI and scored 4 CPU-only jobs, demo runs pass, and the report and review pages are browser-tested (`tests/e2e/eval-review.mjs`). The Originals are in the app now, but none has been measured on a GPU or the cloud, no recipe has been promoted, and `preset-previews.generated.ts` holds only empty. Round 5 part 1: `eval validate` passes every suite, and a test runs two `evolution` cases on the demo provider; `popcorn`, `angles`, `marketing` and the new `mixed-media` and `shorts` cases have not run for real, so Fuobe Angles stays a separate beta app and Fuobe Speak isn't Lipsync's default until their suites promote them. Real runs need new local inputs (`scripts/eval/README.md`).## Storage (`src/server/db.ts`, `storage.ts`, `settings.ts`)@@@ -454,20 -480,22 +495,22 @@@ Round 4 part 4 adds migrations 19 and 2Round 4 part 5 adds migrations 21 and 22 (above). 21 only adds a table, so an older build can still open the database; 22 changes stored data and can't be undone (the saved Higgsfield key is gone for good). Jobs and trainings still on Higgsfield aren't migrated: they fail on their next poll (see Retired models). `ASSET_REFS` gains `swap_projects.data_json` (the character picture, each clip and its copies, masks, anchors, takes and their masters).- 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`. Round 4 part 2 adds `civitaiKey` (key `civitai.key`, `CIVITAI_API_KEY`, secret: it downloads civitai LoRAs and is never sent to fal or Replicate), and `comfyLorasDir` (`COMFYUI_LORAS_DIR`) is now also where LoRAs are downloaded before a ComfyUI run, so it must be ComfyUI's `models/loras` folder as this machine sees it, writable by Fuobe. Round 4 part 3 adds no setting and no environment variable, but those two matter more: Fuobe DoP's open runs download their preset's LoRAs before the job (the presets' open routes use 84 of the map's 99 files, 98 before round 4 part 4; 36 of the map's files are on civitai) and stop with a message without the folder or, for a civitai file, the key; only a Fuobe Soul look leaves an unreachable civitai LoRA out (see LoRAs). Round 4 part 4 adds no typed setting and no app environment variable: the Models & licences switches are one settings row (`models.access`, read and written by `src/server/model-access.ts`, edited at `/settings/models`); `FUOBE_TRUST_PROXY` now also keys the share-link throttle and `FUOBE_ALLOW_PRIVATE_URLS` also lets a connector URL use plain http beyond localhost; the install script gains `H3_PACK` (default 1), `H3_TOOL_REF`, `H3_RELAY` (default 0) and `H3_RELAY_REF`, and `NC_PACKS` now defaults to 1. The browser keeps the share links it made in localStorage (`fuobe.shareLinks`), since the server can't show a token again. Round 4 part 5 removes `higgsfieldKey` (`HIGGSFIELD_API_KEY`; `HF_KEY` and `HF_API_KEY` + `HF_API_SECRET` aren't read either) and the `higgsfield` value of `cloudProvider` (`FUOBE_CLOUD_PROVIDER` is `auto`, `fal` or `replicate`; a leftover value counts as `auto`, as any value outside the options does, and Settings refuses to save it), and adds no setting or environment variable: `REACH` and `COMFY_WAIT` are constants in the code. The local LLM servers (see Local LLM servers) add `llmProvider` (`FUOBE_LLM_PROVIDER`: auto, ollama, lmstudio, unsloth or custom), `lmstudioUrl`, `lmstudioModel` and `lmstudioToken` (`LMSTUDIO_URL`, `LMSTUDIO_MODEL`, `LMSTUDIO_API_TOKEN` or `LM_API_TOKEN`), `unslothUrl`, `unslothModel` and `unslothKey` (`UNSLOTH_URL`, `UNSLOTH_MODEL`, `UNSLOTH_API_KEY` or `UNSLOTH_STUDIO_AUTH_TOKEN`), `llmUrl`, `llmModel` and `llmKey` (`FUOBE_LLM_URL`, `FUOBE_LLM_MODEL`, `FUOBE_LLM_API_KEY`) and `llmContext` (`FUOBE_LLM_CONTEXT`, default 16384; `parseContext` also takes `16k`, and 0 leaves it to the server). A setting may name several environment variables, and the first one set wins (`envValue`). `enhanceProvider` (Settings → AI helper) takes `local`, and the old `ollama` still means it. `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, since round 4 .ply / .spz splats, .mkv, .exr and .zip, since round 4 part 3 .ksplat, and since round 4 part 5 .avi; a finished Fuobe Soul picture and the Canvas concatenator's silent WAVs are saved there too) 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. `<data dir>/loras` holds LoRA files downloaded only to mirror them to fal or Replicate, and since round 4 part 4 Fuobe's own copy of every trained Soul ID LoRA (`TRAINED_DIR`), so expect it to grow. `FUOBE_DATA_DIR` moves everything.+ Round 5 part 1 adds no migration (still 23, numbered 0–22, and 43 tables). New state uses existing places: a skill's `recipe.json` is one of its files in `skills.files_json`, which moves from `ASSET_FREE` to `ASSET_REFS`; `generations.request_json` can carry the server-set `skill`, `demo`, `asked`, `postMade`, `frame.look` and `frame.crop`; a Shorts session keeps `source.fps` and a take's `still` step in its JSON; a face mosaic's masks are files of its generation (`meta.masks`). Draft skill checks live in memory only.+-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`. Round 4 part 2 adds `civitaiKey` (key `civitai.key`, `CIVITAI_API_KEY`, secret: it downloads civitai LoRAs and is never sent to fal or Replicate), and `comfyLorasDir` (`COMFYUI_LORAS_DIR`) is now also where LoRAs are downloaded before a ComfyUI run, so it must be ComfyUI's `models/loras` folder as this machine sees it, writable by Fuobe. Round 4 part 3 adds no setting and no environment variable, but those two matter more: Fuobe DoP's open runs download their preset's LoRAs before the job (the presets' open routes use 84 of the map's 99 files, 98 before round 4 part 4; 36 of the map's files are on civitai) and stop with a message without the folder or, for a civitai file, the key; only a Fuobe Soul look leaves an unreachable civitai LoRA out (see LoRAs). Round 4 part 4 adds no typed setting and no app environment variable: the Models & licences switches are one settings row (`models.access`, read and written by `src/server/model-access.ts`, edited at `/settings/models`); `FUOBE_TRUST_PROXY` now also keys the share-link throttle and `FUOBE_ALLOW_PRIVATE_URLS` also lets a connector URL use plain http beyond localhost; the install script gains `H3_PACK` (default 1), `H3_TOOL_REF`, `H3_RELAY` (default 0) and `H3_RELAY_REF`, and `NC_PACKS` now defaults to 1. The browser keeps the share links it made in localStorage (`fuobe.shareLinks`), since the server can't show a token again. Round 4 part 5 removes `higgsfieldKey` (`HIGGSFIELD_API_KEY`; `HF_KEY` and `HF_API_KEY` + `HF_API_SECRET` aren't read either) and the `higgsfield` value of `cloudProvider` (`FUOBE_CLOUD_PROVIDER` is `auto`, `fal` or `replicate`; a leftover value counts as `auto`, as any value outside the options does, and Settings refuses to save it), and adds no setting or environment variable: `REACH` and `COMFY_WAIT` are constants in the code. Round 5 part 1 adds none either: Settings → Training · AI-Toolkit puts the existing `aiToolkitUrl`, `aiToolkitToken` and `aiToolkitDatasetDir` in the UI (see Training), the photos folder must now be a full path, and on the GPU the LoRA folder is how Fuobe fetches the round's new LoRAs before a run, as it does the others (three of Mixed Media's look LoRAs also need the civitai key). `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, since round 4 .ply / .spz splats, .mkv, .exr and .zip, since round 4 part 3 .ksplat, and since round 4 part 5 .avi; a finished Fuobe Soul picture and the Canvas concatenator's silent WAVs are saved there too) 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. `<data dir>/loras` holds LoRA files downloaded only to mirror them to fal or Replicate, and since round 4 part 4 Fuobe's own copy of every trained Soul ID LoRA (`TRAINED_DIR`), so expect it to grow. `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`. Round 4 part 2 adds `civitaiKey` (key `civitai.key`, `CIVITAI_API_KEY`, secret: it downloads civitai LoRAs and is never sent to fal or Replicate), and `comfyLorasDir` (`COMFYUI_LORAS_DIR`) is now also where LoRAs are downloaded before a ComfyUI run, so it must be ComfyUI's `models/loras` folder as this machine sees it, writable by Fuobe. Round 4 part 3 adds no setting and no environment variable, but those two matter more: Fuobe DoP's open runs download their preset's LoRAs before the job (the presets' open routes use 84 of the map's 99 files, 98 before round 4 part 4; 36 of the map's files are on civitai) and stop with a message without the folder or, for a civitai file, the key; only a Fuobe Soul look leaves an unreachable civitai LoRA out (see LoRAs). Round 4 part 4 adds no typed setting and no app environment variable: the Models & licences switches are one settings row (`models.access`, read and written by `src/server/model-access.ts`, edited at `/settings/models`); `FUOBE_TRUST_PROXY` now also keys the share-link throttle and `FUOBE_ALLOW_PRIVATE_URLS` also lets a connector URL use plain http beyond localhost; the install script gains `H3_PACK` (default 1), `H3_TOOL_REF`, `H3_RELAY` (default 0) and `H3_RELAY_REF`, and `NC_PACKS` now defaults to 1. The browser keeps the share links it made in localStorage (`fuobe.shareLinks`), since the server can't show a token again. Round 4 part 5 removes `higgsfieldKey` (`HIGGSFIELD_API_KEY`; `HF_KEY` and `HF_API_KEY` + `HF_API_SECRET` aren't read either) and the `higgsfield` value of `cloudProvider` (`FUOBE_CLOUD_PROVIDER` is `auto`, `fal` or `replicate`; a leftover value counts as `auto`, as any value outside the options does, and Settings refuses to save it), and adds no setting or environment variable: `REACH` and `COMFY_WAIT` are constants in the code. The local LLM servers (see Local LLM servers) add `llmProvider` (`FUOBE_LLM_PROVIDER`: auto, ollama, lmstudio, unsloth or custom), `lmstudioUrl`, `lmstudioModel` and `lmstudioToken` (`LMSTUDIO_URL`, `LMSTUDIO_MODEL`, `LMSTUDIO_API_TOKEN` or `LM_API_TOKEN`), `unslothUrl`, `unslothModel` and `unslothKey` (`UNSLOTH_URL`, `UNSLOTH_MODEL`, `UNSLOTH_API_KEY` or `UNSLOTH_STUDIO_AUTH_TOKEN`), `llmUrl`, `llmModel` and `llmKey` (`FUOBE_LLM_URL`, `FUOBE_LLM_MODEL`, `FUOBE_LLM_API_KEY`) and `llmContext` (`FUOBE_LLM_CONTEXT`, default 16384; `parseContext` also takes `16k`, and 0 leaves it to the server). A setting may name several environment variables, and the first one set wins (`envValue`). `enhanceProvider` (Settings → AI helper) takes `local`, and the old `ollama` still means it. Round 5 part 1 adds none either: Settings → Training · AI-Toolkit puts the existing `aiToolkitUrl`, `aiToolkitToken` and `aiToolkitDatasetDir` in the UI (see Training), the photos folder must now be a full path, and on the GPU the LoRA folder is how Fuobe fetches the round's new LoRAs before a run, as it does the others (three of Mixed Media's look LoRAs also need the civitai key). `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, since round 4 .ply / .spz splats, .mkv, .exr and .zip, since round 4 part 3 .ksplat, and since round 4 part 5 .avi; a finished Fuobe Soul picture and the Canvas concatenator's silent WAVs are saved there too) 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. `<data dir>/loras` holds LoRA files downloaded only to mirror them to fal or Replicate, and since round 4 part 4 Fuobe's own copy of every trained Soul ID LoRA (`TRAINED_DIR`), so expect it to grow. `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`, 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).- - **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 since round 4 part 4 by Settings → Models & licences through the access summary) 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. Since round 4 part 3 every Image to 3D model and Meshy Rigging open `/image-to-3d`, and a Fuobe Original is listed once with both engines. Since round 4 part 4 it also lists "Models & licences" (`/settings/models`) and "Assist connectors". 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`); since round 4 part 2 it has a LoRAs section (`#loras`, `lora-settings.tsx`: the LoRA folder, the civitai key with Save & test, and the library with licences and Download buttons), which the command palette also lists. `/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, and since round 4 part 4 links to Settings → Models & licences (`/settings/models`, `model-access-view.tsx`: the switches; see Models & licences). Round 4 part 4 also adds a Models & licences section and Assist · connectors (`#assist-connectors`, `components/assist/connectors-settings.tsx`) to `settings-form.tsx`. Round 4 part 5 drops the Higgsfield key field and chip and the "Higgsfield first" Preferred provider (`PROVIDER_SETTINGS`, `CLOUD_PROVIDERS` and `connectionSummary` in `src/lib/connections.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. Since round 5 part 1 `StudioChrome` (`app-sidebar.tsx`) wraps the shell in `SkillBuilderProvider` (see Skills that run by themselves).+ - **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 since round 4 part 4 by Settings → Models & licences through the access summary) 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. Since round 4 part 3 every Image to 3D model and Meshy Rigging open `/image-to-3d`, and a Fuobe Original is listed once with both engines. Since round 4 part 4 it also lists "Models & licences" (`/settings/models`) and "Assist connectors". Since round 5 part 1 a "Run a skill" group lists "Run <skill>…" for every enabled recipe skill (`skillEntries`), and Settings lists "Training (AI-Toolkit)". 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`); since round 4 part 2 it has a LoRAs section (`#loras`, `lora-settings.tsx`: the LoRA folder, the civitai key with Save & test, and the library with licences and Download buttons), which the command palette also lists. `/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, and since round 4 part 4 links to Settings → Models & licences (`/settings/models`, `model-access-view.tsx`: the switches; see Models & licences). Round 4 part 4 also adds a Models & licences section and Assist · connectors (`#assist-connectors`, `components/assist/connectors-settings.tsx`) to `settings-form.tsx`. Round 4 part 5 drops the Higgsfield key field and chip and the "Higgsfield first" Preferred provider (`PROVIDER_SETTINGS`, `CLOUD_PROVIDERS` and `connectionSummary` in `src/lib/connections.ts`). Round 5 part 1 adds Training · AI-Toolkit (`#training`: three `ConnectField`s tested as provider `ai-toolkit`), retitles the LoRAs section "LoRAs · looks, motions, effects and adapters" with an Adapters tab, and (fixes-5) makes every "Settings → …" message and `/settings#…` link name a section that exists, which `tests/settings-links.test.ts` enforces.- **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; since round 4 part 3 it also survives the composer's swap of an untouched draft's default model when the engine is read after hydration (`followEngineDefault`: before, a link on the open engine landed on the studio's default model). Since round 4 part 5 a `?model=` naming a retired model opens on its replacement (`currentModelId`), and Reuse of a run on one migrates its request in the browser (`migrateRequest` without Director words) and toasts what changed; the composer's provider style chip (`ProviderPresetChip`, Higgsfield's live styles) is gone. 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`, and since round 4 part 3 `look-chip.tsx` (lazy: Fuobe Soul's looks, a popover on desktop and a sheet on phones). Since round 4 part 3 the composer sends `engine` for a Fuobe Original, drops a look when the model changes to one without looks, moves to a motion's or effect's Original when one is picked, and follows a move across an engine switch (the pure helpers are in `src/lib/composer.ts`: see Fuobe Originals). 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.+ - **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`; round 5 part 1 adds `/video-tools/evolution`.+ - **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`, and since round 4 part 3 `look-chip.tsx` (lazy: Fuobe Soul's looks, a popover on desktop and a sheet on phones). Since round 4 part 3 the composer sends `engine` for a Fuobe Original, drops a look when the model changes to one without looks, moves to a motion's or effect's Original when one is picked, and follows a move across an engine switch (the pure helpers are in `src/lib/composer.ts`: see Fuobe Originals). 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. Since round 5 part 1 Edit video does too (`clipFacts`, fixes-5): a clip edit that keeps the clip's length is priced on its seconds, and `clipBlocker` blocks Generate with the reason when the clip is outside the model's window (`clip-windows.ts`; the server refuses the same for an API call that sends no length, after the clip is uploaded to the provider's storage, nothing billed). Lipsync reads the voice's length (`StudioConfig.voiceFacts`) to price talking avatars, and the Image studio prices a look's step after the picture (`postStepCost`, with the face mosaic's models in `extraModels`). The Look chip has a "No look" state (`none`, Storyboard).- **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`). Since round 4 part 2, `useCreateGeneration` (`src/lib/api.ts`) shows a run's `notes` (LoRAs left out, a length the API rounds) as a warning toast. Since round 4 part 3 every studio feed finishes Fuobe Soul pictures (`useSoulFinish`), the viewer's Details show a Look row and a Finish row, and a clip with `meta.grade` offers "Apply the … grade" first.-- **Galleries** get slim cards (`src/lib/preset-cards.ts`) with procedural previews (`preset-preview.tsx`, `move-glyphs.ts`, `preview-playback.ts`); `previewFor` shows a real cover instead when `src/lib/preset-previews.generated.ts` lists one (written by the evaluation harness's `eval:covers`; empty so far).+- **Galleries** get slim cards (`src/lib/preset-cards.ts`) with procedural previews (`preset-preview.tsx`, `move-glyphs.ts`); `previewFor` (`src/lib/preset-card-data.ts`) shows a real cover instead when `src/lib/preset-previews.generated.ts` lists one: a still cover is the card's picture as rendered (no tint, bleed, mirroring or move glyph), a clip cover is a muted `<video preload="none">` over its first-frame poster. Every entry records the run, engine, model and variant that made it. `preset-card-data.ts` is the only module that reads the manifest, and only the server gallery pages and the preset header (loaded on its own with `next/dynamic`) import it, so the manifest never ships in the shared client chunks (`tests/preset-covers.test.ts` checks the importers, and checks the real manifest against `public/previews`). Covers are served with a day's cache and a week of background revalidation, outside the sign-in proxy like `samples/`. The file is written by the evaluation harness's `eval:covers`, from a measured run's promoted renders or, with `--from-masters <dir>`, from rendered masters kept outside the repo (`coversFromMasters()` in `scripts/eval/lib/covers.mjs`; it replaces only the ids it writes, and skips an id whose cover another run made elsewhere unless `--replace`). Stills are 4:2:0 JPEGs of at most 768 px; a clip cover is at most 4 s and 512 px, and its last 6 frames are crossfaded into its first ones so the card's loop has no jump (a clip that already ends where it starts is only cut). The first covers come that way: 480 of the 487 app, motion and effect cards (474 stills from Ideogram 4 and 6 clips from MiniMax H3, all rendered in ComfyUI; run `comfyui-previews-2026-10`, in `public/previews/presets/`), while the other 7 keep their procedural preview. `preview-playback.ts` plays one card at a time: on hover after a short rest or on keyboard focus, on phones the centred card once scrolling stops, and not with Save-Data or on 2G (the preset header's autoplay too).- **Sidebar** (round 4 part 2): Studios gains AI Influencer (`/influencer`) and Content Factory (`/content-factory`) in `nav-items.ts`. Round 4 part 5 adds Character Swap Studio (`/character-swap`, short label "Character swap") after Genjutsu.- **Models page** (round 4 part 3): `ModelRow.engines` (`src/lib/model-rows.ts`) puts an Original under both the Cloud and Open source filters, with both engine icons, "Open source + cloud" (`enginesLabel`) and a "Free · $… / megapixel" price. Since round 4 part 4 models switched off leave the list (`models-table.tsx`), which says how many and links to Settings → Models & licences.- **Sharing** (round 4 part 4): the studio layout (`src/app/(studio)/layout.tsx`) wraps every page in `ShareProvider`, so any result menu can open the Share dialog; the Library gains the Shared tab and Publish in its selection bar, whose phone version folds Like, Pin and Review into a ⋯ menu (see Share links). The public share page lives outside the `(studio)` group, without the studio's frame.@@@ -475,4 -503,13 +518,13 @@@## Generators (`scripts/`)- `pnpm gen:catalog` runs `gen-cloud-models.py`, `gen-studio-packs.py` (since round 4 part 5, in place of `gen-higgsfield-models.py` and `gen-higgsfield-presets.py`), `gen-oss-loras.py`, since round 4 part 2 `gen-lora-library.py` and `gen-influencer-options.py`, since round 4 part 3 `gen-soul-originals.py` and since round 4 part 4 `gen-trainers.py` (standard-library Python; `trainers.generated.ts` from the recipes JSON's trainers), then the icon map. Each reads a research JSON in `docs/research/` and writes a `*.generated.ts` file; the catalog integrity tests catch broken references, and `gen-lora-library.py` itself fails on a missing pin. Since round 4 part 3 `gen-oss-loras.py` (the map v2) and `gen-soul-originals.py` also exit 1 when the research breaks their recipe rules (since round 4 part 4 a licence-rule break is printed as a note instead, in `gen-lora-library.py` too, while data checks such as pins, hashes and names still fail), `gen-cloud-models.py` writes the Originals' cloud halves (`ORIGINAL_CLOUD`; 12 since round 4 part 4) and warns on a rule break (since round 4 part 4 no longer about an endpoint whose LoRAs are required), and rerunning them reproduces the committed files exactly. `fetch-lora-pins.py` and `fetch-hosted-schemas.py` refresh the research JSON from the network and aren't part of `gen:catalog` (`fetch-hosted-schemas.py --only <endpoint>` fetches one endpoint's schema; since round 4 part 4 `--trainers` reads the fal trainers' fields and outputs and `--base-only` the hosted base endpoints'; since round 4 part 5 `--partner` writes the partner routes in `partnerEndpoints`, Happy Horse 1.1's three fal routes); `scripts/eval/gen-cases.mjs` writes the evaluation harness's generated suites. The Higgsfield research files stay as research and history: `gen-studio-packs.py`, `gen-soul-originals.py`, `gen-influencer-options.py` and the evaluation harness's case generator still read them (and `gen-oss-loras.py` matches LoRAs by the `higgsfieldEquivalent` column of `comfyui-oss.json`). `gen-preview-scenes.mjs` draws the gallery preview stills (`public/samples/previews/`), `gen-demo-3d.mjs` the demo GLB and turntable (needs ffmpeg). `pnpm eval:covers --from-masters <dir>` turns rendered masters into preset covers (see UI → Galleries). `scripts/model3d/finish-glb.mjs` and `render-turntable.mjs` aren't generators: they are the server's GLB finish and CPU turntable, which it runs as child processes (see Studios → Image to 3D), and they also run by hand.-`pnpm gen:catalog` runs `gen-cloud-models.py`, `gen-studio-packs.py` (since round 4 part 5, in place of `gen-higgsfield-models.py` and `gen-higgsfield-presets.py`), `gen-oss-loras.py`, since round 4 part 2 `gen-lora-library.py` and `gen-influencer-options.py`, since round 4 part 3 `gen-soul-originals.py` and since round 4 part 4 `gen-trainers.py` (standard-library Python; `trainers.generated.ts` from the recipes JSON's trainers), then the icon map. Each reads a research JSON in `docs/research/` and writes a `*.generated.ts` file; the catalog integrity tests catch broken references, and `gen-lora-library.py` itself fails on a missing pin. Since round 4 part 3 `gen-oss-loras.py` (the map v2) and `gen-soul-originals.py` also exit 1 when the research breaks their recipe rules (since round 4 part 4 a licence-rule break is printed as a note instead, in `gen-lora-library.py` too, while data checks such as pins, hashes and names still fail), `gen-cloud-models.py` writes the Originals' cloud halves (`ORIGINAL_CLOUD`; 12 since round 4 part 4, 20 since round 5 part 1, with `keep_shape`, `licence`, `frame_fps` and `frame_multiple` on its `model()`) and warns on a rule break (since round 4 part 4 no longer about an endpoint whose LoRAs are required), and rerunning them reproduces the committed files exactly. Since round 5 part 1 `gen-lora-library.py` also writes the `adapter` group (the research's `adapterLoras`) and `MIXED_MEDIA_LOOK_LORAS` (checked: a Z-Image base, a strength from 0 to 2), and `gen-soul-originals.py` reads and checks a look's step after it (`presets[].post`: PixeletedFace's face mosaic). `fetch-lora-pins.py` and `fetch-hosted-schemas.py` refresh the research JSON from the network and aren't part of `gen:catalog` (`fetch-hosted-schemas.py --only <endpoint>` fetches one endpoint's schema; since round 4 part 4 `--trainers` reads the fal trainers' fields and outputs and `--base-only` the hosted base endpoints'; since round 4 part 5 `--partner` writes the partner routes in `partnerEndpoints`, Happy Horse 1.1's three fal routes); `scripts/eval/gen-cases.mjs` writes the evaluation harness's generated suites. The Higgsfield research files stay as research and history: `gen-studio-packs.py`, `gen-soul-originals.py`, `gen-influencer-options.py` and the evaluation harness's case generator still read them (and `gen-oss-loras.py` matches LoRAs by the `higgsfieldEquivalent` column of `comfyui-oss.json`). `gen-preview-scenes.mjs` draws the gallery preview stills (`public/samples/previews/`), `gen-demo-3d.mjs` the demo GLB and turntable (needs ffmpeg).++`pnpm gen:catalog` runs `gen-cloud-models.py`, `gen-studio-packs.py` (since round 4 part 5, in place of `gen-higgsfield-models.py` and `gen-higgsfield-presets.py`), `gen-oss-loras.py`, since round 4 part 2 `gen-lora-library.py` and `gen-influencer-options.py`, since round 4 part 3 `gen-soul-originals.py` and since round 4 part 4 `gen-trainers.py` (standard-library Python; `trainers.generated.ts` from the recipes JSON's trainers), then the icon map. Each reads a research JSON in `docs/research/` and writes a `*.generated.ts` file; the catalog integrity tests catch broken references, and `gen-lora-library.py` itself fails on a missing pin. Since round 4 part 3 `gen-oss-loras.py` (the map v2) and `gen-soul-originals.py` also exit 1 when the research breaks their recipe rules (since round 4 part 4 a licence-rule break is printed as a note instead, in `gen-lora-library.py` too, while data checks such as pins, hashes and names still fail), `gen-cloud-models.py` writes the Originals' cloud halves (`ORIGINAL_CLOUD`; 12 since round 4 part 4, 20 since round 5 part 1, with `keep_shape`, `licence`, `frame_fps` and `frame_multiple` on its `model()`) and warns on a rule break (since round 4 part 4 no longer about an endpoint whose LoRAs are required), and rerunning them reproduces the committed files exactly. Since round 5 part 1 `gen-lora-library.py` also writes the `adapter` group (the research's `adapterLoras`) and `MIXED_MEDIA_LOOK_LORAS` (checked: a Z-Image base, a strength from 0 to 2), and `gen-soul-originals.py` reads and checks a look's step after it (`presets[].post`: PixeletedFace's face mosaic). `fetch-lora-pins.py` and `fetch-hosted-schemas.py` refresh the research JSON from the network and aren't part of `gen:catalog` (`fetch-hosted-schemas.py --only <endpoint>` fetches one endpoint's schema; since round 4 part 4 `--trainers` reads the fal trainers' fields and outputs and `--base-only` the hosted base endpoints'; since round 4 part 5 `--partner` writes the partner routes in `partnerEndpoints`, Happy Horse 1.1's three fal routes); `scripts/eval/gen-cases.mjs` writes the evaluation harness's generated suites. The Higgsfield research files stay as research and history: `gen-studio-packs.py`, `gen-soul-originals.py`, `gen-influencer-options.py` and the evaluation harness's case generator still read them (and `gen-oss-loras.py` matches LoRAs by the `higgsfieldEquivalent` column of `comfyui-oss.json`). `gen-preview-scenes.mjs` draws the gallery preview stills (`public/samples/previews/`), `gen-demo-3d.mjs` the demo GLB and turntable (needs ffmpeg). `pnpm eval:covers --from-masters <dir>` turns rendered masters into preset covers (see UI → Galleries). `scripts/model3d/finish-glb.mjs` and `render-turntable.mjs` aren't generators: they are the server's GLB finish and CPU turntable, which it runs as child processes (see Studios → Image to 3D), and they also run by hand.++ ## Plans in the research notes (`docs/research/`)++ Four notes came with round 5 part 1. They are plans, not features: nothing in them is built in this branch except Work2Skill W1 and W2 (see Skills that run by themselves).++ - **`new-models-7`**: Open-H3-Regenerate-2K (a rough 384p–768p video redrawn at 1080p–4K), WorldCast (a photo and a camera path made into a fly-around) and MOSS-Image Layout (a picture drawn from boxes you place; hosted on fal), as 11 packages. Nobody hosts Regenerate 2K or WorldCast, so under the hosted-only rule they are planned for the GPU only, and the note's hosted stand-in recipes don't apply.+ - **`dbs-separation-7`**: DBS soundtrack separation (dialogue, music and effects; two small Apache-2.0 models), plan D1–D10. Nobody hosts DBS: the note's cloud route on fal's SAM Audio is a stand-in the owner has ruled out, so it is planned for the GPU only.+ - **`work2skill-7`**: the Work2Skill verdict, the `recipe.json` format and plan W1–W7. W1 and W2 are built here; W3–W7 (skills run from Assist and MCP, schedules and the CLI, Canvas, suggestions, skills across studios) are plans.+ - **`accounts-8`** (with `accounts-8-screens.md`): accounts in three modes (Personal, In-house studio, Platform), sign-in on the better-auth library, teams, roles and spending limits in Fuobe's code, and a workspace for all 43 tables and every route (192 when the note was written), as 57 packages. Today Fuobe has no accounts (see Security).diff --cc docs/STATUS.mdindex ef5dc067,c3b66571..f60b29a0--- a/docs/STATUS.md+++ b/docs/STATUS.md@@@ -19,16 -19,19 +19,20 @@@ Checks for round 5, part 1 (PR #14). Th| check | result ||---|---|+| Local work merged after PR #13: local LLM servers, Pixal3D and the Image to 3D finish, covers from preview renders | 🟢 by tests, not live: `tests/local-llm.test.ts` (the wire formats, Assist history for strict chat templates, reading each server, and stand-in LM Studio, Unsloth Studio and llama-server servers, Automatic included), `model3d-finish`, `model3d-runner` and `model3d-webm` (the 3D graphs and routes, the GLB finish, the runner's finish and turntable steps, and the browser recorder's WebM muxer), `covers-from-masters` (the merge with other runs' covers, re-runs) and `preset-cards` (still and clip covers). No live local chat model and no Pixal3D run through Fuobe on a GPU yet || `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, 167 files, 2,714 tests) | pass. The local merge adds `local-llm` (29), `model3d-finish` (16), `model3d-runner` (4), `model3d-webm` (2), `covers-from-masters` (5) and `preset-covers` (6: the real covers manifest against `public/previews`, its importers and its cache header); `preview-media.test.ts` is gone with the old card media. On Windows, 41 tests and 66 temp-folder cleanups (EPERM) fail, all of them on `origin/main` too: POSIX paths, CRLF checkouts, `python3` and Ctrl+C. New in round 4, part 5: the Character Swap Studio (`swap-studio`, 48 tests: shots, segments and continuation, prompts, masks, takes, assembly and prices; `swap-studio-edit`, 17; `swap-studio-api`, 9: the demo provider end to end through the server on both engines, a continuation waiting for its take, jobs stopped when a clip is removed, a 404 after delete; `comfy-swap-studio`, 14: the two new graphs rewritten per job through the real provider on the library files, the LoRA download, the master's tail, mask splices and the memory refusal), AVI headers (`avi-probe`, 3), ComfyUI reachability (`comfy-reach`, 10: busy, refused, a silent port, shared checks, chain steps waiting, a cloud step not waiting, an old address's check not overwriting a new one; against a stand-in HTTP server, a silent socket, closed ports and a fetch that times out) and the O7 guard (`no-higgsfield`, 28: it scans `src`, `scripts`, `bin`, `skills`, `workflows`, `package.json` and the README outside its upgrade notes for the provider's id, key, env vars, identifiers and copy that offers it, and for retired model ids in code; it also checks the catalog and settings without it, REPLACED_BY and the moved operations, Cinema Studio's Director fields as prompt words, retired ids resolving in the API, retries, waiting steps, Canvas, Assist and the Library, the failed in-flight job and the migration on seeded rows). `higgsfield.test.ts` is gone. Round 4, part 4 added, and the suite still runs: Fuobe Cinema (fal payloads through the adapter with fetch stubbed: the plain endpoint, `camera_lora`, prompt expansion off, frames and sizes, the LoRA endpoint only with a LoRA, the backward-extend prequel and the edit body; prices per megapixel for each tier and shape; the Fun Camera pose and LoRA injection on the open graphs; the Soul Cast sheet's LoRA chain; the editor picked from the take; all 33 moves on both engines; a 30 s take plus an extend, Soul Cast, Soul Location and Reverse angle through the API in demo mode), Genjutsu and Character swap (prompts, canvas sizes, click mapping, windows, limits and licences; the real library graphs bound, Relay included, with expected values taken from the pack's sources; model and install pins; the first-frame step failing and Retry on the real chain runner; estimates with fal and Replicate keys and in demo mode; Describe against a fake Ollama server; H3 Person Removal), Soul ID (every trainer's request and the AI-Toolkit configs, a demo never replacing a real Soul ID, the background LoRA copy, a remote AI-Toolkit, a retired Soul ID training, every open model of a family taking the LoRA; all against a fake network), Models & licences (switches, fallbacks, chains refused before anything is queued, the 422 naming the switch, the settings API round trip, the studio menus), share links (hashed tokens, expiry, files limited to one share, 404 when revoked, expired or trashed, hidden prompts, the paths the proxy opens, the wrong-token guard) and the metadata cleaner, and Assist (time zones across clock changes, every rule and the cap; a fake-clock sweep with no double run, one catch-up after downtime, pause on project delete, Ask first and auto-run within the cap, Run now; connector URL rules, masking, the allow-list and the MCP request built through the real SDK against an SSE fake). Round 4, part 3 added, and the suite still runs: Fuobe Soul (the look generator and its licence, trigger and size rules, legacy ids, fal and Replicate payloads, the ComfyUI text-to-image and image-to-image graphs, prices per megapixel, picking the engine, `engine` on the REST route, the finish route, the Soul HEX lock, one test per review finding), Fuobe DoP (fal payloads through the adapter with fetch stubbed, when the Replicate fallback is picked and how it is priced, LoRA injection, sizing from the start frame and the end-frame node on the ComfyUI graphs, prices, the relight chain, the grade and its next step, the partner routes, Focus Change, the preset → LoRA map's licence, expert and alias rules, a Mix dry run in the harness), Image to 3D (38 tests: a plan per mode and engine, the blockers, the SAM 3D, Meshy multi-view, Tripo text, TripoSplat and rig payloads, the rig price, extra formats stored against a local HTTP server, the multi-view bindings with sides cut out, the open text-to-3D chain in demo mode) and Canvas (the new ports and node plans on both engines, a 30-clip concatenator folded into joins of at most 24, groups, tables and row re-runs, pages and the 409 at 20 pages, the silent track, the `video-fit-clip` binding). Round 4, part 2 added, and the suite still runs: the evaluation harness (its runner end to end against the real route handlers on the demo provider: spend cap, resume, promote and `--record`; the API seams; its Python metric tests through uv, skipped when uv isn't there), LoRAs (the generated library, fal and Replicate payloads checked against the researched schemas, downloads and hash checks with no network, LoRA nodes added to the real ComfyUI graphs), Content Factory (the link guard and private-address refusal, prices, one series per Generate, Next episode, the Claude message per engine mode, the Gemma 4 binding), the AI Influencer builder (pick and clash rules, Shuffle frequencies over many seeds, the prompt compiler, plans per engine, both retry paths, the two ComfyUI bindings), Layers (the OCR parser, Inpaint and Enhancer plans per model and engine, mask or tinted copy, the OvisOCR3, FLUX Fill, Qwen Edit, SeedVR2 and ESRGAN bindings, Save as element), per-frame Mixed Media (sampling, the 500 / 200 chunks, lanes, joins at 2048 px, a demo render where frame 14 fails and the frames still waiting are dropped unpaid, partial Try again), chains (fan-out and fan-in by output number, a new chain launching with more than 50 older steps waiting) and the Click to Ad end card (steps per engine, the silent track, provider bindings, a demo open run). Round 4, part 1 added, and the suite still runs: 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 eval:validate` | valid: the twelve case files (`selftest`, `soul` with 139 cases, `soul-cinema` with 6, `soul-hex` with 3, `soul-id` with 5, `dop` with 89, `dop-mix` with 5, `genjutsu` with 7, `mixed-media`, `shorts`, `speak`, `cinema` with 9), and the generated suites match the research. Round 4, part 4 points `cinema` at Fuobe Cinema and `genjutsu` at the Genjutsu Originals, Character swap included, and `soul-id` now trains a character, a look and one case per family |- | `pnpm build` | passes, with no Turbopack "dynamic filesystem access" tracing warnings (PR #12 had 4). Soul ID's LoRA copy (`src/server/loras.ts`, `src/server/training.ts`) now tells Turbopack not to trace its runtime paths, and Settings → About & licences reads only `package.json` and the workflow manifest |- | ComfyUI workflow library | ✅ 141 of 150 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 nine 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` (ComfyUI-Whisper) and `image-vectorize-vtracer` (ComfyUI-ToSVG; validated and run on a CPU ComfyUI with the pack in PR #6), PR #12's three MiniMax H3 graphs: `video-character-swap-h3` (Akatz Labs' `h3_character_swap` pack), `video-character-swap-h3-relay` and `video-person-remove-h3-relay` (H3 Relay), and PR #13's two H3 Relay graphs for the Character Swap Studio: `video-character-swap-h3-segment` (one H3 Relay 2.0 pass with the approved mask, an anchor and the take before's FFV1 master as history; 24 GB) and `video-mask-h3-relay` (a SAM 3.1 person mask on any frame of a shot; 6 GB). These five were built and submitted to the CPU ComfyUI, which answered `missing_node_type`; they are recorded `validated: false` (before PR #12 every entry was validated; now 145 of 150 are), and the Workflows page shows them as unverified. `install-comfyui.sh` installs `h3_character_swap` by default and H3 Relay with `H3_RELAY=1`; neither is installed on this machine. Their core node classes are in `object_info.subset.json`, which lists 306 (276 before PR #12). PR #10 added six graphs, none with a node pack: `z-image-turbo-i2i` (Fuobe Soul's image to image), `ltx23-i2v-lora`, `ltx23-flf2v-lora` and `ltx23-t2v-lora` (Fuobe DoP · LTX; nothing uses the text-to-video one yet), `image-to-3d-trellis2-multiview` (TRELLIS.2 Multi-view) and `video-fit-clip` (the Canvas concatenator) |- | Browser checks (Playwright against the production server, demo mode, ComfyUI unreachable) | ✅ all 18 pass: `shell.mjs`, `no-horizontal-scroll.mjs` (every route at 390 px, light and dark; it finds new studio pages such as `/assist/scheduled` and `/settings/models` itself, but not the public `/s/<token>` page), `composer-flows.mjs`, `library-flows.mjs`, `cinema-scene.mjs`, `cinema-shortcuts.mjs`, `notifications.mjs`, `clipboard.mjs`, `layers.mjs`, `assist-flows.mjs`, `canvas-smoke.mjs`, `canvas-board.mjs` (20 checks), `canvas-open-dub.mjs` (9 checks, with Settings → Engine mode set to open source only for the run), `dop-flows.mjs` (its 2 cloud price checks need a fal key and were skipped), `eval-review.mjs` (the harness's report and blind A/B review pages), PR #12's `cinema-original.mjs` and `genjutsu-original.mjs`, and the new `character-swap-studio.mjs`. `cinema-original.mjs` (1440 and 390 px, light and dark): Fuobe Cinema first in the model menu as an Original, with what runs on each engine; no Higgsfield in the menu or the project's context; Dolly In on LTX-2.3's camera LoRA, and a demo take that asked for it; 30 s shown as 30 s; no move badges for a partner model; the price before running; a still on Fuobe Soul Cinema cropped to 21:9 and graded in the feed; the open-engine menu (Fuobe Cinema, LTX-2.5, Wan 2.2 14B); Soul Cast on Fuobe Soul's Realistic look and Soul Location on its Movie look, with the grade applied. In PR #12's first full run it failed once at 390 px (the Soul Location button was swapped out mid-click while the folded Director panel re-rendered); that failure was never reproduced. Since PR #13 it and `genjutsu-original.mjs` wait for closing dialogs, sheets, menus and select lists to settle before the next click, which removes the likely cause; both passed on the first run here. `genjutsu-original.mjs` (1440 and 390 px, light and dark): Character swap's controls, limits and licence lines; each model's source badge; the swap LoRA's choices per engine and partners' resolutions; a demo run to the result; Describe my character, and its message without a text model; Use the clip's words; on the open engine Click them, the GPU line, SAM's detection numbers, the window and History lists and the mask switch on the Original's graph only; Motion and Restyle list the Originals first, Restyle has Soul looks, and no Higgsfield anywhere. `character-swap-studio.mjs` (58 checks): the whole flow in demo mode on the cloud engine (a project, the character, a clip, Detect edits, a cut at the playhead and Keep original, the transcript and Build shot prompts, a click on a frame and Track shot, a mask and a scene anchor approved, two segments with the second continuing from the first, takes compared and reviewed, Export decisions, the assembly with a download, and Finish shown as not available), then every stage at 1440 and 390 px, light and dark, with no sideways scroll; a GPU project's 24 fps copy, an AVI's browser copy on the cloud, the sidebar link, Genjutsu's hand-off making a project with its clip and character, and a 404 for an unknown project. `cinema-scene.mjs` and `layers.mjs` need ComfyUI 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). The Cinema, Genjutsu and Character Swap Studio checks also expect demo mode with ComfyUI unreachable. `/content-factory/[id]` has no sample in the 390 px sweep, so only its not-found page is checked there |- | Real CPU runs through the production build (`tests/e2e/comfyui-selftest.mjs`) | ✅ passes again on this tree. 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 |- | Canvas Video concatenator on CPU (`tests/e2e/comfyui-canvas-concat.mjs`) | ✅ on this tree, on the first try, through the canvas API (upload → `POST /api/canvases` → run → poll → download): three clips made with ffmpeg, with different sizes, frame rates and sound (one with a tone, one silent, one with a tone the node mutes), were reordered, cut and framed to 9:16 by `video-fit-clip`, one CPU pass each, then joined by `video-concat-encoded`, all on a live CPU ComfyUI. ffprobe: 720x1280 at 30 fps, every clip's kept frames in the order picked, sound only where it was kept. No model is involved; the cloud concatenator hasn't run with a real key. In PR #12 it passed only on the third try: Fuobe asked ComfyUI "are you there?" with a 1.5 s or 2 s timeout, a busy ComfyUI missed it, and steps went to the demo provider. PR #13's reachability fix (§2, Getting started and connections) ended that |- | Packages (round 4, parts 2 to 5) | Each package went through implement → adversarial review → fix before it was merged into the integration branch; typecheck, lint and the full suite ran after every merge. In parts 3 to 5 no merge needed a fix commit; in part 4 the Models & licences merge resolved three conflicts with Soul ID inside the merge, keeping both sides, and in part 5 the only conflict was settled inside `o/no-higgsfield` (a README conflict, by leaving out the Higgsfield key row) |-| `pnpm test` (Vitest, 176 files, 2,884 tests) | pass. New in round 5, part 1: skills that run by themselves (`recipes`, 21 tests: 3 CSV rows giving 3 batches and one bad row starting nothing, a studio-tool run with each row stamped, the plan check on both engines, a dry run with Demo mode off and no keys, re-checks after a retired, switched-off or repriced model, the 409 when a recipe changes during a check, the 422 for a header-only CSV, look judging against a fake Ollama; `recipe`, 28: the format itself, with parsing, placeholder and graph refusals, fill and compile, CSV rows, the .zip export that never carries checks, and the Run it section), the skill builder (`recipe-builder`, 23: a cut-out → edit → image-to-video chain as 3 steps, an upload used twice as one input, the refusals by studio, the Translate & dub, Katana and Captions lifts, a draft checked and saved with Demo mode off and no keys, 409 for a taken name, 422 for a failing plan), the open tools (`open-tools`, 25: Fuobe Angles' words, size and camera-at-rest refusal, old Angles runs planning again, Speak priced on the voice and re-priced at submit, the cut-voice note, the GPU's 40 s refusal, the face mosaic's steps, pixels and fallbacks, the HDR LoRA endpoint, VDA Large not the default), Marketing on Originals (`originals-marketing`, 21: routes per engine, the product-shot graph swap, the fal LoRA payload, no LoRA node loaded twice, refusal while the try-on LoRA is off, every step pinned to the studio's engine, the Fashion fallbacks, the casting look on the Soul Cast graph), Mixed Media and Shorts on Originals (`mixed-shorts-originals`, 21: defaults, the 14 look LoRAs, frame counts and per-megapixel prices, both engines' plans, Smooth, frames ÷ 16 billing, `preprocess: true` and no duplicate first frame in Fuobe Shorts' payload, DoP's 32 Mixed Media effects, a civitai LoRA left out without a key, the 17-frame and 5 fps refusals), Evolution (`evolution` 16, `evolution-api` 7, `evolution-comfy` 5: the intensities, the fal payload and price, plans on both engines, demo runs through the mock provider, refusals, a planned segment bound into the graph, and the graph's own schedule worked out for each intensity), Popcorn looks (`popcorn-looks`, 9: both engines, the partner switch, the next-scene LoRA in the fal payload, prices, a 21:9 look board's film at 21:9), Effects 2.0 chains (`effect-chains`, 2) and Fixes 5 (`ollama-reach`, 10, against a stand-in Ollama; `comfy-install`, 5: the H3 install commands run twice against local git repos; `edit-video-pricing`, 3: Happy Horse priced on the clip, re-priced from $1.40 to $3.36 on the server and a 40 s clip refused, with fal stubbed; `settings-links`, 3: every `/settings#…` link and every "Settings → …" text names a real section). The Assist fix adds a test that declines a memory on a real thread. Round 4, part 5 added, and the suite still runs: the Character Swap Studio (`swap-studio`, 48 tests: shots, segments and continuation, prompts, masks, takes, assembly and prices; `swap-studio-edit`, 17; `swap-studio-api`, 9: the demo provider end to end through the server on both engines, a continuation waiting for its take, jobs stopped when a clip is removed, a 404 after delete; `comfy-swap-studio`, 14: the two new graphs rewritten per job through the real provider on the library files, the LoRA download, the master's tail, mask splices and the memory refusal), AVI headers (`avi-probe`, 3), ComfyUI reachability (`comfy-reach`, 10: busy, refused, a silent port, shared checks, chain steps waiting, a cloud step not waiting, an old address's check not overwriting a new one; against a stand-in HTTP server, a silent socket, closed ports and a fetch that times out) and the O7 guard (`no-higgsfield`, 28: it scans `src`, `scripts`, `bin`, `skills`, `workflows`, `package.json` and the README outside its upgrade notes for the provider's id, key, env vars, identifiers and copy that offers it, and for retired model ids in code; it also checks the catalog and settings without it, REPLACED_BY and the moved operations, Cinema Studio's Director fields as prompt words, retired ids resolving in the API, retries, waiting steps, Canvas, Assist and the Library, the failed in-flight job and the migration on seeded rows). `higgsfield.test.ts` is gone. Round 4, part 4 added, and the suite still runs: Fuobe Cinema (fal payloads through the adapter with fetch stubbed: the plain endpoint, `camera_lora`, prompt expansion off, frames and sizes, the LoRA endpoint only with a LoRA, the backward-extend prequel and the edit body; prices per megapixel for each tier and shape; the Fun Camera pose and LoRA injection on the open graphs; the Soul Cast sheet's LoRA chain; the editor picked from the take; all 33 moves on both engines; a 30 s take plus an extend, Soul Cast, Soul Location and Reverse angle through the API in demo mode), Genjutsu and Character swap (prompts, canvas sizes, click mapping, windows, limits and licences; the real library graphs bound, Relay included, with expected values taken from the pack's sources; model and install pins; the first-frame step failing and Retry on the real chain runner; estimates with fal and Replicate keys and in demo mode; Describe against a fake Ollama server; H3 Person Removal), Soul ID (every trainer's request and the AI-Toolkit configs, a demo never replacing a real Soul ID, the background LoRA copy, a remote AI-Toolkit, a retired Soul ID training, every open model of a family taking the LoRA; all against a fake network), Models & licences (switches, fallbacks, chains refused before anything is queued, the 422 naming the switch, the settings API round trip, the studio menus), share links (hashed tokens, expiry, files limited to one share, 404 when revoked, expired or trashed, hidden prompts, the paths the proxy opens, the wrong-token guard) and the metadata cleaner, and Assist (time zones across clock changes, every rule and the cap; a fake-clock sweep with no double run, one catch-up after downtime, pause on project delete, Ask first and auto-run within the cap, Run now; connector URL rules, masking, the allow-list and the MCP request built through the real SDK against an SSE fake). Round 4, part 3 added, and the suite still runs: Fuobe Soul (the look generator and its licence, trigger and size rules, legacy ids, fal and Replicate payloads, the ComfyUI text-to-image and image-to-image graphs, prices per megapixel, picking the engine, `engine` on the REST route, the finish route, the Soul HEX lock, one test per review finding), Fuobe DoP (fal payloads through the adapter with fetch stubbed, when the Replicate fallback is picked and how it is priced, LoRA injection, sizing from the start frame and the end-frame node on the ComfyUI graphs, prices, the relight chain, the grade and its next step, the partner routes, Focus Change, the preset → LoRA map's licence, expert and alias rules, a Mix dry run in the harness), Image to 3D (38 tests: a plan per mode and engine, the blockers, the SAM 3D, Meshy multi-view, Tripo text, TripoSplat and rig payloads, the rig price, extra formats stored against a local HTTP server, the multi-view bindings with sides cut out, the open text-to-3D chain in demo mode) and Canvas (the new ports and node plans on both engines, a 30-clip concatenator folded into joins of at most 24, groups, tables and row re-runs, pages and the 409 at 20 pages, the silent track, the `video-fit-clip` binding). Round 4, part 2 added, and the suite still runs: the evaluation harness (its runner end to end against the real route handlers on the demo provider: spend cap, resume, promote and `--record`; the API seams; its Python metric tests through uv, skipped when uv isn't there), LoRAs (the generated library, fal and Replicate payloads checked against the researched schemas, downloads and hash checks with no network, LoRA nodes added to the real ComfyUI graphs), Content Factory (the link guard and private-address refusal, prices, one series per Generate, Next episode, the Claude message per engine mode, the Gemma 4 binding), the AI Influencer builder (pick and clash rules, Shuffle frequencies over many seeds, the prompt compiler, plans per engine, both retry paths, the two ComfyUI bindings), Layers (the OCR parser, Inpaint and Enhancer plans per model and engine, mask or tinted copy, the OvisOCR3, FLUX Fill, Qwen Edit, SeedVR2 and ESRGAN bindings, Save as element), per-frame Mixed Media (sampling, the 500 / 200 chunks, lanes, joins at 2048 px, a demo render where frame 14 fails and the frames still waiting are dropped unpaid, partial Try again), chains (fan-out and fan-in by output number, a new chain launching with more than 50 older steps waiting) and the Click to Ad end card (steps per engine, the silent track, provider bindings, a demo open run). Round 4, part 1 added, and the suite still runs: 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 test` (Vitest, 176 files, 2,884 tests) | pass. The local merge adds `local-llm` (29), `model3d-finish` (16), `model3d-runner` (4), `model3d-webm` (2), `covers-from-masters` (5) and `preset-covers` (6: the real covers manifest against `public/previews`, its importers and its cache header); `preview-media.test.ts` is gone with the old card media. On Windows, 41 tests and 66 temp-folder cleanups (EPERM) fail, all of them on `origin/main` too: POSIX paths, CRLF checkouts, `python3` and Ctrl+C. New in round 5, part 1: skills that run by themselves (`recipes`, 21 tests: 3 CSV rows giving 3 batches and one bad row starting nothing, a studio-tool run with each row stamped, the plan check on both engines, a dry run with Demo mode off and no keys, re-checks after a retired, switched-off or repriced model, the 409 when a recipe changes during a check, the 422 for a header-only CSV, look judging against a fake Ollama; `recipe`, 28: the format itself, with parsing, placeholder and graph refusals, fill and compile, CSV rows, the .zip export that never carries checks, and the Run it section), the skill builder (`recipe-builder`, 23: a cut-out → edit → image-to-video chain as 3 steps, an upload used twice as one input, the refusals by studio, the Translate & dub, Katana and Captions lifts, a draft checked and saved with Demo mode off and no keys, 409 for a taken name, 422 for a failing plan), the open tools (`open-tools`, 25: Fuobe Angles' words, size and camera-at-rest refusal, old Angles runs planning again, Speak priced on the voice and re-priced at submit, the cut-voice note, the GPU's 40 s refusal, the face mosaic's steps, pixels and fallbacks, the HDR LoRA endpoint, VDA Large not the default), Marketing on Originals (`originals-marketing`, 21: routes per engine, the product-shot graph swap, the fal LoRA payload, no LoRA node loaded twice, refusal while the try-on LoRA is off, every step pinned to the studio's engine, the Fashion fallbacks, the casting look on the Soul Cast graph), Mixed Media and Shorts on Originals (`mixed-shorts-originals`, 21: defaults, the 14 look LoRAs, frame counts and per-megapixel prices, both engines' plans, Smooth, frames ÷ 16 billing, `preprocess: true` and no duplicate first frame in Fuobe Shorts' payload, DoP's 32 Mixed Media effects, a civitai LoRA left out without a key, the 17-frame and 5 fps refusals), Evolution (`evolution` 16, `evolution-api` 7, `evolution-comfy` 5: the intensities, the fal payload and price, plans on both engines, demo runs through the mock provider, refusals, a planned segment bound into the graph, and the graph's own schedule worked out for each intensity), Popcorn looks (`popcorn-looks`, 9: both engines, the partner switch, the next-scene LoRA in the fal payload, prices, a 21:9 look board's film at 21:9), Effects 2.0 chains (`effect-chains`, 2) and Fixes 5 (`ollama-reach`, 10, against a stand-in Ollama; `comfy-install`, 5: the H3 install commands run twice against local git repos; `edit-video-pricing`, 3: Happy Horse priced on the clip, re-priced from $1.40 to $3.36 on the server and a 40 s clip refused, with fal stubbed; `settings-links`, 3: every `/settings#…` link and every "Settings → …" text names a real section). The Assist fix adds a test that declines a memory on a real thread. Round 4, part 5 added, and the suite still runs: the Character Swap Studio (`swap-studio`, 48 tests: shots, segments and continuation, prompts, masks, takes, assembly and prices; `swap-studio-edit`, 17; `swap-studio-api`, 9: the demo provider end to end through the server on both engines, a continuation waiting for its take, jobs stopped when a clip is removed, a 404 after delete; `comfy-swap-studio`, 14: the two new graphs rewritten per job through the real provider on the library files, the LoRA download, the master's tail, mask splices and the memory refusal), AVI headers (`avi-probe`, 3), ComfyUI reachability (`comfy-reach`, 10: busy, refused, a silent port, shared checks, chain steps waiting, a cloud step not waiting, an old address's check not overwriting a new one; against a stand-in HTTP server, a silent socket, closed ports and a fetch that times out) and the O7 guard (`no-higgsfield`, 28: it scans `src`, `scripts`, `bin`, `skills`, `workflows`, `package.json` and the README outside its upgrade notes for the provider's id, key, env vars, identifiers and copy that offers it, and for retired model ids in code; it also checks the catalog and settings without it, REPLACED_BY and the moved operations, Cinema Studio's Director fields as prompt words, retired ids resolving in the API, retries, waiting steps, Canvas, Assist and the Library, the failed in-flight job and the migration on seeded rows). `higgsfield.test.ts` is gone. Round 4, part 4 added, and the suite still runs: Fuobe Cinema (fal payloads through the adapter with fetch stubbed: the plain endpoint, `camera_lora`, prompt expansion off, frames and sizes, the LoRA endpoint only with a LoRA, the backward-extend prequel and the edit body; prices per megapixel for each tier and shape; the Fun Camera pose and LoRA injection on the open graphs; the Soul Cast sheet's LoRA chain; the editor picked from the take; all 33 moves on both engines; a 30 s take plus an extend, Soul Cast, Soul Location and Reverse angle through the API in demo mode), Genjutsu and Character swap (prompts, canvas sizes, click mapping, windows, limits and licences; the real library graphs bound, Relay included, with expected values taken from the pack's sources; model and install pins; the first-frame step failing and Retry on the real chain runner; estimates with fal and Replicate keys and in demo mode; Describe against a fake Ollama server; H3 Person Removal), Soul ID (every trainer's request and the AI-Toolkit configs, a demo never replacing a real Soul ID, the background LoRA copy, a remote AI-Toolkit, a retired Soul ID training, every open model of a family taking the LoRA; all against a fake network), Models & licences (switches, fallbacks, chains refused before anything is queued, the 422 naming the switch, the settings API round trip, the studio menus), share links (hashed tokens, expiry, files limited to one share, 404 when revoked, expired or trashed, hidden prompts, the paths the proxy opens, the wrong-token guard) and the metadata cleaner, and Assist (time zones across clock changes, every rule and the cap; a fake-clock sweep with no double run, one catch-up after downtime, pause on project delete, Ask first and auto-run within the cap, Run now; connector URL rules, masking, the allow-list and the MCP request built through the real SDK against an SSE fake). Round 4, part 3 added, and the suite still runs: Fuobe Soul (the look generator and its licence, trigger and size rules, legacy ids, fal and Replicate payloads, the ComfyUI text-to-image and image-to-image graphs, prices per megapixel, picking the engine, `engine` on the REST route, the finish route, the Soul HEX lock, one test per review finding), Fuobe DoP (fal payloads through the adapter with fetch stubbed, when the Replicate fallback is picked and how it is priced, LoRA injection, sizing from the start frame and the end-frame node on the ComfyUI graphs, prices, the relight chain, the grade and its next step, the partner routes, Focus Change, the preset → LoRA map's licence, expert and alias rules, a Mix dry run in the harness), Image to 3D (38 tests: a plan per mode and engine, the blockers, the SAM 3D, Meshy multi-view, Tripo text, TripoSplat and rig payloads, the rig price, extra formats stored against a local HTTP server, the multi-view bindings with sides cut out, the open text-to-3D chain in demo mode) and Canvas (the new ports and node plans on both engines, a 30-clip concatenator folded into joins of at most 24, groups, tables and row re-runs, pages and the 409 at 20 pages, the silent track, the `video-fit-clip` binding). Round 4, part 2 added, and the suite still runs: the evaluation harness (its runner end to end against the real route handlers on the demo provider: spend cap, resume, promote and `--record`; the API seams; its Python metric tests through uv, skipped when uv isn't there), LoRAs (the generated library, fal and Replicate payloads checked against the researched schemas, downloads and hash checks with no network, LoRA nodes added to the real ComfyUI graphs), Content Factory (the link guard and private-address refusal, prices, one series per Generate, Next episode, the Claude message per engine mode, the Gemma 4 binding), the AI Influencer builder (pick and clash rules, Shuffle frequencies over many seeds, the prompt compiler, plans per engine, both retry paths, the two ComfyUI bindings), Layers (the OCR parser, Inpaint and Enhancer plans per model and engine, mask or tinted copy, the OvisOCR3, FLUX Fill, Qwen Edit, SeedVR2 and ESRGAN bindings, Save as element), per-frame Mixed Media (sampling, the 500 / 200 chunks, lanes, joins at 2048 px, a demo render where frame 14 fails and the frames still waiting are dropped unpaid, partial Try again), chains (fan-out and fan-in by output number, a new chain launching with more than 50 older steps waiting) and the Click to Ad end card (steps per engine, the silent track, provider bindings, a demo open run). Round 4, part 1 added, and the suite still runs: 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 eval:validate` | valid: the 16 case files (`selftest` with 5 cases, `soul` with 139, `soul-cinema` with 6, `soul-hex` with 3, `soul-id` with 5, `dop` with 89, `dop-mix` with 5, `genjutsu` with 7, `mixed-media` with 7, `shorts` with 2, `speak` with 1, `cinema` with 9, and new in round 5, part 1: `marketing` with 7, `evolution` with 4, `popcorn` with 4, `angles` with 1), and the generated suites match the research. Round 5, part 1 points `mixed-media` and `shorts` at their Originals, with partner variants to compare (`shorts` gains a case through `/api/shorts/sessions`), and `eval validate` now refuses a case whose route body names an input the case doesn't have. Round 4, part 4 points `cinema` at Fuobe Cinema and `genjutsu` at the Genjutsu Originals, Character swap included, and `soul-id` now trains a character, a look and one case per family |+ | `pnpm build` | passes, with no Turbopack "dynamic filesystem access" tracing warnings. At 5774180 it had 2 ("causes tracing of the whole project"), from Fixes 5's AI-Toolkit photos-folder check; at 5404d20 that check carries the same `turbopackIgnore` hint as Fuobe's other data folders, and build, typecheck and the training tests were re-run with 0 warnings. PR #12 had 4; since PR #13 Soul ID's LoRA copy (`src/server/loras.ts`, `src/server/training.ts`) tells Turbopack not to trace its runtime paths, and Settings → About & licences reads only `package.json` and the workflow manifest |+ | ComfyUI workflow library | ✅ 145 of 154 workflows accepted by `POST /prompt` with no `node_errors` against a live CPU ComfyUI 0.41 with zero-byte placeholder weights, every workflow new in PR #14 included. This checks graph structure, input names, types and file references, **not output quality**. PR #14 adds four graphs, none with a new node pack: `qwen-image-edit-2509-angles` (Fuobe Angles: Qwen-Image-Edit 2509 with the Lightning LoRA and dx8152's Multiple-angles LoRA; 24 GB), `image-face-mosaic-sam3` (the PixeletedFace look's face mosaic, core nodes and SAM 3.1; 4 GB), `video-depth-vda-large` (Video Depth Anything large; 8 GB) and `video-evolution-wan22-fun-vace` (Fuobe Evolution; 24 GB, the restyle graph's weights), and rebuilds `infinitetalk-wanwrapper` by hand with settings for Fuobe Speak and an optional FusioniX LoRA (its defaults stay the fast pass). The other nine, the same as in PR #13, 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` (ComfyUI-Whisper) and `image-vectorize-vtracer` (ComfyUI-ToSVG; validated and run on a CPU ComfyUI with the pack in PR #6), PR #12's three MiniMax H3 graphs: `video-character-swap-h3` (Akatz Labs' `h3_character_swap` pack), `video-character-swap-h3-relay` and `video-person-remove-h3-relay` (H3 Relay), and PR #13's two H3 Relay graphs for the Character Swap Studio: `video-character-swap-h3-segment` (one H3 Relay 2.0 pass with the approved mask, an anchor and the take before's FFV1 master as history; 24 GB) and `video-mask-h3-relay` (a SAM 3.1 person mask on any frame of a shot; 6 GB). These five were built and submitted to the CPU ComfyUI, which answered `missing_node_type`; they are recorded `validated: false` (before PR #12 every entry was validated; now 149 of 154 are), and the Workflows page shows them as unverified. `install-comfyui.sh` installs `h3_character_swap` by default and H3 Relay with `H3_RELAY=1`; neither is installed on this machine. Their core node classes are in `object_info.subset.json`, which lists 306 (276 before PR #12). PR #10 added six graphs, none with a node pack: `z-image-turbo-i2i` (Fuobe Soul's image to image), `ltx23-i2v-lora`, `ltx23-flf2v-lora` and `ltx23-t2v-lora` (Fuobe DoP · LTX; nothing uses the text-to-video one yet), `image-to-3d-trellis2-multiview` (TRELLIS.2 Multi-view) and `video-fit-clip` (the Canvas concatenator) |+ | Browser checks (Playwright against the production server, demo mode, ComfyUI and Ollama unreachable, one shared data folder) | ✅ all 25 pass in the second full run: PR #13's 18 and seven new ones. Each new one checks its pages for sideways scroll at 1440 and 390 px, light and dark; some flows run at one size only, as noted: `mixed-shorts-original.mjs` (Mixed Media on Fuobe Mixed Media by default, Per frame and Smooth on both engines and Fast in the cloud only, the partner frame editors still in the menu, the preview's "drawn like this" line, a demo render that finishes; Shorts on Fuobe Shorts with Gemini Omni Flash still a choice, and a demo session; then, with a fake fal key, dollar prices before anything runs), `marketing-originals.mjs` (flows at 1440 light: Marketing's model menu, Ads' "Pictures by" and its price, the AI Influencer default, Photodump's chips, Fashion's outfit and photoset steps and the next model when the try-on LoRA is switched off, the try-on LoRA in Settings), `open-tools.mjs` (the Angles app on its old recipe and old Angles runs planning again; Fuobe Angles' controls, prices, the GPU plan's LoRA words, the camera-at-rest refusal and a demo run; Fuobe Speak and Speak · Motion priced on the voice; VDA Large's non-commercial note; PixeletedFace as two demo steps; the new Settings rows), `popcorn-evolution.mjs` (Evolution end to end with the offline writer, the cut-direction note, a finished run with before/after and the GPU's 480p; Storyboard's No look chip, the Fuobe / Nano Banana Pro switch, a look, the price and a demo board; Canvas' Effects 2.0 chains opening Agamemnon), `skills-run.mjs` (the free check, one run and 3 CSV rows checked over the API, a bad row marked, the amber re-check, ⌘K's Run a skill, the switched-off notice, the full-screen form on a phone), `skills-builder.mjs` (3 results in the Library → Make a skill → 3 steps, a prompt set to Varies and a word input, Check it, Save, the prefilled Run form and a run with new words, at 1440 light and 390 dark; the ⋯ menu and layout at all four; the ⌘K viewer at 1440 light) and `fixes-5.mjs` (at 1440 light: Settings → Training against a stand-in AI-Toolkit, the H3 install commands read from the clipboard, Edit video's ≈ $3.36 for a 12 s Happy Horse clip and a 40 s clip blocked; its sideways check covers Settings and `/workflows`, so Edit video at 390 px and in dark is checked only by `no-horizontal-scroll.mjs`). `open-tools.mjs` also passed on a second server holding `FAL_KEY=anything`: cloud prices show before a run ($1.00 for Fuobe Speak's default 5 s, $2.40 for a 12 s voice, $0.018 for a Soul picture with its face-mosaic step), and nothing is sent to fal. PR #13's checks: `shell.mjs`, `no-horizontal-scroll.mjs` (every route at 390 px, light and dark: 99 routes in this run, now with a skill's Run form at `/assist/skills?run=<name>`; it finds new studio pages such as `/assist/scheduled` and `/settings/models` itself, but not the public `/s/<token>` page), `composer-flows.mjs`, `library-flows.mjs`, `cinema-scene.mjs`, `cinema-shortcuts.mjs`, `notifications.mjs`, `clipboard.mjs`, `layers.mjs`, `assist-flows.mjs`, `canvas-smoke.mjs`, `canvas-board.mjs` (20 checks), `canvas-open-dub.mjs` (9 checks, with Settings → Engine mode set to open source only for the run), `dop-flows.mjs` (its 2 cloud price checks need a fal key and were skipped), `eval-review.mjs` (the harness's report and blind A/B review pages), PR #12's `cinema-original.mjs` and `genjutsu-original.mjs`, and PR #13's `character-swap-studio.mjs`. `cinema-original.mjs` (1440 and 390 px, light and dark): Fuobe Cinema first in the model menu as an Original, with what runs on each engine; no Higgsfield in the menu or the project's context; Dolly In on LTX-2.3's camera LoRA, and a demo take that asked for it; 30 s shown as 30 s; no move badges for a partner model; the price before running; a still on Fuobe Soul Cinema cropped to 21:9 and graded in the feed; the open-engine menu (Fuobe Cinema, LTX-2.5, Wan 2.2 14B); Soul Cast on Fuobe Soul's Realistic look and Soul Location on its Movie look, with the grade applied. In PR #12's first full run it failed once at 390 px (the Soul Location button was swapped out mid-click while the folded Director panel re-rendered); that failure was never reproduced. Since PR #13 it and `genjutsu-original.mjs` wait for closing dialogs, sheets, menus and select lists to settle before the next click, which removes the likely cause; both passed in PR #13's run and in both of PR #14's full runs. `genjutsu-original.mjs` (1440 and 390 px, light and dark): Character swap's controls, limits and licence lines; each model's source badge; the swap LoRA's choices per engine and partners' resolutions; a demo run to the result; Describe my character, and its message without a text model; Use the clip's words; on the open engine Click them, the GPU line, SAM's detection numbers, the window and History lists and the mask switch on the Original's graph only; Motion and Restyle list the Originals first, Restyle has Soul looks, and no Higgsfield anywhere. `character-swap-studio.mjs` (58 checks): the whole flow in demo mode on the cloud engine (a project, the character, a clip, Detect edits, a cut at the playhead and Keep original, the transcript and Build shot prompts, a click on a frame and Track shot, a mask and a scene anchor approved, two segments with the second continuing from the first, takes compared and reviewed, Export decisions, the assembly with a download, and Finish shown as not available), then every stage at 1440 and 390 px, light and dark, with no sideways scroll; a GPU project's 24 fps copy, an AVI's browser copy on the cloud, the sidebar link, Genjutsu's hand-off making a project with its clip and character, and a 404 for an unknown project. `cinema-scene.mjs` and `layers.mjs` need ComfyUI 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). The Cinema, Genjutsu and Character Swap Studio checks also expect demo mode with ComfyUI unreachable, and so do PR #14's, except `open-tools.mjs` (it reads whether the app reaches ComfyUI and expects "Free" or "Demo · free" to match) and `fixes-5.mjs` (demo mode only); `popcorn-evolution.mjs` expects Ollama unreachable too, for the offline writer. `/content-factory/[id]` has no sample in the 390 px sweep, so only its not-found page is checked there |+ | Real CPU runs through the production build (`tests/e2e/comfyui-selftest.mjs`) | ✅ passes again on this tree, in both of PR #14's full runs. 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 |+ | Canvas Video concatenator on CPU (`tests/e2e/comfyui-canvas-concat.mjs`) | ✅ on this tree in both of PR #14's full runs (and on PR #13's on the first try), through the canvas API (upload → `POST /api/canvases` → run → poll → download): three clips made with ffmpeg, with different sizes, frame rates and sound (one with a tone, one silent, one with a tone the node mutes), were reordered, cut and framed to 9:16 by `video-fit-clip`, one CPU pass each, then joined by `video-concat-encoded`, all on a live CPU ComfyUI. ffprobe: 720x1280 at 30 fps, every clip's kept frames in the order picked, sound only where it was kept. No model is involved; the cloud concatenator hasn't run with a real key. In PR #12 it passed only on the third try: Fuobe asked ComfyUI "are you there?" with a 1.5 s or 2 s timeout, a busy ComfyUI missed it, and steps went to the demo provider. PR #13's reachability fix (§2, Getting started and connections) ended that |+ | Packages (round 4, parts 2 to 5, and round 5, part 1) | Each package went through implement → adversarial review → fix before it was merged into the integration branch; typecheck, lint and the full suite ran after every merge. In parts 3 to 5 no merge needed a fix commit; in part 4 the Models & licences merge resolved three conflicts with Soul ID inside the merge, keeping both sides, and in part 5 the only conflict was settled inside `o/no-higgsfield` (a README conflict, by leaving out the Higgsfield key row). In round 5, part 1, O10 merged cleanly; O9 (4 files), O13 (3) and O11 (7) conflicted with the packages merged before them and were settled inside the merge by keeping both sides, with the catalog generators re-run (they reproduce every committed generated file byte for byte) and, for O11, four workflow sizes the manifest rebuild had blanked restored by hand |+ | Fixes from PR #14's first full run (round 5, part 1: `r5/pr14-fix-*`) | ✅ each fix reproduced the failure first, then passed three times in a row, on fresh data and after the checks that run before it. **Assist, a real bug:** a "Remember this?" card said "Saved to memory" before you said yes; it now says "Saves to memory for future chats" while it asks, "Saved to memory for future chats" once you agree and "Not saved to memory" after Not now (unit tests run a real chat through all three lines, and `assist-flows.mjs` checks the asking and saved lines in the browser). **Mixed Media and Shorts at 390 px (the check):** while the page loads on a phone, React briefly keeps a hidden copy of the page, so the button lookup found two; the check now ignores the hidden copy, waits for the finished video and taps the Engine switch, which the "Rendering your video" toast had covered (the toast leaves on its own, can be swiped away, and stays open only while a mouse rests on it). **Open tools (the check):** it expected "Free" on the GPU even where ComfyUI is unreachable on purpose, where "Demo · free" is right; it now reads ComfyUI's reachability as the app does. **Popcorn / Evolution (the check):** it read Storyboard's look chip before the chip had loaded; it now waits for it and fails if a look ever shows, even briefly (no look leaks between boards). **Skill builder (the check):** it measured the phone review while the dialog was still zooming open (389 × 841 instead of 390 × 844); it now waits for the animation. **Build warnings:** above |+ | Demo-mode browser passes (round 5, part 1: each package branch, before the merge; headless Chromium, 1440 and 390 px, light and dark) | ✅ O9: `mixed-shorts-original.mjs` 122/122 on a dev server with ComfyUI unreachable, plus a price pass with a fake fal key. O10: `marketing-originals.mjs` on both engines, the six changed pages with no sideways scroll. O11: `open-tools.mjs` 85/85 in demo mode and 84/84 with `FAL_KEY=anything` (nothing sent), on 6 pages × both engines. O13: `popcorn-evolution.mjs` (one check, the look chip at 390 px dark, failed once and passed on the rerun; PR #14's run found why, above) and `no-horizontal-scroll.mjs` on `/video-tools/evolution`, `/storyboard`, `/canvas` and `/video-tools`. Skills W1: `skills-run.mjs` at all four sizes, and the full `no-horizontal-scroll.mjs` sweep (99 routes) at the implementation stage. Skills W2: `skills-builder.mjs` passed twice. Fixes 5: `fixes-5.mjs` 23/23 on a scratch data folder; the 390 px dark Training section and the Edit video page were looked over. All seven passed again, on the merged code, in PR #14's second full run (above) |+ | ComfyUI checks in round 5, part 1 (package branches) | ✅ every new graph accepted by `POST /prompt` on the live CPU ComfyUI (`validate-workflows.mjs --shared`): O11's three new graphs and the rebuilt InfiniteTalk wrapper, on the branch and again after the merge, and O13's Evolution graph. O9 and O10 add no graph; the graphs they use were validated again (5 each). O13's report also says the Evolution graph's loader and schedule nodes ran on the CPU on 24 and 30 fps clips at five denoise values; that run left nothing in the diff to check. No new graph has run with weights, on a CPU or a GPU |+ | Evaluation harness (round 5, part 1) | ✅ on the demo engine and by validation only. New suites: `marketing` (7 cases), `evolution` (4), `popcorn` (4) and `angles` (1); `mixed-media` (7) and `shorts` (2) now measure the Originals against partner variants. The harness tests run `evolution`'s low and written cases and a Shorts session on the demo provider, and dry runs pick Fuobe Mixed Media, Fuobe Shorts and Gemini Omni Flash. A demo `marketing` run made 12 of 12 jobs before one case was split in two; `popcorn` has only been validated. Real runs need local inputs (a clip, a frame, a subject picture: `scripts/eval/README.md`). No new Original has been measured on a GPU or the cloud || Demo-mode browser passes (round 4, part 5: each package branch, before the merge; headless Chromium, 1440 and 390 px, light and dark) | ✅ Character Swap Studio: `character-swap-studio.mjs` on a dev server in demo mode with ComfyUI unreachable, after the review fixes; the last 3 runs passed (one earlier run failed on a timing race in the Export decisions check, which now polls). No Higgsfield: a pass over the 14 changed routes and a brand workspace (no route picker, no Higgsfield copy, no sideways scroll, no console errors), `no-horizontal-scroll.mjs` on 21 routes, Reuse of a stored Soul 2.0 run in the Image studio switching to Fuobe Soul with its look and a toast, and the Library viewer naming it "Soul 2.0 (Higgsfield)" with its outputs; after the review fixes, `/image?model=soul-2` opens on Fuobe Soul with the Make your own Soul look cards, `/image?model=fuobe-soul` shows them and `/image?model=nano-banana-pro` doesn't. Check fixes: `cinema-original.mjs` passed twice (118 checks, once on a loaded machine) and `genjutsu-original.mjs` once (126) with `COMFYUI_URL` on a closed port, before the review fixes; both passed again in the full run above || ComfyUI reachability (round 4, part 5: `r4/check-fixes`) | ✅ by tests (`comfy-reach`, above) and live: after the fix, the Canvas concatenator check passed against a live CPU ComfyUI with all 4 steps on ComfyUI, and `/api/status` showed ComfyUI with its RAM. A stress run with `/system_stats` answering only after 4 s (longer than every check's timeout) ran all 4 steps on ComfyUI, but before a review fix changed the check; it wasn't repeated. The blocking first check's "no answer and no connection" case (a host that drops packets) has no test || ComfyUI checks in round 4, part 5 (package branches) | Not validated here: the two new H3 Relay graphs were submitted to the live CPU ComfyUI, which answered `missing_node_type` (`validated: false`). How the provider rewrites them per job is tested on the library files (`comfy-swap-studio`). O7 and the check fixes add no graph. No new graph has run on a GPU |@@@ -49,13 -52,13 +53,13 @@@| 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 stand-in Ollama, LM Studio, Unsloth Studio and llama-server servers (`tests/llm.test.ts`, `tests/local-llm.test.ts`), a stubbed Claude API and, for open translation without a local model, a stand-in ComfyUI answering for Qwen3.5 4B. Content Factory's brief (frames and a transcript sent to Claude or Ollama) is tested on its request shape and byte budget, and the Canvas Translate node's text mode on its plan per engine. Genjutsu's Describe my character (round 4, part 4) is tested against a fake Ollama server. No live Claude, local-model, Qwen3.5 or Gemma 4 run, and no vision model has described a character. The local-LLM layer was written on a machine with LM Studio 0.4.18 but no chat model downloaded, and an Unsloth Studio whose Python environment needed a repair |-| 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. Content Factory's brief (frames and a transcript sent to Claude or Ollama) is tested on its request shape and byte budget, and the Canvas Translate node's text mode on its plan per engine. Genjutsu's Describe my character (round 4, part 4) is tested against a fake Ollama server. Round 5, part 1: Evolution's **Write it for me** (Claude in the cloud, an Ollama vision model on your GPU) has run only its offline writer; the skill builder's name suggestions are tested on their parser and the no-LLM path; a skill's look check is tested against a fake Ollama. No live Claude, Ollama, Qwen3.5 or Gemma 4 run, and no vision model has described a character or written a direction |++| LLM text steps (translate, write) | 🟢 tested against stand-in Ollama, LM Studio, Unsloth Studio and llama-server servers (`tests/llm.test.ts`, `tests/local-llm.test.ts`), a stubbed Claude API and, for open translation without a local model, a stand-in ComfyUI answering for Qwen3.5 4B. Content Factory's brief (frames and a transcript sent to Claude or Ollama) is tested on its request shape and byte budget, and the Canvas Translate node's text mode on its plan per engine. Genjutsu's Describe my character (round 4, part 4) is tested against a fake Ollama server. Round 5, part 1: Evolution's **Write it for me** (Claude in the cloud, an Ollama vision model on your GPU) has run only its offline writer; the skill builder's name suggestions are tested on their parser and the no-LLM path; a skill's look check is tested against a fake Ollama. No live Claude, local-model, Qwen3.5 or Gemma 4 run, and no vision model has described a character. The local-LLM layer was written on a machine with LM Studio 0.4.18 but no chat model downloaded, and an Unsloth Studio whose Python environment needed a repair or written a direction || 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). Round 4, part 4's connectors add `mcp_servers`, one `mcp_toolset` per connector (with its allowed tools) and the MCP beta to that request, also built through the real SDK against the SSE fake; no real remote MCP server has been called |- | Assist on a local model | 🟢 tested against a fake Ollama server (round 2) and a fake LM Studio (a tool call and its result under the same id). No live local model has run it yet |- | Cloud providers (fal / Replicate) | 🟢 196 fal / Replicate models (197 cloud models with the Claude text model, plus 20 hidden helpers used by chains and studios; Overlay image, Extract frames and Images to video, which only the API reached before, now serve Click to Ad's end card, per-frame Mixed Media and Content Factory) built from the providers' schemas; structured outputs tested on stubbed responses. Round 4, part 2 adds Seedream 5.0 Flash and six hosted open-weight models that take LoRAs; every field a route sends, LoRA fields included, is checked against the researched schema. Round 4, part 3 adds the cloud halves of the five Fuobe Originals (Fuobe Soul, Soul HD and Soul Cinema on fal's Z-Image Turbo and Qwen-Image 2512 and Replicate's Z-Image Turbo; Fuobe DoP on fal's Wan 2.2 A14B with Replicate's fast Wan 2.2 as the fallback; Fuobe DoP · LTX on fal's LTX-2.3), two of the hidden helpers (LTX 2.5 Fast for Focus Change, hosted Qwen-Image-Edit 2509 for the relight step) and puts round 4's 3D models (Meshy 7.1 Multi-view, Tripo H3.1 Text to 3D, SAM 3D Objects, TripoSplat, Meshy Rigging) in the Image to 3D studio. Fuobe DoP's payloads are tested through the fal adapter with fetch stubbed; Fuobe Soul's and the 3D models' are tested by building them from their field maps. Round 4, part 4 adds the cloud halves of seven more Originals (12 in all): Fuobe Cinema on fal's LTX-2.3 22B (text, image, start and end frame, extend and video to video, priced per megapixel of video), Fuobe Genjutsu · Motion and its Lite tier on Wan 2.2 Animate, · Swap and its Lite tier on Wan VACE 14B inpainting, · Restyle on Wan 2.2 VACE Fun depth, and Fuobe Character swap on MiniMax H3 reference-to-video with Akatz Labs' LoRA; four more Genjutsu choices (Wan 2.2 Animate Replace, SCAIL-2, Wan Motion, MiniMax H3 Max Recast); five hosted models that take Soul ID LoRAs (FLUX.1 [dev], FLUX.1 Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 9B, Krea 2 Turbo); and eight fal trainers. Fuobe Cinema's payloads are tested through the fal adapter with fetch stubbed, and the H3 payload was checked against the researched fields. Round 4, part 5 removes the Higgsfield provider (O7): the 12 models that ran only there are retired (stored ids run on their replacements), 24 partner models lose their Higgsfield routes and keep their fal or Replicate ones, and Happy Horse 1.1 (text, image and reference to video), which ran only on Higgsfield before, moves to fal at $0.14/s at 720p and $0.18/s at 1080p, built from fal's schemas recorded in the research (`partnerEndpoints`). The Character Swap Studio adds no cloud model: it chains MiniMax H3 with fal's trim, frame, scale, join and mux tools, SAM 3.1, Scribe v2 and the anchor models already in the catalog. **No live paid run yet**. The fal key test reports 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. Since round 4, part 4, `search_models` leaves out models switched off in Settings → Models & licences (tested); since part 5, a call or plan naming a retired model runs on its replacement (tested) |-| Assist on Ollama | 🟢 tested against a fake Ollama server (round 2). Since Fixes 5 (round 5, part 1), a busy Ollama is told from a down one as for ComfyUI, tested against a stand-in Ollama (`ollama-reach`, 10 tests: a busy Ollama that answered before, a refused port, an HTTP error, a slow but alive one, a port that takes the connection but never answers, and Assist keeping chats on a busy Ollama without waiting on a silent one). Model downloads aren't reachable from this environment |++| Assist on a local model | 🟢 tested against a fake Ollama server (round 2) Since Fixes 5 (round 5, part 1), a busy Ollama is told from a down one as for ComfyUI, tested against a stand-in Ollama (`ollama-reach`, 10 tests: a busy Ollama that answered before, a refused port, an HTTP error, a slow but alive one, a port that takes the connection but never answers, and Assist keeping chats on a busy Ollama without waiting on a silent one). Model a fake LM Studio (a tool call and its result under the same id). No live local model has run it yet |+ | Cloud providers (fal / Replicate) | 🟢 196 fal / Replicate models (197 cloud models with the Claude text model, plus 21 hidden helpers used by chains and studios; Overlay image, Extract frames and Images to video, which only the API reached before, now serve Click to Ad's end card, per-frame Mixed Media and Content Factory) built from the providers' schemas; structured outputs tested on stubbed responses. Round 4, part 2 adds Seedream 5.0 Flash and six hosted open-weight models that take LoRAs; every field a route sends, LoRA fields included, is checked against the researched schema. Round 4, part 3 adds the cloud halves of the five Fuobe Originals (Fuobe Soul, Soul HD and Soul Cinema on fal's Z-Image Turbo and Qwen-Image 2512 and Replicate's Z-Image Turbo; Fuobe DoP on fal's Wan 2.2 A14B with Replicate's fast Wan 2.2 as the fallback; Fuobe DoP · LTX on fal's LTX-2.3), two of the hidden helpers (LTX 2.5 Fast for Focus Change, hosted Qwen-Image-Edit 2509 for the relight step) and puts round 4's 3D models (Meshy 7.1 Multi-view, Tripo H3.1 Text to 3D, SAM 3D Objects, TripoSplat, Meshy Rigging) in the Image to 3D studio. Fuobe DoP's payloads are tested through the fal adapter with fetch stubbed; Fuobe Soul's and the 3D models' are tested by building them from their field maps. Round 4, part 4 adds the cloud halves of seven more Originals (12 in all): Fuobe Cinema on fal's LTX-2.3 22B (text, image, start and end frame, extend and video to video, priced per megapixel of video), Fuobe Genjutsu · Motion and its Lite tier on Wan 2.2 Animate, · Swap and its Lite tier on Wan VACE 14B inpainting, · Restyle on Wan 2.2 VACE Fun depth, and Fuobe Character swap on MiniMax H3 reference-to-video with Akatz Labs' LoRA; four more Genjutsu choices (Wan 2.2 Animate Replace, SCAIL-2, Wan Motion, MiniMax H3 Max Recast); five hosted models that take Soul ID LoRAs (FLUX.1 [dev], FLUX.1 Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 9B, Krea 2 Turbo); and eight fal trainers. Fuobe Cinema's payloads are tested through the fal adapter with fetch stubbed, and the H3 payload was checked against the researched fields. Round 4, part 5 removes the Higgsfield provider (O7): the 12 models that ran only there are retired (stored ids run on their replacements), 24 partner models lose their Higgsfield routes and keep their fal or Replicate ones, and Happy Horse 1.1 (text, image and reference to video), which ran only on Higgsfield before, moves to fal at $0.14/s at 720p and $0.18/s at 1080p, built from fal's schemas recorded in the research (`partnerEndpoints`). The Character Swap Studio adds no cloud model: it chains MiniMax H3 with fal's trim, frame, scale, join and mux tools, SAM 3.1, Scribe v2 and the anchor models already in the catalog. Round 5, part 1 adds no partner model. It adds the cloud halves of eight more Originals (20 in all), each on a hosted open-weight model: Fuobe Marketing Image (fal's Qwen-Image-Edit 2511, with its LoRA endpoint, or Replicate's for an edit; fal's Qwen-Image 2512 without a product photo; $0.03 a megapixel), Fuobe Try-On (fal's FLUX.2 [klein] 4B edit with the try-on LoRA, $0.03), Fuobe Mixed Media (fal's Z-Image Turbo ControlNet LoRA endpoint, $0.01 a megapixel of each frame), Fuobe Shorts (fal's Wan 2.2 Fun VACE A14B depth, $0.10 a video second at 720p, billed as frames ÷ 16), Fuobe Evolution (fal's LTX-2.3 22B video to video, $0.001605 a megapixel of video), Fuobe Angles (fal's Qwen-Image-Edit 2509 multiple-angles, $0.035 a megapixel), Fuobe Speak (fal's InfiniteTalk, $0.20/s) and Fuobe Speak · Motion (fal's Wan 2.2 speech-to-video, $0.10–0.20 a video second); one hidden helper (fal's SAM 3.1 image, the face mosaic's mask, $0.01 a request); and a LoRA endpoint for LTX 2.3 HDR. Hosted InfiniteTalk now sends a frame count for the voice (it sent seconds as `num_frames`), and Genjutsu's cloud restyle now sends `preprocess: true`, as Fuobe Shorts does. Payloads and prices are tested against the researched schemas; `preprocess: true` on the depth endpoint is inferred from fal's schema and its example input (§3). Fixes 5 halves the Happy Horse video edit's price: $0.28/s at 720p and $0.56/s at 1080p is the whole price of a second of clip, which Fuobe counted twice (its shown price and spend record were double; fal's bill wasn't). **No live paid run yet**. The fal key test reports 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. Since round 4, part 4, `search_models` leaves out models switched off in Settings → Models & licences (tested); since part 5, a call or plan naming a retired model runs on its replacement (tested). Since round 5, part 1, `load_skill` and the MCP prompts add a "Run it" section to a skill with a recipe (its inputs, steps and the equivalent call, capped at 20,000 characters; tested), and `create_ads` prices and runs on Fuobe Marketing Image || `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. Round 4, part 3's `--look`, `--look-strength` and `--engine` for an Original are tested on the request the CLI builds |- | 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. Round 4, part 4's Soul ID tests every trainer's request against a fake network: the AI-Toolkit configs for Z-Image Turbo, Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] and FLUX.2 [klein] 4B, and fal's eight trainers. No real training run: it needs a GPU or a fal key |+ | 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. Round 4, part 4's Soul ID tests every trainer's request against a fake network: the AI-Toolkit configs for Z-Image Turbo, Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] and FLUX.2 [klein] 4B, and fal's eight trainers. Since Fixes 5, Settings → Training holds AI-Toolkit's address, token and photos folder, each with Save & test, tested against a stand-in for AI-Toolkit's job API (`connections`, and `fixes-5.mjs` in the browser). No real training run, and no real AI-Toolkit answered: it needs a GPU or a fal key || Sign-in and API tokens | ✅ curl and browser checks (round 2); the throttle and Host checks by unit tests. Round 4, part 4: the share routes that skip sign-in, by unit tests and a live signed-out check with a password set |## 2. Feature matrix vs Higgsfield@@@ -86,12 -90,12 +91,12 @@@ Model names are the defaults first, the| Cinema Studio Extend (forward / backward) and Edit | 🟢 cloud · 🟡 open | Extend: LTX-2.3 extend-video on Fuobe Cinema, up to 20 s a run (a partner model with no fal extend route extends through Fuobe Cinema; it used to fall back to Seedance 2.5). Backward ("prequel"): one backward extend-video call (it took 3 steps; partner models still take them). Edit: LTX-2.3 video to video for a take made on Fuobe Cinema, Fuobe DoP or the open engine (the take's scene with the change written in; the first 20 s of a longer take), and Kling O3 for a take made on Seedance 2.5, Kling 3.0 or Veo 3.1 | Extend forward with Wan 2.2 Fun VACE extend; the prequel is a still of the moment before, then Fuobe Cinema's Wan 2.2 14B start/end-frame clip; edit with Wan 2.2 Fun VACE restyle | "Extend or edit this take" carries the take's model, prompt, size and length, so an edit picks the right editor and price. The cloud's 30 s chain and prequel assume fal's extend-video returns the whole clip and honours a backward extend (§3). The open prequel is a 2-step approximation (3 when the browser couldn't read the take's first frame: a cloud step reads it, and without the cloud the prequel is blocked) || Cinema Studio image mode and grid | 🟢 cloud · 🟢 open | Camera stills (camera, lens, focal length required) on Fuobe Soul Cinema (default), Nano Banana Pro or Seedream 5.0 Pro; grids 2×2 / 3×3 / 4×4 (freeform, zooms, shots, next / previous shots) as one sheet | Fuobe Soul Cinema (default), Z-Image Turbo or Qwen-Image stills; Z-Image Turbo · Grid sheet | The Cinema feed finishes a Fuobe Soul Cinema still in the browser (a 21:9 crop from 16:9 and the teal-orange grade). Cinema's 1K / 2K / 4K map to 720p / 1080p on Fuobe Soul, with a note at 4K. The sheet is cut into tiles in the browser and stored as uploads || 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 |+| Cinema AI Director + Project Brief | 🟢 | Claude | A local model (Ollama, LM Studio, Unsloth Studio…), 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, insert) → Fuobe Genjutsu | 🟢 cloud · 🟢 open | Fuobe Originals on fal, no Higgsfield: Motion transfer on Wan 2.2 Animate ($0.08/s at 720p; the Lite tier $0.04/s at 480p), Object swap on Wan VACE 14B with a SAM 3.1 mask ($0.08/s plus the mask; Lite $0.04/s), Restyle on Wan 2.2 VACE Fun depth ($0.10/s at 720p). fal bills these by frames ÷ 16, so a 30 fps clip costs about 1.9× the per-second price. Other choices: SCAIL-2, Wan Motion and Kling 3.0 Motion Control (motion); Kling O3 edit, P-Video Replace and hosted Wan 2.2 VACE (swap); Gemini Omni Flash, Kling O3 4K Edit and Happy Horse (restyle). Insert has no Original yet: Kling O3 (say where) or hosted Wan 2.2 VACE (paint the spot). Restyle on Fuobe Soul's 139 looks, 44 Fuobe looks or your own images | Fuobe Genjutsu: Motion on Wan Animate 2 (Lite: 4 steps at 480p); Swap by name on Wan 2.1 VACE + SAM 3.1; Restyle on Wan 2.2 Fun VACE, 480p at 16 fps. Insert by paint: Wan 2.1 VACE | `/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. Every mode but Insert defaults to a Fuobe Original on both engines. The picker shows each model's source (Fuobe Original, Open weights or Partner) and licence, Originals first, with Lite and full as Quality: Standard / High. Old setup codes and model ids open the replacing Original (a Higgsfield look is dropped). 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. Checked in demo mode (`tests/e2e/genjutsu-original.mjs`); no real run |- | Genjutsu Character swap (new: Openjutsu and Akatz Labs' H3 Character Swap) | 🟢 cloud · 🟡 open (its graphs haven't loaded in a ComfyUI yet) | Fuobe Character swap: MiniMax H3 reference-to-video on fal with Akatz Labs' swap LoRA (V1.5 or V1), $0.075/s at 768p, $0.0625/s at 480p, 5–15 s a call; parts up to 30 s run as 15 s pieces, joined under the clip's sound. The first frame: GPT Image 2.5 Sunburst (low quality; billed by tokens, so left out of the estimate) or Nano Banana Pro. Other choices: Wan 2.2 Animate Replace ($0.08/s at 720p), MiniMax H3 Max Recast ($0.30/s at 768p), SCAIL-2, Kling O3 edit and P-Video Replace | Fuobe Character swap: Openjutsu's graph on Akatz Labs' `h3_character_swap` pack (`video-character-swap-h3`), window by window up to 30 s, with Masked generation, an audio guide and a mask margin; the first frame on Qwen-Image-Edit 2511. Other choice: H3 Character Swap · Relay 2.0 (needs `H3_RELAY=1`). About 46 GB of model files; a 24 GB GPU with offloading and 64–128 GB of RAM, 48 GB+ of VRAM advised for 768p | `/genjutsu?mode=character`: the person in a 5–15 s part of one shot becomes your character, keeping the performance and the sound. One character image, 480p or 768p (768p by default), an optional direction and seed. Who: Largest, Leftmost, Rightmost or a number, plus words; on your GPU also Click them. "Make the first frame first" (on by default) puts your character into the part's first frame before the swap; if that fails, the swap still runs and says so. "Describe my character" (Claude or a local model in the cloud, a local vision model on your GPU) and "Use the clip's words" (Scribe v2 or Qwen3-ASR) help write the prompt. Advanced: who speaks, the swap LoRA release (None only on your GPU). The page lists the limits and the GPU the open route was tested on, and warns about hard cuts it finds in the browser. Each model shows its licence line (MiniMax H3's terms, §3). For whole clips, shot by shot, **Open in Character Swap Studio** makes a studio project with the clip and the character (next row). Checked in demo mode; no H3 run anywhere |+ | Genjutsu (motion transfer, object swap, restyle, insert) → Fuobe Genjutsu | 🟢 cloud · 🟢 open | Fuobe Originals on fal, no Higgsfield: Motion transfer on Wan 2.2 Animate ($0.08/s at 720p; the Lite tier $0.04/s at 480p), Object swap on Wan VACE 14B with a SAM 3.1 mask ($0.08/s plus the mask; Lite $0.04/s), Restyle on Wan 2.2 VACE Fun depth ($0.10/s at 720p). fal bills these by frames ÷ 16, so a 30 fps clip costs about 1.9× the per-second price. Other choices: SCAIL-2, Wan Motion and Kling 3.0 Motion Control (motion); Kling O3 edit, P-Video Replace and hosted Wan 2.2 VACE (swap); Gemini Omni Flash, Kling O3 4K Edit and Happy Horse (restyle). Insert has no Original yet: Kling O3 (say where) or hosted Wan 2.2 VACE (paint the spot). Restyle on Fuobe Soul's 139 looks, 44 Fuobe looks or your own images | Fuobe Genjutsu: Motion on Wan Animate 2 (Lite: 4 steps at 480p); Swap by name on Wan 2.1 VACE + SAM 3.1; Restyle on Wan 2.2 Fun VACE, 480p at 16 fps. Insert by paint: Wan 2.1 VACE | `/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. Every mode but Insert defaults to a Fuobe Original on both engines. The picker shows each model's source (Fuobe Original, Open weights or Partner) and licence, Originals first, with Lite and full as Quality: Standard / High. Old setup codes and model ids open the replacing Original (a Higgsfield look is dropped). 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. Since round 5, part 1 every step on an Original names its engine (it could run on whichever engine was connected first), and the cloud Restyle sends `preprocess: true` to fal's depth endpoint, as Fuobe Shorts does (unchecked, §3). Checked in demo mode (`tests/e2e/genjutsu-original.mjs`); no real run |-| Genjutsu Character swap (new: Openjutsu and Akatz Labs' H3 Character Swap) | 🟢 cloud · 🟡 open (its graphs haven't loaded in a ComfyUI yet) | Fuobe Character swap: MiniMax H3 reference-to-video on fal with Akatz Labs' swap LoRA (V1.5 or V1), $0.075/s at 768p, $0.0625/s at 480p, 5–15 s a call; parts up to 30 s run as 15 s pieces, joined under the clip's sound. The first frame: GPT Image 2.5 Sunburst (low quality; billed by tokens, so left out of the estimate) or Nano Banana Pro. Other choices: Wan 2.2 Animate Replace ($0.08/s at 720p), MiniMax H3 Max Recast ($0.30/s at 768p), SCAIL-2, Kling O3 edit and P-Video Replace | Fuobe Character swap: Openjutsu's graph on Akatz Labs' `h3_character_swap` pack (`video-character-swap-h3`), window by window up to 30 s, with Masked generation, an audio guide and a mask margin; the first frame on Qwen-Image-Edit 2511. Other choice: H3 Character Swap · Relay 2.0 (needs `H3_RELAY=1`). About 46 GB of model files; a 24 GB GPU with offloading and 64–128 GB of RAM, 48 GB+ of VRAM advised for 768p | `/genjutsu?mode=character`: the person in a 5–15 s part of one shot becomes your character, keeping the performance and the sound. One character image, 480p or 768p (768p by default), an optional direction and seed. Who: Largest, Leftmost, Rightmost or a number, plus words; on your GPU also Click them. "Make the first frame first" (on by default) puts your character into the part's first frame before the swap; if that fails, the swap still runs and says so. "Describe my character" (Claude or Ollama in the cloud, Ollama with a vision model on your GPU) and "Use the clip's words" (Scribe v2 or Qwen3-ASR) help write the prompt. Advanced: who speaks, the swap LoRA release (None only on your GPU). The page lists the limits and the GPU the open route was tested on, and warns about hard cuts it finds in the browser. Each model shows its licence line (MiniMax H3's terms, §3). For whole clips, shot by shot, **Open in Character Swap Studio** makes a studio project with the clip and the character (next row). Since Fixes 5 (round 5, part 1), Workflows → Copy install commands for the two H3 packs checks out their pinned commits and can be pasted twice (`comfy-install` runs them twice against local git repositories; `fixes-5.mjs` reads them from the clipboard). Checked in demo mode; no H3 run anywhere |++| Genjutsu Character swap (new: Openjutsu and Akatz Labs' H3 Character Swap) | 🟢 cloud · 🟡 open (its graphs haven't loaded in a ComfyUI yet) | Fuobe Character swap: MiniMax H3 reference-to-video on fal with Akatz Labs' swap LoRA (V1.5 or V1), $0.075/s at 768p, $0.0625/s at 480p, 5–15 s a call; parts up to 30 s run as 15 s pieces, joined under the clip's sound. The first frame: GPT Image 2.5 Sunburst (low quality; billed by tokens, so left out of the estimate) or Nano Banana Pro. Other choices: Wan 2.2 Animate Replace ($0.08/s at 720p), MiniMax H3 Max Recast ($0.30/s at 768p), SCAIL-2, Kling O3 edit and P-Video Replace | Fuobe Character swap: Openjutsu's graph on Akatz Labs' `h3_character_swap` pack (`video-character-swap-h3`), window by window up to 30 s, with Masked generation, an audio guide and a mask margin; the first frame on Qwen-Image-Edit 2511. Other choice: H3 Character Swap · Relay 2.0 (needs `H3_RELAY=1`). About 46 GB of model files; a 24 GB GPU with offloading and 64–128 GB of RAM, 48 GB+ of VRAM advised for 768p | `/genjutsu?mode=character`: the person in a 5–15 s part of one shot becomes your character, keeping the performance and the sound. One character image, 480p or 768p (768p by default), an optional direction and seed. Who: Largest, Leftmost, Rightmost or a number, plus words; on your GPU also Click them. "Make the first frame first" (on by default) puts your character into the part's first frame before the swap; if that fails, the swap still runs and says so. "Describe my character" (Claude or a local model in the cloud, a local vision model on your GPU) and "Use the clip's words" (Scribe v2 or Qwen3-ASR) help write the prompt. Advanced: who speaks, the swap LoRA release (None only on your GPU). The page lists the limits and the GPU the open route was tested on, and warns about hard cuts it finds in the browser. Each model shows its licence line (MiniMax H3's terms, §3). For whole clips, shot by shot, **Open in Character Swap Studio** makes a studio project with the clip and the character (next row). Since Fixes 5 (round 5, part 1), Workflows → Copy install commands for the two H3 packs checks out their pinned commits and can be pasted twice (`comfy-install` runs them twice against local git repositories; `fixes-5.mjs` reads them from the clipboard). Checked in demo mode; no H3 run anywhere || Character swap for whole clips (new: Akatz Labs' H3 Character Swap workbench) → Character Swap Studio | 🟢 cloud · 🟡 open (its two graphs haven't loaded in a ComfyUI yet) | MiniMax H3 reference-to-video on fal with Akatz Labs' swap LoRA (V1.5 or V1): $0.075/s at 768p, $0.0625/s at 480p, whole seconds, at least 5 s a take. No mask: the whole frame is regenerated and who to swap goes into the prompt; a continuing segment gets the take before's last frame. fal's trim cuts each segment out and fits the take back to its length. Masks: SAM 3.1 ($0.015/s) shows who it would pick; the swap doesn't use it. Words: ElevenLabs Scribe v2. Anchors: GPT Image 2.5 Sunburst (billed by tokens, not in the estimate) or Nano Banana Pro (about $0.15). Assembly: fal's scale-video and merge-videos at 24 fps, then the clip's sound | A new H3 Relay 2.0 graph (`video-character-swap-h3-segment`) swaps only the person in your approved mask, matches the anchor and continues from the take before's lossless master; a new SAM 3.1 graph (`video-mask-h3-relay`) makes the mask from any frame of the shot. Words: Qwen3-ASR. Anchors: Qwen-Image-Edit 2511. Each clip gets a free 24 fps copy on import. Free; a 24 GB GPU, the opt-in H3 Relay pack (`H3_RELAY=1`) and PR #12's H3 files (no new downloads) | `/character-swap`, `/character-swap/[id]` (sidebar → Studios, after Genjutsu): one character (picture and description) and up to 20 clips (.mp4, .mov, .mkv, .webm or .avi, each up to 149.66 s and 200 MB), back with their own timing and sound at 24 fps. Seven stages: **Shots** (Detect edits finds the cuts in the browser; fix them; Replace character or Keep original per shot), **Words** (Transcribe, who speaks each line, Build shot prompts), **Who to swap** (largest, leftmost, rightmost, person #n or words, plus Include / Exclude clicks on any frame; Track shot and Update frame make mask versions you approve), **Scene anchors** (make or Import a still of the scene with your character, approve one), **Segments** (5, 10 or 15 s, each Starts fresh or Continues previous, queued one, from here or all, each priced; a continuation starts itself when the take before is done, even with the page closed), **Takes & review** (several takes, Compare, Keep / Maybe / Skip with notes, Export decisions as JSON) and **Assemble** (the chosen takes over the original timeline with the clip's sound, to download and in the Library). Settings per shot (swap LoRA, 480 or 768, window, history, seed, anchor and mask on or off; the mask on your GPU only) and per segment. Prices show before anything runs, except a cloud **browser copy** of a clip the browser can't play (AVI, or an unsupported codec), billed per compute second. Removing a clip or re-cutting shots stops jobs nothing uses any more. The Finish stage (a clean background plate and cut-outs) shows as "Not available", with the reason. Demo mode runs the whole flow for free. `tests/e2e/character-swap-studio.mjs`; nothing has run on a GPU or with a fal key (§3) || Motion Control | 🟢 | Kling 3.0 Motion Control (default), Fuobe Genjutsu · Motion and its Lite tier (Wan 2.2 Animate on fal), SCAIL-2, Wan Motion | Wan Animate 2 (default), Fuobe Genjutsu · Motion, Wan 2.2 Fun Control | `/motion-control`; links to Genjutsu's Character swap |- | Edit Video | 🟢 | Kling O3 / O1, Kling O3 4K Edit, Gemini Omni Flash 1.1, 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, Fuobe Genjutsu · Restyle. Seedance 2.5's edit (Higgsfield only) is gone: a request for it runs on Kling O3 edit, with a note | 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 |+ | Edit Video | 🟢 | Kling O3 / O1, Kling O3 4K Edit, Gemini Omni Flash 1.1, 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, Fuobe Genjutsu · Restyle, Fuobe Evolution (with a Change control), Fuobe Shorts. Seedance 2.5's edit (Higgsfield only) is gone: a request for it runs on Kling O3 edit, with a note | Wan 2.2 Fun Control, Z-Image Mixed Media, Fuobe Evolution (you add its direction frame yourself; the Evolution tab makes it for you), Fuobe Mixed Media, Fuobe Shorts (you add the clip's first frame in the new look; Shorts Studio makes it for you) | `/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. Since Fixes 5 (round 5, part 1) the page reads the clip: edits that keep the clip's length (Happy Horse, Runway Aleph 2, Lucy Edit Pro, Kling O3 4K edit, Gemini Omni Flash, Grok Imagine video edit) are priced on its seconds, not a flat 5 s, and a clip outside a model's window blocks Generate with the reason (Happy Horse and Kling O3 4K edit 3–15 s, Runway Aleph 2 2–30 s, Wan 2.7 2–10 s, Gemini Omni Flash up to 10 s); the API refuses it too. Happy Horse Video Edit is $0.28/s at 720p and $0.56/s at 1080p of the clip (it showed about twice that). Checked in the browser (`fixes-5.mjs`: a 12 s clip ≈ $3.36 on Happy Horse, a 40 s clip blocked) || 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, 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 |@@@ -118,11 -123,11 +124,11 @@@| 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: 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 (ComfyUI-Whisper, now installed by default; `NC_PACKS=0` leaves it out) | 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, plus 3D from several photos, from text, a picked object, splats, rigging | 🟢 | From an image: Hunyuan3D 3.1 Pro (default) / Rapid, TRELLIS.2, Tripo H3.1, Meshy 7.1. From several images: Meshy 7.1 Multi-view (≈ $1.20). From text: Tripo H3.1 (≈ $0.20). Pick an object: SAM 3D Objects, now asked for a textured GLB. Splat: TripoSplat ($0.05). Rig & animate: Meshy Rigging ($0.20, +$0.12 with an animation) | From an image: TRELLIS.2 (textured GLB + turntable MP4, MIT), Hunyuan3D 2.1 (shape only, territory-restricted licence). From several images: TRELLIS.2 Multi-view (the front plus 1–3 sides; a 5.58 GB download; 16 GB VRAM, unverified). From text: Z-Image Turbo draws the object, then TRELLIS.2 builds it. Splat: TripoSplat (.spz + an orbit video). No open Pick an object or rigging; the page offers the cloud or From an image | `/image-to-3d` and an app: a mode picker (From an image, From several images, From text, Pick an object, Splat; also `?mode=` and `?model=`), the price before you run, licence lines for open models, orbitable GLB viewer, downloads, turntable (TRELLIS.2's, or recorded in the browser for mesh-only models), "Animate the spin". Rig & animate on a finished model: a skeleton with walk and run cycles, or one of 30 curated Meshy animations in 6 groups (any other by its number, up to 696); the dialog starts on Casual walk ($0.32); a rigged model plays its animation here and in the Library. A splat gets a .spz / .ply download and a pointer to a viewer such as SuperSplat; Fuobe doesn't draw splats yet. A cloud model's extra formats (OBJ, FBX, USDZ…) and previews are now stored with the result. "Built with DINOv3" shows under TRELLIS.2 and TripoSplat results on both engines. Checked in demo mode; no GPU or paid run |+| Image to 3D / product spin, plus 3D from several photos, from text, a picked object, splats, rigging | 🟢 | From an image: Hunyuan3D 3.1 Pro (default) / Rapid, TRELLIS.2, Tripo H3.1, Meshy 7.1. From several images: Meshy 7.1 Multi-view (≈ $1.20). From text: Tripo H3.1 (≈ $0.20). Pick an object: SAM 3D Objects, now asked for a textured GLB. Splat: TripoSplat ($0.05). Rig & animate: Meshy Rigging ($0.20, +$0.12 with an animation) | From an image: Pixal3D (default: MoGe-2 camera, ~250k-triangle textured GLB; its own 5.58 GB download), TRELLIS.2 (the fallback, MIT), Hunyuan3D 2.1 (shape only, territory-restricted licence). From several images: TRELLIS.2 Multi-view (the front plus 1–3 sides; a 5.58 GB download; 16 GB VRAM, unverified). From text: Z-Image Turbo draws the object, then TRELLIS.2 builds it. Splat: TripoSplat (.spz + an orbit video). No open Pick an object or rigging; the page offers the cloud or From an image. Before an open GLB job shows as done, the server finishes the model in about a second (`src/server/model3d-finish.ts`: roughness floor by material, pivot at the bottom, meshopt + WebP web GLB); after it, one at a time and at low priority, it renders a 96-frame 24 fps turntable on the CPU when Chromium and ffmpeg are there, and adds it to the result (the card shows its progress), in place of the one the multi-view graph renders | `/image-to-3d` and an app: a mode picker (From an image, From several images, From text, Pick an object, Splat; also `?mode=` and `?model=`), the price before you run, licence lines for open models, cards that play the turntable, the orbitable viewer (the web GLB, with the meshopt decoder from `/vendor`), which loads only when opened, downloads (the raw GLB), turntable (the server's, TripoSplat's orbit, or recorded in the browser: 96 frames, 24 fps, WebCodecs), "Animate the spin". Rig & animate on a finished model: a skeleton with walk and run cycles, or one of 30 curated Meshy animations in 6 groups (any other by its number, up to 696); the dialog starts on Casual walk ($0.32); a rigged model plays its animation here and in the Library. A splat gets a .spz / .ply download and a pointer to a viewer such as SuperSplat; Fuobe doesn't draw splats yet. A cloud model's extra formats (OBJ, FBX, USDZ…) and previews are now stored with the result. "Built with DINOv3" shows under TRELLIS.2 and TripoSplat results on both engines, and under Pixal3D's. Checked in demo mode, and the finish, the turntable runner and the browser recorder by tests (`model3d-finish`, `model3d-runner`, `model3d-webm`); no GPU or paid run through Fuobe yet || 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) |+ | Try-On, Angles, Product Shot apps | 🟢 | FASHN Try-On 1.6 (also Google, Leffa); Qwen Multiple Angles (rotate / tilt / zoom); Bria Product Shot. **Fuobe Angles** (new app, beta; round 5, part 1, O11): fal's Qwen-Image-Edit 2509 multiple-angles at about 1 MP, $0.035 | FLUX.2 [klein] 4B + try-on LoRA; Qwen-Image-Edit 2511 + Multiple-Angles LoRA; Qwen-Image-Edit 2509 + White_to_Scene LoRA. Fuobe Angles: Qwen-Image-Edit 2509 with the Lightning LoRA and dx8152's Multiple-angles LoRA (`qwen-image-edit-2509-angles`, 24 GB; one new 0.24 GB file), free | The notes say what the open route runs. Try-on needs the person and the garment; the Virtual Try-On app's GPU route now fetches its try-on LoRA through the LoRA library, under its Settings switch. **Fuobe Angles** sits next to Angles: Rotate (90° left to 90° right), Camera height, Distance and Lens, plus a note used on your GPU only (fal's route takes no prompt, and the plan says so); a camera that doesn't move, with no note, is refused. The Angles app keeps its Qwen-Image-Edit 2511 recipe until the `angles` suite measures Fuobe Angles. Checked in demo mode (`open-tools.mjs`) |+ | Relight, Skin Enhancer, Headshots, Packshot, Face/Character Swap, Transitions… | 🟢 | 125 apps: 123 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, Fuobe Angles (new, beta) |+ | Approximated apps | 🟡 | — | — | 16 apps are marked as approximations on their page (e.g. one silent clip where Higgsfield beat-matches several), out of 43 with a parity note (what the Fuobe or open version does differently) |### Characters, lipsync, audio@@@ -144,37 -149,38 +150,38 @@@| 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 | 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, LM Studio, Unsloth Studio or another OpenAI-compatible server (`oss-text-llm`, never calls Claude); when none is ready, 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 a local model. Settings → AI helper → Offline rewriter (`FUOBE_ENHANCE_PROVIDER=none`) turns text steps off |-| 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. Since Fixes 5 (round 5, part 1), a busy Ollama (loading a model, writing a long answer) counts as running, as a busy ComfyUI does (§2, Getting started and connections). Settings → Prompt enhancement → Offline rewriter (`FUOBE_ENHANCE_PROVIDER=none`) turns text steps off |++| Text steps (translate, write) | 🟢 | Claude (`text-llm`) | A local model on Ollama, LM Studio, Unsloth Studio or another OpenAI-compatible server (`oss-text-llm`, never calls Claude); when none is ready, 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 a local model. Since Fixes 5 (round 5, part 1), a busy Ollama (loading a model, writing a long answer) counts as running, as a busy ComfyUI does (§2, Getting started and connections). Settings → AI helper → 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 |+| Brand kit + products | 🟢 | Website research needs no model; Claude fills the soft fields (tone, audience, selling points) | A local model, 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), 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. Higgsfield's Marketing Studio Image model is retired: a stored run on it moves to GPT Image 2.5 until O10 |+ | Marketing Studio → Fuobe Marketing Image | 🟢 cloud · 🟢 open | **Fuobe Marketing Image** (first for every image format since round 5, part 1, O10): hosted Qwen-Image-Edit 2511 with your product photo (fal, its LoRA endpoint when LoRAs ride along, or Replicate), fal's Qwen-Image 2512 without one; $0.03 a megapixel. Choices 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 / Nano Banana Pro (ads, posters, listings), 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 | Fuobe Marketing Image is the only image model: Qwen-Image-Edit 2511 (up to 3 references: product, person, setting) or Qwen-Image 2512 without a product photo (24 GB); a Standalone shot from one product photo is cut out, put on white and relit into the scene (Qwen-Image-Edit 2509 with the Lightning and White_to_Scene LoRAs). 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. On Fuobe Marketing Image the headline, CTA and logo are set over the picture in the browser, in the brand fonts, on both engines (before, on your GPU only; cloud partners draw their own text), so a batch of N becomes N one-picture runs. Every step of a plan stays on the studio's engine, so a GPU run can't be billed on fal. Higgsfield's Marketing Studio Image model is retired: a stored run on it now moves to Fuobe Marketing Image (GPT Image 2.5 before). Checked in demo mode (`marketing-originals.mjs`); no picture has been rendered |-| Click to Ad / Link to Video Ad | 🟢 · end card ✅ open (CPU), 🟢 cloud | Same UGC models, or product-only shots; 9:16, ≤12 s, voiceover and captions. End card: the card drawn in the browser becomes a 2.5 s zoom (fal's Ken Burns) with a silent track, joined after the ad (fal merge-videos); an API call with no drawn card gets the kit's logo on its accent colour (fal overlay-image) | Same open UGC chain. End card: `video-append-endcard` on core nodes (CPU, no model download); still-to-clip plus a sound-keeping join when ComfyUI didn't encode the ad | `/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. **End card** switch with a live 9:16 preview: accent colour, logo (or brand name), product, an editable call to action ("Shop now") and the shop's web address; on by default when the product kit has a logo; adds 2.5 s, included in the price. The open end card ran twice on a CPU ComfyUI (§1); the cloud one hasn't run with a real key |-| Ads Studio | 🟢 cloud · 🟢 open | Claude copy (angle, headline, body, CTA) + a **Fuobe Marketing Image** visual (default since round 5, part 1, O10; a **Pictures by** menu offers Nano Banana Pro or GPT Image 2.5 instead and reprices the batch) + compositing in the browser | Fuobe Marketing Image visual (Qwen-Image-Edit 2511 / Qwen-Image 2512; priced "Free") + 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. The "Made by Higgsfield / Fuobe" picker is gone: every ad is made this way, in all three formats; ads Higgsfield drew whole stay as they were, and Retry remakes them this way, on the batch's own picture model. Assist and MCP's `create_ads` price and run on Fuobe Marketing Image. A stored run on Higgsfield's Ads Studio model now moves to Fuobe Marketing Image (Nano Banana Pro before). Checked in demo mode (`marketing-originals.mjs`) |+| Click to Ad / Link to Video Ad | 🟢 · end card ✅ open (CPU), 🟢 cloud | Same UGC models, or product-only shots; 9:16, ≤12 s, voiceover and captions. End card: the card drawn in the browser becomes a 2.5 s zoom (fal's Ken Burns) with a silent track, joined after the ad (fal merge-videos); an API call with no drawn card gets the kit's logo on its accent colour (fal overlay-image) | Same open UGC chain. End card: `video-append-endcard` on core nodes (CPU, no model download); still-to-clip plus a sound-keeping join when ComfyUI didn't encode the ad | `/marketing/click-to-ad`: link → "Building your product kit" → 10 styles → script (Claude, a local model 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. **End card** switch with a live 9:16 preview: accent colour, logo (or brand name), product, an editable call to action ("Shop now") and the shop's web address; on by default when the product kit has a logo; adds 2.5 s, included in the price. The open end card ran twice on a CPU ComfyUI (§1); the cloud one hasn't run with a real key |- | Ads Studio | 🟢 | Claude copy (angle, headline, body, CTA) + Nano Banana Pro visual + compositing in the browser, until O10 | Qwen-Image-Edit / Qwen-Image visual + the same compositing; local-model 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. The "Made by Higgsfield / Fuobe" picker is gone: every ad is made this way, in all three formats; ads Higgsfield drew whole stay as they were, and Retry remakes them this way |++| Ads Studio | 🟢 cloud · 🟢 open | Claude copy (angle, headline, body, CTA) + a **Fuobe Marketing Image** visual (default since round 5, part 1, O10; a **Pictures by** menu offers Nano Banana Pro or GPT Image 2.5 instead and reprices the batch) + compositing in the browser | Fuobe Marketing Image visual (Qwen-Image-Edit 2511 / Qwen-Image 2512; priced "Free") + the same compositing; local-model 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. The "Made by Higgsfield / Fuobe" picker is gone: every ad is made this way, in all three formats; ads Higgsfield drew whole stay as they were, and Retry remakes them this way, on the batch's own picture model. Assist and MCP's `create_ads` price and run on Fuobe Marketing Image. A stored run on Higgsfield's Ads Studio model now moves to Fuobe Marketing Image (Nano Banana Pro before). Checked in demo mode (`marketing-originals.mjs`) || Ad Multiplier | 🟢 | Kling O3 edit (default) or Happy Horse video edit, both keeping the ad's sound and recreating at most the first 15 s (a longer selection is cut, with a note), or Gemini Omni Flash (prompt only). Hook / CTA: first or last frame → image-to-video → joined around the original | Fuobe Genjutsu · Motion (Wan Animate 2) + 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. A channel with a style brief (only Content Factory makes them) follows it: the brief's look, camera and music words go into the prompts, scenes are paced by it, captions take its words per caption and position, and episodes can be 30 s long |-| Content Factory (faceless series from a reference) | 🟢 cloud · 🟢 open | Reading the reference: frames (fal extract-frames, about one a second) and a transcript (ElevenLabs Scribe v2), written into a brief by Claude (up to 20 frames) or Ollama (Settings → Prompt enhancement; a text-only Ollama model uses only the transcript). Episodes: Faceless Studio's cloud pipeline | Reading: Gemma 4 E4B on ComfyUI reads the first 30 s with their sound (`reference-brief-gemma4`, ~12 GB VRAM, needs ComfyUI-VideoHelperSuite). Episodes: Faceless Studio's open pipeline | `/content-factory`, `/content-factory/[id]` (sidebar → Studios): upload a clip (MP4, MOV, WebM), paste a TikTok, Instagram or web-page link (YouTube links and pages with no video ask for an upload), or pick one of 8 preset styles. The editable brief covers format, hook, pacing, look, music and narrator; in demo mode, with the Offline rewriter, or when the LLM doesn't answer, a simpler offline brief is used and marked as such. Compose: topic, 30 s to 5 min, 1–10 episodes, animation style, genre, 9:16 or 16:9, narrator, optional script review; the whole series' price first. **Generate here** makes a Faceless channel that carries the brief, starts one episode per title and opens the series page (episodes, brief, Next episode, Delete series). **Generate in Claude** gives a `claude mcp add` line and a prompt for Claude Code, which uses the existing `faceless_episode` MCP tool; nothing is sent. Checked in demo mode; no real fal, Scribe or Claude call and no Gemma 4 run |+| Content Factory (faceless series from a reference) | 🟢 cloud · 🟢 open | Reading the reference: frames (fal extract-frames, about one a second) and a transcript (ElevenLabs Scribe v2), written into a brief by Claude (up to 20 frames) or a local model (Settings → AI helper; a text-only model uses only the transcript). Episodes: Faceless Studio's cloud pipeline | Reading: Gemma 4 E4B on ComfyUI reads the first 30 s with their sound (`reference-brief-gemma4`, ~12 GB VRAM, needs ComfyUI-VideoHelperSuite). Episodes: Faceless Studio's open pipeline | `/content-factory`, `/content-factory/[id]` (sidebar → Studios): upload a clip (MP4, MOV, WebM), paste a TikTok, Instagram or web-page link (YouTube links and pages with no video ask for an upload), or pick one of 8 preset styles. The editable brief covers format, hook, pacing, look, music and narrator; in demo mode, with the Offline rewriter, or when the LLM doesn't answer, a simpler offline brief is used and marked as such. Compose: topic, 30 s to 5 min, 1–10 episodes, animation style, genre, 9:16 or 16:9, narrator, optional script review; the whole series' price first. **Generate here** makes a Faceless channel that carries the brief, starts one episode per title and opens the series page (episodes, brief, Next episode, Delete series). **Generate in Claude** gives a `claude mcp add` line and a prompt for Claude Code, which uses the existing `faceless_episode` MCP tool; nothing is sent. Checked in demo mode; no real fal, Scribe or Claude call and no Gemma 4 run || 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, Fuobe Genjutsu · Motion (Wan 2.2 Animate on fal, 1 reference) or Kling 3.0 Motion Control; joined at the original cut times over the original soundtrack | Same chain with Qwen-Image-Edit, Fuobe Genjutsu · Motion (Wan Animate 2) / Wan 2.2 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. A saved job naming Higgsfield's Genjutsu Motion Transfer or Wan Animate 2 opens Fuobe Genjutsu · Motion || 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 | 🟢 | Fuobe Soul with the character's Soul ID, else Nano Banana Pro or Seedream 5.0 Pro with their photos | Fuobe Soul with the character's Soul ID, 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 | 🟢 | Base shots on Fuobe Soul with the character's Soul ID, else Nano Banana Pro; FASHN try-on (Nano Banana Pro as the alternative), Nano Banana Pro photoset | Base shots on Fuobe Soul with the character's Soul ID, else Qwen-Image-Edit; 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) | 🟡 · board ✅ in the browser · new nodes 🟢 (the open Video concatenator ✅ on CPU) | Any cloud model on a node. Change voice: ElevenLabs Voice Changer, or hosted Chatterbox for a cloned voice. Translate: text through the app's text model, video through ElevenLabs Dubbing. Video concatenator: fal's trim, scale, silent-track mux and merge (joins of at most 24) | Any open model on a node. Change voice: Chatterbox VC. Translate: text through a local model or ComfyUI's Qwen3.5; video starts a Translate & dub session (open-source-only installs). Video concatenator: the new `video-fit-clip` (CPU, no model) per clip, then the packet-copy join | `/canvas`, `/canvas/[id]` on @xyflow/react: 18 node types (text prompt, image / video / audio input, element, model, join, extract frame, upscale, remove background, speech, Change voice, Clone voice, Translate, Video concatenator, Table, output / compare, note), typed edges (now with a Voice type), Run node / selected / all, fresh results reused, pins, autosave, phone node list. On desktop: page tabs (up to 20, Undo on delete), a toolbar with keys (V Select, H Pan, D Draw, E Eraser, N Note, ⇧T Table, R Shapes, T Text, C Comment), drawing and shapes in six ink colours, groups (⌘/Ctrl+G) with Run group showing the node count and price, and comment pins with replies. Dragging the empty board draws a selection box; scroll or H pans, pinch or ⌘/Ctrl-scroll zooms. Clone voice records, uploads or picks a saved voice. The Video concatenator joins up to 50 clips, each cut and muted on its own, in 8 aspect ratios at 30 fps. A Table (up to 8 columns × 50 rows) runs the node it feeds once per row. Phones get a page picker over the read-only board. 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; a Fuobe Soul node keeps its own engine and uses the General look. 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. 7 templates, each in a cloud and an all-open-source version (new: "Clips → one film" and "Table → shots → film"; the talking-avatar template's voice sample is now a Clone voice node). Not built: nested groups, a Folder node, comment reactions, multiplayer |+ | Photodump Studio / Instadump | 🟢 | Fuobe Soul with the character's Soul ID, else hosted Qwen-Image-Edit 2511 with their photos (default since round 5, part 1, O10; it was Nano Banana Pro), with Nano Banana Pro and Seedream 5.0 Pro as choices | Fuobe Soul with the character's Soul ID, 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. Checked in demo mode (`marketing-originals.mjs`: the model chips) |+ | Fashion Factory → Fuobe Try-On | 🟢 cloud · 🟢 open | Base shots on Fuobe Soul with the character's Soul ID, else hosted Qwen-Image-Edit 2511. Outfit on **Fuobe Try-On** (default since round 5, part 1, O10: fal's FLUX.2 [klein] 4B edit with the try-on LoRA, $0.03), FASHN Try-On or Nano Banana Pro. Photoset on hosted Qwen-Image-Edit 2511 (default) or Nano Banana Pro | Base shots on Fuobe Soul with the character's Soul ID, else Qwen-Image-Edit. Outfit on Fuobe Try-On (FLUX.2 [klein] 4B + the try-on LoRA, about 10 GB; the old outfit is greyed out first) or Qwen-Image-Edit 2511; Qwen-Image-Edit photoset | `/fashion-factory`: 6 templates, the 5 steps with Higgsfield's copy; progress survives a reload. The outfit and photoset model chips show on both engines when there are two or more choices. With the try-on LoRA switched off (Settings → Models & licences), the outfit step moves to FASHN in the cloud or Qwen-Image-Edit on your GPU. Checked in demo mode (`marketing-originals.mjs`, the switched-off LoRA through the API on both engines) |-| Canvas (node workflows) | 🟡 · board ✅ in the browser · new nodes 🟢 (the open Video concatenator ✅ on CPU) | Any cloud model on a node. Change voice: ElevenLabs Voice Changer, or hosted Chatterbox for a cloned voice. Translate: text through the app's text model, video through ElevenLabs Dubbing. Video concatenator: fal's trim, scale, silent-track mux and merge (joins of at most 24) | Any open model on a node. Change voice: Chatterbox VC. Translate: text through Ollama or ComfyUI's Qwen3.5; video starts a Translate & dub session (open-source-only installs). Video concatenator: the new `video-fit-clip` (CPU, no model) per clip, then the packet-copy join | `/canvas`, `/canvas/[id]` on @xyflow/react: 18 node types (text prompt, image / video / audio input, element, model, join, extract frame, upscale, remove background, speech, Change voice, Clone voice, Translate, Video concatenator, Table, output / compare, note), typed edges (now with a Voice type), Run node / selected / all, fresh results reused, pins, autosave, phone node list. On desktop: page tabs (up to 20, Undo on delete), a toolbar with keys (V Select, H Pan, D Draw, E Eraser, N Note, ⇧T Table, R Shapes, T Text, C Comment), drawing and shapes in six ink colours, groups (⌘/Ctrl+G) with Run group showing the node count and price, and comment pins with replies. Dragging the empty board draws a selection box; scroll or H pans, pinch or ⌘/Ctrl-scroll zooms. Clone voice records, uploads or picks a saved voice. The Video concatenator joins up to 50 clips, each cut and muted on its own, in 8 aspect ratios at 30 fps. A Table (up to 8 columns × 50 rows) runs the node it feeds once per row. Phones get a page picker over the read-only board. 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; a Fuobe Soul node keeps its own engine and uses the General look. 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. 7 templates, each in a cloud and an all-open-source version (new: "Clips → one film" and "Table → shots → film"; the talking-avatar template's voice sample is now a Clone voice node). Since round 5, part 1 the template picker is split into sections, with a new **Effects 2.0 chains** section (10 templates; its own row in Create). Not built: nested groups, a Folder node, comment reactions, multiplayer |++| Canvas (node workflows) | 🟡 · board ✅ in the browser · new nodes 🟢 (the open Video concatenator ✅ on CPU) | Any cloud model on a node. Change voice: ElevenLabs Voice Changer, or hosted Chatterbox for a cloned voice. Translate: text through the app's text model, video through ElevenLabs Dubbing. Video concatenator: fal's trim, scale, silent-track mux and merge (joins of at most 24) | Any open model on a node. Change voice: Chatterbox VC. Translate: text through a local model or ComfyUI's Qwen3.5; video starts a Translate & dub session (open-source-only installs). Video concatenator: the new `video-fit-clip` (CPU, no model) per clip, then the packet-copy join | `/canvas`, `/canvas/[id]` on @xyflow/react: 18 node types (text prompt, image / video / audio input, element, model, join, extract frame, upscale, remove background, speech, Change voice, Clone voice, Translate, Video concatenator, Table, output / compare, note), typed edges (now with a Voice type), Run node / selected / all, fresh results reused, pins, autosave, phone node list. On desktop: page tabs (up to 20, Undo on delete), a toolbar with keys (V Select, H Pan, D Draw, E Eraser, N Note, ⇧T Table, R Shapes, T Text, C Comment), drawing and shapes in six ink colours, groups (⌘/Ctrl+G) with Run group showing the node count and price, and comment pins with replies. Dragging the empty board draws a selection box; scroll or H pans, pinch or ⌘/Ctrl-scroll zooms. Clone voice records, uploads or picks a saved voice. The Video concatenator joins up to 50 clips, each cut and muted on its own, in 8 aspect ratios at 30 fps. A Table (up to 8 columns × 50 rows) runs the node it feeds once per row. Phones get a page picker over the read-only board. 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; a Fuobe Soul node keeps its own engine and uses the General look. 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. 7 templates, each in a cloud and an all-open-source version (new: "Clips → one film" and "Table → shots → film"; the talking-avatar template's voice sample is now a Clone voice node). Since round 5, part 1 the template picker is split into sections, with a new **Effects 2.0 chains** section (10 templates; its own row in Create). Not built: nested groups, a Folder node, comment reactions, multiplayer |### 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. The offline planner can make several takes and animate the one you pick ("animate 2"). `search_models` describes the Fuobe Originals as running on both engines, and a generate job can name a Soul `look` and an `engine` (without one it follows the user's engine). Models switched off in Settings → Models & licences leave `search_models` and the offline planner's picks. A plan naming a retired model runs on its replacement. Scheduled tasks and connectors: next rows |-| 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 (SKILL.md, or since round 5, part 1 a .zip with the skill's files), turn on / off, upload .md / .zip / .skill (bounded unzip). Also offered as MCP prompts. A user skill can now carry a recipe and run by itself (next row) |+| 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) | A local model's tool calling (Ollama, LM Studio, Unsloth Studio or another OpenAI-compatible server), 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"). `search_models` describes the Fuobe Originals as running on both engines, and a generate job can name a Soul `look` and an `engine` (without one it follows the user's engine). Models switched off in Settings → Models & licences leave `search_models` and the offline planner's picks. A plan naming a retired model runs on its replacement. Scheduled tasks and connectors: next rows |- | Assist skills | ✅ app · 🟢 with an LLM | Loaded into Claude's context with `/name` or `load_skill` | Same on a local model; 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 skills | ✅ app · 🟢 with an LLM | Loaded into Claude's context with `/name` or `load_skill` | Same on a local model; 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 (SKILL.md, or since round 5, part 1 a .zip with the skill's files), turn on / off, upload .md / .zip / .skill (bounded unzip). Also offered as MCP prompts. A user skill can now carry a recipe and run by itself (next row) |+ | Skills that run by themselves, and the skill builder (Fuobe's own: Work2Skill W1 and W2) | ✅ app in demo mode (tests, browser) · 🟢 with real keys or a GPU | Each step runs the catalog model it names, on fal or Replicate, priced first; Translate & dub, Katana and Captions steps run their Assist tool | Each step runs on your ComfyUI through the graphs its model already uses; a step never moves to the other engine | Round 5, part 1. A user skill whose files hold a `recipe.json` (its steps and typed inputs) gets a **Runs by itself** chip in Assist → Skills and a **Run…** form (`/assist/skills?run=<name>`, also ⌘K → Run a skill; full screen on phones): fields from the inputs (media from the Library, a number, a choice, an @element, text), an engine switch for the engines its check passed, a live price, the steps under What runs, and a **Many** tab for up to 50 pasted or uploaded CSV / TSV rows (with a template; bad rows are marked). Each run is one Library batch named after the skill. No chat or AI is involved. A skill must first pass a free **check** on an engine: every step planned and priced, and a dry run on demo mode's mock provider (hidden, then moved to the Trash), even with Demo mode off and no keys; a retired, switched-off or repriced model asks for a re-check, in amber. Only user skills are checked (duplicate a built-in first); an uploaded recipe starts unchecked, and a .zip leaves out examples, sources and checks. **Make a skill from this…** (⋯ menu on any result, in the Library, studio feeds and the viewer) and **Make a skill** (the Library's bulk bar) turn the steps behind results into a draft, hand-made Edit → Animate chains included (linked by their files): each input Fixed or Varies, words in a prompt made into an input, **Check it** (a price per engine and a free dry run), **Save**, then the Run form with the original inputs. Translate & dub, Katana and Captions results become their Assist tool (`dub_video`, `katana`, `add_captions`); other studios are refused by name. Optional name suggestions from Claude or Ollama. Checked in demo mode (`skills-run.mjs`, `skills-builder.mjs`); no skill has run with a real key, on a GPU or with a live LLM, and Assist and MCP can't run a skill yet (W3, §4) || 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 |+ | 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. Its "Remember this?" card says "Saves to memory for future chats" while it asks, "Saved to memory for future chats" once you agree and "Not saved to memory" after Not now (round 5, part 1: it said "Saved" before you answered) |-| Assist scheduled tasks | ✅ app (demo mode) · 🟢 with an LLM | Claude plans (with your Anthropic key); generations are priced at fal / Replicate prices and counted against the run's cap | Ollama or the offline planner; open-engine jobs are $0 | `/assist/scheduled` and a Scheduled tab in each project; a chat's Schedule button opens the dialog with its first request, files, project, engine and mode. Daily, weekly (any days), every 1–168 hours or once, in a time zone you pick, with the next run shown. Ask me first (the plan waits as an approval card; nothing is generated until you approve) or Run on its own within a cap (default $2, at most $500 a run; a plan over it waits). Each run is a new chat in the task's project. Run now, Edit, Pause / Resume, Delete; deleting a project pauses its tasks and says why. A sweep every 30 s starts at boot; a run missed while Fuobe was off happens once after the next start. Ran in demo mode only |-| Connectors (Slack, Drive, Notion…) → your own MCP connectors | ✅ settings · 🟢 with Claude | Remote MCP servers you add, in Claude chats: Anthropic's servers call them (the MCP connector beta), Fuobe never does, so a local address needs a public tunnel | — (Ollama and the offline planner say once that connectors need Claude) | Settings → Assist · connectors (also in ⌘K): a name, an https URL (http only for localhost unless `FUOBE_ALLOW_PRIVATE_URLS=1`), an optional token and Allowed tools; tokens and secret-looking URL parts are masked when shown. Every enabled connector is offered in every Claude chat, Ask-first chats included, and its tools run without asking Fuobe, so Allowed tools is the main safeguard. Scheduled tasks use connectors only when ticked. A chat lists each connector tool Claude used. There are no built-in Slack, Drive or Notion connectors: add the app's own MCP server. The request is built through the real SDK against a fake; no live call |+| Assist scheduled tasks | ✅ app (demo mode) · 🟢 with an LLM | Claude plans (with your Anthropic key); generations are priced at fal / Replicate prices and counted against the run's cap | A local model or the offline planner; open-engine jobs are $0 | `/assist/scheduled` and a Scheduled tab in each project; a chat's Schedule button opens the dialog with its first request, files, project, engine and mode. Daily, weekly (any days), every 1–168 hours or once, in a time zone you pick, with the next run shown. Ask me first (the plan waits as an approval card; nothing is generated until you approve) or Run on its own within a cap (default $2, at most $500 a run; a plan over it waits). Each run is a new chat in the task's project. Run now, Edit, Pause / Resume, Delete; deleting a project pauses its tasks and says why. A sweep every 30 s starts at boot; a run missed while Fuobe was off happens once after the next start. Ran in demo mode only |+| Connectors (Slack, Drive, Notion…) → your own MCP connectors | ✅ settings · 🟢 with Claude | Remote MCP servers you add, in Claude chats: Anthropic's servers call them (the MCP connector beta), Fuobe never does, so a local address needs a public tunnel | — (a local model and the offline planner say once that connectors need Claude) | Settings → Assist · connectors (also in ⌘K): a name, an https URL (http only for localhost unless `FUOBE_ALLOW_PRIVATE_URLS=1`), an optional token and Allowed tools; tokens and secret-looking URL parts are masked when shown. Every enabled connector is offered in every Claude chat, Ask-first chats included, and its tools run without asking Fuobe, so Allowed tools is the main safeguard. Scheduled tasks use connectors only when ticked. A chat lists each connector tool Claude used. There are no built-in Slack, Drive or Notion connectors: add the app's own MCP server. The request is built through the real SDK against a fake; no live call |- | 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. Content Factory's "Generate in Claude" uses `faceless_episode`. Genjutsu, Remove object, Content Factory itself, the AI Influencer builder, the Character Swap Studio and Layers' Inpaint, Enhancer and Save as element have no Assist / MCP tool yet |+ | 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; since round 5, part 1 `restyle_footage` opens a Shorts session on Fuobe Shorts by default on both engines, and on the open engine its Library fallback, for a call Shorts Studio can't take, runs Fuobe Mixed Media with one seed and no references; `create_ads` runs on Fuobe Marketing Image on both engines) | 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. Content Factory's "Generate in Claude" uses `faceless_episode`. Genjutsu, Remove object, Content Factory itself, the AI Influencer builder, the Character Swap Studio, Evolution, skills that run by themselves (W3) and Layers' Inpaint, Enhancer and Save as element have no Assist / MCP tool yet || AI Employees, Apps builder, Websites, Games, 3D Jutsu | ⬜ | — | — | || 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. `search_models` leaves out models switched off in Settings → Models & licences; a call naming a retired model runs on its replacement || 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, and eval (the evaluation harness, from a Fuobe checkout); `--json` on every command. `generate --look <id> --look-strength 0–1` picks a Fuobe Soul look, `--engine` an Original's engine, and `models` lists an Original as open+cloud (`docs/cli.md` doesn't list `--look` yet; `fuobe generate --help` does). `npx skills add workingprototype/Fuobe` installs the playbooks, plus an agent skill that drives Fuobe through MCP or the CLI, in other agents. `fuobe models` lists only models that are on (it reads `GET /api/models`). No ChatGPT app |@@@ -185,47 -191,49 +192,49 @@@| 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. A rigged .glb plays its animation instead of turning; a splat shows its orbit video or picture and a .spz / .ply download, not a 3D view. A Fuobe Soul result's details show its Look and Finish |-| 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. Reuse of a run on a retired model brings it back on its replacement, with a toast saying what changed, and `?model=` with a retired id opens the replacement (round 4, part 5). Checked by `composer-flows.mjs`, `shell.mjs` and the 390 px sweep |+| 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; covers rendered in ComfyUI on 480 of the 487 app, motion and effect cards (474 stills, 6 clips that play on hover), procedural previews on the rest; 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. Reuse of a run on a retired model brings it back on its replacement, with a toast saying what changed, and `?model=` with a retired id opens the replacement (round 4, part 5). 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 (every Image to 3D model and Meshy Rigging now open `/image-to-3d`; an Original is listed once, as "Open source + cloud"). 33 models still open the filtered Models page (§3). Models switched off in Settings → Models & licences leave the palette; it finds Models & licences and Assist connectors. Checked by `shell.mjs` |- | Getting started and connections | ✅ app · ✅ ComfyUI when busy (tests, a live CPU run) · 🟢 key tests | Save & test for the fal.ai, Replicate and Anthropic keys, and the civitai key (Settings → LoRAs). Preferred provider: Automatic, fal.ai first or Replicate first (the Higgsfield key and "Higgsfield first" are gone since round 4, part 5) | Save & test for the ComfyUI address, its auth token, the isolated worker, and each local LLM server's URL, model and key (Settings → AI helper) | 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 and links to Settings → Models & licences. **A busy ComfyUI counts as up** (round 4, part 5): before, one 1.5–2 s check decided, so a busy ComfyUI could send new runs to demo. Now it counts as up if it answered in the last 2 minutes, or if its port accepts a connection and it answers a longer 10 s check; refused, an unknown host or an HTTP error still means down at once, and a port that never answers (a hung ComfyUI, a tunnel to a dead box) is down after the 10 s check. A chain step after real ComfyUI steps waits up to 60 s for ComfyUI ("Waits for ComfyUI to answer") before failing; cloud steps don't wait. A live ComfyUI connected through the guide; no accepted key and no running Ollama were tested |-| Getting started and connections | ✅ app · ✅ ComfyUI when busy (tests, a live CPU run) · 🟢 Ollama when busy (tested against a stand-in), key tests and AI-Toolkit | Save & test for the fal.ai, Replicate and Anthropic keys, and the civitai key (Settings → LoRAs). Preferred provider: Automatic, fal.ai first or Replicate first (the Higgsfield key and "Higgsfield first" are gone since round 4, part 5) | 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 and links to Settings → Models & licences. **A busy ComfyUI counts as up** (round 4, part 5): before, one 1.5–2 s check decided, so a busy ComfyUI could send new runs to demo. Now it counts as up if it answered in the last 2 minutes, or if its port accepts a connection and it answers a longer 10 s check; refused, an unknown host or an HTTP error still means down at once, and a port that never answers (a hung ComfyUI, a tunnel to a dead box) is down after the 10 s check. A chain step after real ComfyUI steps waits up to 60 s for ComfyUI ("Waits for ComfyUI to answer") before failing; cloud steps don't wait. **Ollama follows the same rules** since Fixes 5 (round 5, part 1): a late answer counts as busy if Ollama answered in the last 2 minutes, otherwise it gets one longer 10 s look if its port takes a connection, and a refused port or an HTTP error is down at once. A busy Ollama no longer sends Assist to the offline planner, and opening Assist waits at most 1.5 s for an Ollama that never answers. **Settings → Training · AI-Toolkit** (`/settings#training`, also in ⌘K; new in Fixes 5): the AI-Toolkit address (`http://127.0.0.1:8675` by default), an optional token and the photos folder, each with Save & test; the test says when the trainer wants a token or rejects one, when something else answers, and which trainings are still running, and the folder test checks it can be written without creating it. A saved token is never sent to a new, unsaved address, and the section is dimmed in Paid APIs only. Train dialogs' Open Settings now goes to the section that clears their blocker, and messages that named Settings sections that don't exist now name real ones (a test keeps it so). A live ComfyUI connected through the guide; no accepted key, no running Ollama and no real AI-Toolkit were tested |++| Getting started and connections | ✅ app · ✅ ComfyUI when busy (tests, a live CPU run) · 🟢 Ollama when busy (tested against a stand-in), key tests and AI-Toolkit | Save & test for the fal.ai, Replicate and Anthropic keys, and the civitai key (Settings → LoRAs). Preferred provider: Automatic, fal.ai first or Replicate first (the Higgsfield key and "Higgsfield first" are gone since round 4, part 5) | Save & test for the ComfyUI address, its auth token, the isolated worker, and each local LLM server's URL, model and key (Settings → AI helper) | 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 and links to Settings → Models & licences. **A busy ComfyUI counts as up** (round 4, part 5): before, one 1.5–2 s check decided, so a busy ComfyUI could send new runs to demo. Now it counts as up if it answered in the last 2 minutes, or if its port accepts a connection and it answers a longer 10 s check; refused, an unknown host or an HTTP error still means down at once, and a port that never answers (a hung ComfyUI, a tunnel to a dead box) is down after the 10 s check. A chain step after real ComfyUI steps waits up to 60 s for ComfyUI ("Waits for ComfyUI to answer") before failing; cloud steps don't wait. **Ollama follows the same rules** since Fixes 5 (round 5, part 1): a late answer counts as busy if Ollama answered in the last 2 minutes, otherwise it gets one longer 10 s look if its port takes a connection, and a refused port or an HTTP error is down at once. A busy Ollama no longer sends Assist to the offline planner, and opening Assist waits at most 1.5 s for an Ollama that never answers. **Settings → Training · AI-Toolkit** (`/settings#training`, also in ⌘K; new in Fixes 5): the AI-Toolkit address (`http://127.0.0.1:8675` by default), an optional token and the photos folder, each with Save & test; the test says when the trainer wants a token or rejects one, when something else answers, and which trainings are still running, and the folder test checks it can be written without creating it. A saved token is never sent to a new, unsaved address, and the section is dimmed in Paid APIs only. Train dialogs' Open Settings now goes to the section that clears their blocker, and messages that named Settings sections that don't exist now name real ones (a test keeps it so). A live ComfyUI connected through the guide; no accepted key, no running Ollama and no real AI-Toolkit were tested || Engine choice (open only, paid only, both) | ✅ | — | — | Settings → Engine mode, or `FUOBE_ENGINE_MODE` |- | Models & licences (Fuobe's own: licences as information, with admin switches) | ✅ page and switches (tests, browser) · 🟢 with real providers | Every fal and Replicate route is classed "Proprietary paid API", whatever its weights' licence; Claude by Anthropic's terms | Each open route takes its licence from the workflow manifest, plus its node packs' licences; an Ollama model by its own licence | Settings → Models & licences (`/settings/models`; also from ⌘K, About & licences and the Models page): every model, LoRA and node pack with its licence, link, class and note, in searchable tabs, with switches per licence class (Commercial use allowed, Commercial use with conditions, Restricted regions, Non-commercial, Research only, Proprietary paid API, Licence unknown), provider, node pack, LoRA and model, plus "Keep them on your GPU" (under "LoRAs licensed for your GPU only"), an Off filter and Back to the defaults. Everything is on by default and that rule is off. A switched-off model leaves every picker and listing (studios, Canvas, Cinema, ⌘K, the Models page, `GET /api/models` and the CLI, Assist and MCP's `search_models`). Automatic picks move to the next model that is on, an Original runs on the engine still on, and a run that can't fall back is refused naming the switch (`POST /api/generations` answers 422; chains check every step before queuing). Switched-off LoRAs are left out with a note, their trigger words too; your own LoRAs are exempt from the class switches. Stored in the settings table (`models.access`), no migration; switches set on a retired model or on Higgsfield no longer match anything (§3) |- | LoRAs on both engines (Settings → LoRAs) | ✅ settings page and one Hugging Face download · 🟢 civitai downloads and mirrors · 🟢 open runs · 🟢 cloud runs | Seven hosted open-weight models take LoRAs: Qwen-Image 2512, Qwen-Image-Edit 2511, FLUX.2 [klein] 4B, Wan 2.2 A14B image and video, LTX-2.3 22B (on fal; Qwen-Image-Edit 2511 and Wan 2.2 video also on Replicate), and Z-Image Turbo (hosted), which takes any LoRA on fal and on Replicate (before round 4, part 2, only a trained character's LoRA, on fal). Round 4, part 4 adds five on fal for Soul ID: FLUX.1 [dev], FLUX.1 Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 9B and Krea 2 Turbo. The Fuobe Originals' cloud routes send their looks' and moves' LoRAs the same way, and the hidden relight step sends its Relight LoRA. A LoRA licensed for your own GPU only (a civitai file without the "Rent" permission) now goes to fal or Replicate with a note, unless Settings → Models & licences keeps such LoRAs on your GPU. LoRAs a run can't take (a gated Hugging Face file, more than the model accepts, or one kept on your GPU) are left out with a warning. A civitai file is copied ("mirrored") once to fal or Replicate storage, with civitai's permissions (or the fact that civitai didn't answer) recorded beside it; only with the keep-on-GPU rule on does a copy wait for civitai to allow hosting. A Soul ID trained on your GPU is uploaded once for a cloud run. When a model runs on both providers, Fuobe picks the one that takes every LoRA and the clip length asked, even over the preferred provider | A LoRA ComfyUI lacks is downloaded into the LoRA folder before the run and checked against its SHA-256 fingerprint. This also covers the existing open camera motions and effects and trained @character LoRAs; a Soul ID trained in the cloud is copied into ComfyUI. With no folder set, the run stops and says what to do; a graph with no model loader refuses LoRAs instead of dropping them | Settings → LoRAs (also in the ⌘K palette): the LoRA folder (`COMFYUI_LORAS_DIR`), a civitai API key (`CIVITAI_API_KEY`) with Save & test, and a library of 114 researched LoRAs (67 looks, 23 motions, 24 effects) with licence, source and a Download button: 40 Hugging Face files pinned to a commit, 72 on civitai (they need the key) and 2 gated Hugging Face files placed by hand. An @character's trained LoRA comes before a look's; a preset at strength 0 drops its LoRA and trigger word. Fuobe Soul's looks and Fuobe DoP's motions and effects now take a LoRA from the library, with its pinned download and licence, whenever the file is in it; 36 of the LoRA files the open motions and effects load are on civitai (none were before). One 85 MB LoRA was downloaded live and matched its fingerprint (§1); no LoRA has run on fal, Replicate or a GPU, and civitai downloads and mirrors haven't run live. Settings → LoRAs no longer says GPU-only files are never sent to a cloud API, and no longer paints non-commercial licences red: licences are information (Settings → Models & licences) |- | Originals evaluation harness (developer tool) | ✅ demo and CPU self-test · 🟢 open and cloud measurement | Jobs go through Fuobe's own API to hosted models, priced first, under a spend cap (default $5) | Jobs go through Fuobe's API to your ComfyUI; it also reads ComfyUI's memory peak and timings | `scripts/eval` ([README](../scripts/eval/README.md)): `pnpm eval:run --suite <selftest\|soul\|soul-cinema\|soul-hex\|soul-id\|dop\|dop-mix\|genjutsu\|mixed-media\|shorts\|speak\|cinema> --engine demo\|open\|cloud` (or `fuobe eval`), plus report, a blind A/B review page, compare, promote, covers, history, validate, setup and trash. It scores each Original's recipe (models, LoRAs, settings) with pinned open models (CLIP, an aesthetic score; DINOv2 and AuraFace identity optional) and a palette metric (how close a picture keeps to the palette it was sent) in its own Python venv (`pnpm eval:setup`, needs uv), and its jobs stay hidden in the Library unless Show steps is on. Round 4, part 3 adds `soul-cinema`, `soul-hex` and `dop-mix`; `soul` now names the engine on every request and runs the Graffiti look on Soul HD, and `dop` targets Fuobe DoP with 20 more camera moves. Round 4, part 4 points `cinema` at Fuobe Cinema (9 cases) and `genjutsu` at the Genjutsu Originals (7 cases, Character swap included, with a 6 s walking-figure clip), and gives `soul-id` 5 cases (character, cinema, hd, flux, look), each trained, at half strength and as plain reference photos; the runner sends a character's consent, never measures a demo training as trained and uploads up to 80 photos. `promote` no longer holds a recipe back for its licence (`--licence-hold` brings that back), `covers` gains `--commercial-only`, and the non-commercial buffalo_l face model runs when asked for (`--identity-model buffalo_l`, no longer needing `--accept-noncommercial`) unless `--commercial-only` is given; AuraFace stays the default. Nothing changes in the app. No Original has been measured on a GPU or the cloud, no recipe has been promoted, and there are no preset covers yet |- | 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; per megapixel of video for Fuobe Cinema; a cost cap per Cinema project and per scheduled Assist run; "Free" for open source. No billing, credits or Unlimited mode |+ | Models & licences (Fuobe's own: licences as information, with admin switches) | ✅ page and switches (tests, browser) · 🟢 with real providers | Every fal and Replicate route is classed "Proprietary paid API", whatever its weights' licence; Claude by Anthropic's terms | Each open route takes its licence from the workflow manifest, plus its node packs' licences; an Ollama model by its own licence | Settings → Models & licences (`/settings/models`; also from ⌘K, About & licences and the Models page): every model, LoRA and node pack with its licence, link, class and note, in searchable tabs, with switches per licence class (Commercial use allowed, Commercial use with conditions, Restricted regions, Non-commercial, Research only, Proprietary paid API, Licence unknown), provider, node pack, LoRA and model, plus "Keep them on your GPU" (under "LoRAs licensed for your GPU only"), an Off filter and Back to the defaults. Everything is on by default and that rule is off. A switched-off model leaves every picker and listing (studios, Canvas, Cinema, ⌘K, the Models page, `GET /api/models` and the CLI, Assist and MCP's `search_models`). Automatic picks move to the next model that is on, an Original runs on the engine still on, and a run that can't fall back is refused naming the switch (`POST /api/generations` answers 422; chains check every step before queuing). Switched-off LoRAs are left out with a note, their trigger words too; your own LoRAs are exempt from the class switches. Stored in the settings table (`models.access`), no migration; switches set on a retired model or on Higgsfield no longer match anything (§3). Since round 5, part 1 it also lists the eight new Originals, Video Depth Anything (large) and four **adapter** LoRAs that a recipe always loads (the try-on, next-scene, Multiple-angles and FusioniX LoRAs), each with a switch: an Original whose recipe LoRA is switched off leaves the pickers, and a run of it is refused, naming the switch |+ | LoRAs on both engines (Settings → LoRAs) | ✅ settings page and one Hugging Face download · 🟢 civitai downloads and mirrors · 🟢 open runs · 🟢 cloud runs | Seven hosted open-weight models take LoRAs: Qwen-Image 2512, Qwen-Image-Edit 2511, FLUX.2 [klein] 4B, Wan 2.2 A14B image and video, LTX-2.3 22B (on fal; Qwen-Image-Edit 2511 and Wan 2.2 video also on Replicate), and Z-Image Turbo (hosted), which takes any LoRA on fal and on Replicate (before round 4, part 2, only a trained character's LoRA, on fal). Round 4, part 4 adds five on fal for Soul ID: FLUX.1 [dev], FLUX.1 Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 9B and Krea 2 Turbo. The Fuobe Originals' cloud routes send their looks' and moves' LoRAs the same way, and the hidden relight step sends its Relight LoRA; round 5, part 1's Originals send their recipe LoRAs too (the try-on LoRA, the Mixed Media looks' LoRAs, the storyboard's next-scene LoRA as a pinned Hugging Face link), and LTX 2.3 HDR gains a LoRA endpoint. A recipe's LoRAs go before your own, and a parallel run's copies of one LoRA share one upload. A LoRA licensed for your own GPU only (a civitai file without the "Rent" permission) now goes to fal or Replicate with a note, unless Settings → Models & licences keeps such LoRAs on your GPU. LoRAs a run can't take (a gated Hugging Face file, more than the model accepts, or one kept on your GPU) are left out with a warning. A civitai file is copied ("mirrored") once to fal or Replicate storage, with civitai's permissions (or the fact that civitai didn't answer) recorded beside it; only with the keep-on-GPU rule on does a copy wait for civitai to allow hosting. A Soul ID trained on your GPU is uploaded once for a cloud run. When a model runs on both providers, Fuobe picks the one that takes every LoRA and the clip length asked, even over the preferred provider | A LoRA ComfyUI lacks is downloaded into the LoRA folder before the run and checked against its SHA-256 fingerprint. This also covers the existing open camera motions and effects and trained @character LoRAs; a Soul ID trained in the cloud is copied into ComfyUI. With no folder set, the run stops and says what to do (since round 5, part 1, the Mixed Media studio leaves a look LoRA ComfyUI lacks out with a note instead); a graph with no model loader refuses LoRAs instead of dropping them, and a LoRA a graph already loads isn't added twice | Settings → LoRAs (also in the ⌘K palette): the LoRA folder (`COMFYUI_LORAS_DIR`), a civitai API key (`CIVITAI_API_KEY`) with Save & test, and a library of 118 researched LoRAs (67 looks, 23 motions, 24 effects and, since round 5, part 1, 4 adapters in an **Adapters** tab) with licence, source and a Download button: 44 Hugging Face files pinned to a commit, 72 on civitai (they need the key) and 2 gated Hugging Face files placed by hand. An @character's trained LoRA comes before a look's; a preset at strength 0 drops its LoRA and trigger word. Fuobe Soul's looks and Fuobe DoP's motions and effects now take a LoRA from the library, with its pinned download and licence, whenever the file is in it; 36 of the LoRA files the open motions and effects load are on civitai (none were before). One 85 MB LoRA was downloaded live and matched its fingerprint (§1); no LoRA has run on fal, Replicate or a GPU, and civitai downloads and mirrors haven't run live. Settings → LoRAs no longer says GPU-only files are never sent to a cloud API, and no longer paints non-commercial licences red: licences are information (Settings → Models & licences) |+ | Originals evaluation harness (developer tool) | ✅ demo and CPU self-test · 🟢 open and cloud measurement | Jobs go through Fuobe's own API to hosted models, priced first, under a spend cap (default $5) | Jobs go through Fuobe's API to your ComfyUI; it also reads ComfyUI's memory peak and timings | `scripts/eval` ([README](../scripts/eval/README.md)): `pnpm eval:run --suite <selftest\|soul\|soul-cinema\|soul-hex\|soul-id\|dop\|dop-mix\|genjutsu\|mixed-media\|shorts\|speak\|cinema\|marketing\|evolution\|popcorn\|angles> --engine demo\|open\|cloud` (or `fuobe eval`), plus report, a blind A/B review page, compare, promote, covers, history, validate, setup and trash. It scores each Original's recipe (models, LoRAs, settings) with pinned open models (CLIP, an aesthetic score; DINOv2 and AuraFace identity optional) and a palette metric (how close a picture keeps to the palette it was sent) in its own Python venv (`pnpm eval:setup`, needs uv), and its jobs stay hidden in the Library unless Show steps is on. Round 4, part 3 adds `soul-cinema`, `soul-hex` and `dop-mix`; `soul` now names the engine on every request and runs the Graffiti look on Soul HD, and `dop` targets Fuobe DoP with 20 more camera moves. Round 4, part 4 points `cinema` at Fuobe Cinema (9 cases) and `genjutsu` at the Genjutsu Originals (7 cases, Character swap included, with a 6 s walking-figure clip), and gives `soul-id` 5 cases (character, cinema, hd, flux, look), each trained, at half strength and as plain reference photos; the runner sends a character's consent, never measures a demo training as trained and uploads up to 80 photos. `promote` no longer holds a recipe back for its licence (`--licence-hold` brings that back), `covers` gains `--commercial-only`, and the non-commercial buffalo_l face model runs when asked for (`--identity-model buffalo_l`, no longer needing `--accept-noncommercial`) unless `--commercial-only` is given; AuraFace stays the default. Nothing changes in the app. Round 5, part 1 adds the `marketing`, `evolution`, `popcorn` and `angles` suites and points `mixed-media` and `shorts` at their Originals, with partner variants to compare against; `eval validate` refuses a case whose route body names an input the case lacks. Real runs of the new suites need local inputs (`scripts/eval/README.md`). No Original has been measured on a GPU or the cloud, no recipe has been promoted, and there are no preset covers yet |+ | 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 and, since round 5, part 1, for Edit video's length-keeping edits; by the voice's length for talking avatars; per megapixel of video for Fuobe Cinema and Fuobe Evolution; per frame for Mixed Media and frames ÷ 16 for Fuobe Shorts; a cost cap per Cinema project and per scheduled Assist run; "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). Share links (`/s/<token>`) skip sign-in by design, after the host and cross-site checks, with a throttle on wrong tokens (§3) |- | Accounts, teams, community feed, contests, Academy | ⬜ | — | — | Single-user and self-hosted today; sharing is read-only links (above) |+ | Accounts, teams, community feed, contests, Academy | ⬜ | — | — | Single-user and self-hosted today; sharing is read-only links (above). Accounts are researched, not built: [`accounts-8.md`](research/accounts-8.md) plans three modes (Personal, In-house studio, Platform) in 57 packages (§4) || 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. Round 4, part 3: `POST /api/generations` takes `engine` for an Original; `GET /api/models` lists an Original once with both engines, or as the engine asked for; `POST /api/generations/[id]/finish` saves a browser-finished Fuobe Soul picture (PNG, up to 64 MB; the raw one stays as `meta.original`). **Breaking** (round 4, part 3): canvas responses return `pages`, not `graph` (writes still take `graph`, with an optional `page`). Round 4, part 4: new `/api/shares[/id]`, `/api/assist/schedules[/id[/run]]`, `/api/assist/connectors[/id]`, `GET/PUT /api/settings/models`, `POST /api/genjutsu/describe` and `/transcribe`, `GET /api/moodboards/[id]/train`, and the public `/s/<token>` and `/s/<token>/f/<path>`. `GET /api/models` lists only models that are on; `POST /api/generations` answers 422 naming the switch for a model that is off; `GET /api/status` adds `access` while anything is off. **Breaking:** `POST /api/genjutsu` and `/estimate` take mode `character`, and look kind `soul` replaces `higgsfield`; `POST /api/elements/[id]/trainings` takes `{target, consent}` (a character needs `consent: true`), `/lora` takes `family` instead of `modelId`, and `/training-kit` a `family`; Cinema's `GET /api/cinema/projects/[id]` returns `context` as `{cloudAllowed, civitai}` (no `higgsfield`), and `POST …/generate` takes the take's model, prompt, length and size. Elements take up to 80 references. Round 4, part 5: new `/api/swap-studio/projects[/id]` with `clips`, `prepare`, `transcribe`, `masks`, `anchors`, `queue`, `stop`, `takes/stop`, `assemble`, `estimate` and `decisions`; `POST /api/uploads` takes MKV and AVI; `POST /api/generations` may answer with a replacement `modelId` plus `notes` for a retired model; ads batch and estimate bodies and `POST /api/brands/[id]/chat/confirm` ignore `route` and `ratio`, and `/api/ads/estimate` no longer returns `route`; `POST /api/providers/test` with `higgsfield` answers 400, `GET /api/status` no longer lists it, and `PUT /api/settings` ignores `higgsfieldKey` and refuses `cloudProvider: "higgsfield"` (400). **Removed:** `GET /api/providers/higgsfield/presets` |+ | 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. Round 4, part 3: `POST /api/generations` takes `engine` for an Original; `GET /api/models` lists an Original once with both engines, or as the engine asked for; `POST /api/generations/[id]/finish` saves a browser-finished Fuobe Soul picture (PNG, up to 64 MB; the raw one stays as `meta.original`). **Breaking** (round 4, part 3): canvas responses return `pages`, not `graph` (writes still take `graph`, with an optional `page`). Round 4, part 4: new `/api/shares[/id]`, `/api/assist/schedules[/id[/run]]`, `/api/assist/connectors[/id]`, `GET/PUT /api/settings/models`, `POST /api/genjutsu/describe` and `/transcribe`, `GET /api/moodboards/[id]/train`, and the public `/s/<token>` and `/s/<token>/f/<path>`. `GET /api/models` lists only models that are on; `POST /api/generations` answers 422 naming the switch for a model that is off; `GET /api/status` adds `access` while anything is off. **Breaking:** `POST /api/genjutsu` and `/estimate` take mode `character`, and look kind `soul` replaces `higgsfield`; `POST /api/elements/[id]/trainings` takes `{target, consent}` (a character needs `consent: true`), `/lora` takes `family` instead of `modelId`, and `/training-kit` a `family`; Cinema's `GET /api/cinema/projects/[id]` returns `context` as `{cloudAllowed, civitai}` (no `higgsfield`), and `POST …/generate` takes the take's model, prompt, length and size. Elements take up to 80 references. Round 4, part 5: new `/api/swap-studio/projects[/id]` with `clips`, `prepare`, `transcribe`, `masks`, `anchors`, `queue`, `stop`, `takes/stop`, `assemble`, `estimate` and `decisions`; `POST /api/uploads` takes MKV and AVI; `POST /api/generations` may answer with a replacement `modelId` plus `notes` for a retired model; ads batch and estimate bodies and `POST /api/brands/[id]/chat/confirm` ignore `route` and `ratio`, and `/api/ads/estimate` no longer returns `route`; `POST /api/providers/test` with `higgsfield` answers 400, `GET /api/status` no longer lists it, and `PUT /api/settings` ignores `higgsfieldKey` and refuses `cloudProvider: "higgsfield"` (400). **Removed:** `GET /api/providers/higgsfield/presets`. Round 5, part 1: new `POST /api/evolution`, `/api/evolution/estimate` and `/api/evolution/direction`, `POST /api/storyboards/estimate`, `POST /api/influencer/estimate`; `GET` / `PUT /api/assist/skills/[name]/recipe` and `POST …/estimate`, `…/run` and `…/verify` (its paid `real` level is API only and needs `confirm: true`), and `POST /api/assist/skills/draft`, `/draft/check`, `/draft/name` and `/draft/save` (so `draft` is now a reserved skill name); `GET /api/assist/skills/[name]/download?format=zip` gives the skill with its files. `POST /api/storyboards` takes `look`, `lookStrength` and `partner` (cloud boards use the open models unless it sends `partner: "nano-banana-pro"`); `/api/mixed-media` takes `mode: "smooth"`; Shorts sessions use `source.fps`; `/api/photodump/fashion` and Ads batches take `modelId`; `POST /api/providers/test` takes `ai-toolkit`. `POST /api/generations`: a PixeletedFace request returns two rows per picture, mosaics first; a cloud avatar run is re-priced from the voice; a clip edit outside the model's window is refused; the server-set fields `skill`, `demo` and `asked` are dropped from input; new operation `face-mosaic`. No migration (still 23) |## 3. Known issues and caveatsMost important first.**Not run for real (no keys, no GPU)**- - **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, part 1'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. Round 4, part 2 adds: per-frame Mixed Media (how many frames extract-nth-frame returns and in what order, Nano Banana 2 edits with two images, images-to-video at a fractional fps such as 7.5, merge-videos with a set size), the cloud end card (whether merge-videos keeps the ad's voiceover next to the card's silent track, how overlay-image scales a very large logo), Florence-2 OCR (its box units, pixels assumed, and its real price; the $0.001 shown is a placeholder), the Inpaint and Enhancer models, Content Factory's reading (fal frames, Scribe v2, Claude with frames), the AI Influencer sheets, the six hosted LoRA models and every LoRA payload, and civitai downloads and mirrors (mirror lifetimes of 7 days on fal and 1 day on Replicate are guesses). Round 4, part 3 adds: Fuobe Soul on fal and Replicate (fal's rounding to whole megapixels for Qwen-Image 2512 is assumed from its price text, and Replicate is priced at fal's rate), Fuobe DoP on fal's Wan 2.2 A14B and LTX-2.3 and its Replicate fallback, LTX-2.5 Fast's focus shift, the hosted Qwen-Image-Edit 2509 relight, SAM 3D Objects, Meshy multi-view and rigging (and playing a real Meshy animation), Tripo text to 3D, TripoSplat, and the Canvas nodes' ElevenLabs Voice Changer and Dubbing, hosted Chatterbox and the concatenator's fal steps (whether merge-videos keeps sound when one clip has no sound track is unknown). Round 4, part 4 adds: Fuobe Cinema on fal's LTX-2.3 22B (its camera LoRA, the sizes on the 32-pixel grid, the per-megapixel estimate against the real bill, whether extend-video returns the whole clip and honours a backward extend, and the edit's video strength of 0.5, a guess), the Genjutsu Originals on fal (Wan 2.2 Animate move, Wan VACE 14B inpainting, Wan 2.2 VACE Fun depth), MiniMax H3 reference-to-video with Akatz Labs' LoRA (and its mute step for a silent clip), H3 Max Recast, Wan 2.2 Animate Replace, SCAIL-2, Wan Motion, the GPT Image 2.5 Sunburst first frame, Scribe v2 for "Use the clip's words", the eight fal trainers and the five hosted LoRA models (whether fal's FLUX.2 endpoint reads ComfyUI-named LoRA weights, whether a LoRA trained on the klein base behaves the same on the distilled klein endpoint, Krea 2's trainer with Fuobe's captions), real fal and Replicate files through the share metadata cleaner, and Claude with a remote MCP connector. Round 4, part 5 adds: the Character Swap Studio's cloud chain (MiniMax H3 takes and their real prices, whether fal's trim cuts each take back frame-exact, so the next segment starts from the right frame, scale-video and merge-videos at 24 fps with mixed sources, SAM 3.1's `frame_index` for clicks on later frames, taken from the research, fal reading AVI, and merge-audio-video taking the clip as the sound), Happy Horse 1.1 on fal and the Happy Horse video edit's payload (checked against the researched schemas only), and the models that replaced Higgsfield's (GPT Image 2.5 for Marketing images, Nano Banana Pro for Ads Studio and the AI Influencer app, Kling O3 edit for Seedance 2.5's edit and in the Ad Multiplier, Seedance 2.5 for Cinema Studio 4.0's reference takes), which ran in demo mode and tests only. 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, part 1'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. Round 4, part 2's open models haven't run through Fuobe either: OvisOCR3 (it ran only during the research, directly on a CPU ComfyUI: two test posters, 161–194 s each; its weight isn't installed here, and the parser is checked only against the answer formats recorded there), the Gemma 4 E4B brief, FLUX.1 Fill [dev] Inpaint, the Enhancer's looks and its Detail at 2× (bindings only), and the AI Influencer's Soul Cast sheet + Qwen-Image-Edit chain. Round 4, part 3's open routes were only accepted by ComfyUI: every Soul look, Soul Cinema, `z-image-turbo-i2i` and stacks of three LoRAs; Fuobe DoP on Wan 2.2 and the three LTX-2.3 graphs; the relight step; TRELLIS.2 Multi-view, open TripoSplat and the open text-to-3D chain. Round 4, part 4's open routes: the three MiniMax H3 graphs have never loaded in a ComfyUI (their packs aren't installed here), so a first real run may fail on wiring or a missing pack, and open Character swap parts over 15 s are only modelled; Fuobe Cinema's open half runs Wan 2.2 Lightning graphs that were only accepted; Soul ID's AI-Toolkit configs for Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] and klein 4B have never trained (the dialog's VRAM and time figures are estimates), and no trained LoRA has run in ComfyUI. Round 4, part 5's: the Character Swap Studio's two H3 Relay graphs have never loaded in a ComfyUI either (five H3 graphs in all), its continuation (the take before's last frames as history, which assumes exact frame counts) is proven only in pure and demo tests, and retired Higgsfield ids running on the Originals' open halves were checked in demo mode and tests only. To check on the first runs: Wan 2.1 LoRAs on Wan 2.2, the LTX-2 19B Earth Zoom Out LoRA on LTX-2.3, the 2509 Relight LoRA on fal's plus-lora endpoint, `camera_lora_scale` on the plain LTX-2.3 endpoint, `focus_shift` on LTX-2.5 Fast, and whether MoGe's estimated field of view helps multi-view models from real phone photos. No LoRA has rendered on a GPU. Whole open chains (a UGC presenter film, a Faceless episode, a dub with lip re-sync, a Shorts restyle, a Content Factory series) ran only on the demo provider.- - **No Fuobe Original has been measured.** Fuobe Soul, DoP, Cinema, Genjutsu (with Character swap) and Soul ID are in the app, but the evaluation harness ran only on the demo provider and on CPU-only tools; its `soul`, `soul-cinema`, `soul-hex`, `soul-id`, `dop`, `dop-mix`, `cinema` and `genjutsu` suites are ready for GPU and cloud runs (`soul-id` needs 20+ photos of a person who consented; a cloud run is about $14.29 of training plus renders). No recipe has been promoted, so no cover comes from a measured run: the 480 covers in `src/lib/preset-previews.generated.ts` are ComfyUI preview renders turned into covers with `pnpm eval:covers --from-masters`.- - **Assist hasn't talked to a live model.** The streamed Claude call is tested against an SSE fake, and Ollama and LM Studio against fake servers. Skills, projects and memory work end to end with the offline planner only. Small local models follow tool instructions less reliably. Scheduled tasks ran only in demo mode, and no Claude call has used a real MCP connector.+ - **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, part 1'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. Round 4, part 2 adds: per-frame Mixed Media (how many frames extract-nth-frame returns and in what order, Nano Banana 2 edits with two images, images-to-video at a fractional fps such as 7.5, merge-videos with a set size), the cloud end card (whether merge-videos keeps the ad's voiceover next to the card's silent track, how overlay-image scales a very large logo), Florence-2 OCR (its box units, pixels assumed, and its real price; the $0.001 shown is a placeholder), the Inpaint and Enhancer models, Content Factory's reading (fal frames, Scribe v2, Claude with frames), the AI Influencer sheets, the six hosted LoRA models and every LoRA payload, and civitai downloads and mirrors (mirror lifetimes of 7 days on fal and 1 day on Replicate are guesses). Round 4, part 3 adds: Fuobe Soul on fal and Replicate (fal's rounding to whole megapixels for Qwen-Image 2512 is assumed from its price text, and Replicate is priced at fal's rate), Fuobe DoP on fal's Wan 2.2 A14B and LTX-2.3 and its Replicate fallback, LTX-2.5 Fast's focus shift, the hosted Qwen-Image-Edit 2509 relight, SAM 3D Objects, Meshy multi-view and rigging (and playing a real Meshy animation), Tripo text to 3D, TripoSplat, and the Canvas nodes' ElevenLabs Voice Changer and Dubbing, hosted Chatterbox and the concatenator's fal steps (whether merge-videos keeps sound when one clip has no sound track is unknown). Round 4, part 4 adds: Fuobe Cinema on fal's LTX-2.3 22B (its camera LoRA, the sizes on the 32-pixel grid, the per-megapixel estimate against the real bill, whether extend-video returns the whole clip and honours a backward extend, and the edit's video strength of 0.5, a guess), the Genjutsu Originals on fal (Wan 2.2 Animate move, Wan VACE 14B inpainting, Wan 2.2 VACE Fun depth), MiniMax H3 reference-to-video with Akatz Labs' LoRA (and its mute step for a silent clip), H3 Max Recast, Wan 2.2 Animate Replace, SCAIL-2, Wan Motion, the GPT Image 2.5 Sunburst first frame, Scribe v2 for "Use the clip's words", the eight fal trainers and the five hosted LoRA models (whether fal's FLUX.2 endpoint reads ComfyUI-named LoRA weights, whether a LoRA trained on the klein base behaves the same on the distilled klein endpoint, Krea 2's trainer with Fuobe's captions), real fal and Replicate files through the share metadata cleaner, and Claude with a remote MCP connector. Round 4, part 5 adds: the Character Swap Studio's cloud chain (MiniMax H3 takes and their real prices, whether fal's trim cuts each take back frame-exact, so the next segment starts from the right frame, scale-video and merge-videos at 24 fps with mixed sources, SAM 3.1's `frame_index` for clicks on later frames, taken from the research, fal reading AVI, and merge-audio-video taking the clip as the sound), Happy Horse 1.1 on fal and the Happy Horse video edit's payload (checked against the researched schemas only), and the models that replaced Higgsfield's (GPT Image 2.5 for Marketing images, Nano Banana Pro for Ads Studio and the AI Influencer app, Kling O3 edit for Seedance 2.5's edit and in the Ad Multiplier, Seedance 2.5 for Cinema Studio 4.0's reference takes), which ran in demo mode and tests only. Round 5, part 1 adds: the eight new Originals' cloud halves (Fuobe Marketing Image, Try-On, Mixed Media, Shorts, Evolution, Angles, Speak, Speak · Motion), and first **`preprocess: true` on fal's Wan 2.2 Fun VACE depth endpoint**, inferred from fal's schema and its example input: if it's wrong, every Fuobe Shorts segment, cloud Smooth piece and Genjutsu cloud restyle is paid for and comes out wrong. Also unconfirmed: that endpoint with clips above 30 fps, and whether fal bills on input or worked frames; whether fal fetches the storyboard's next-scene LoRA from its Hugging Face link (if not, frames 2 onward lose continuity; Nano Banana Pro under "Frames made on" avoids it); LTX-2.3 video to video at Evolution's strengths and whether fal resamples a 30 fps clip to its fixed 24 fps; SAM 3.1's face masks (8-bit PNGs the server can decode are assumed; 1-bit masks fall back to the browser) and what fal returns when it finds no face; hosted InfiniteTalk's frame count and billing; Wan 2.2 speech-to-video; LTX 2.3 HDR's LoRA endpoint; and the corrected Happy Horse price, taken from fal's schema and pricing page. Cloud Per frame on Fuobe Mixed Media can send up to 240 frames to fal at once; fal's rate limits there are untested. 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, part 1'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. Round 4, part 2's open models haven't run through Fuobe either: OvisOCR3 (it ran only during the research, directly on a CPU ComfyUI: two test posters, 161–194 s each; its weight isn't installed here, and the parser is checked only against the answer formats recorded there), the Gemma 4 E4B brief, FLUX.1 Fill [dev] Inpaint, the Enhancer's looks and its Detail at 2× (bindings only), and the AI Influencer's Soul Cast sheet + Qwen-Image-Edit chain. Round 4, part 3's open routes were only accepted by ComfyUI: every Soul look, Soul Cinema, `z-image-turbo-i2i` and stacks of three LoRAs; Fuobe DoP on Wan 2.2 and the three LTX-2.3 graphs; the relight step; TRELLIS.2 Multi-view, open TripoSplat and the open text-to-3D chain. Round 4, part 4's open routes: the three MiniMax H3 graphs have never loaded in a ComfyUI (their packs aren't installed here), so a first real run may fail on wiring or a missing pack, and open Character swap parts over 15 s are only modelled; Fuobe Cinema's open half runs Wan 2.2 Lightning graphs that were only accepted; Soul ID's AI-Toolkit configs for Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] and klein 4B have never trained (the dialog's VRAM and time figures are estimates), and no trained LoRA has run in ComfyUI. Round 4, part 5's: the Character Swap Studio's two H3 Relay graphs have never loaded in a ComfyUI either (five H3 graphs in all), its continuation (the take before's last frames as history, which assumes exact frame counts) is proven only in pure and demo tests, and retired Higgsfield ids running on the Originals' open halves were checked in demo mode and tests only. Round 5, part 1's open routes were only accepted by ComfyUI: Fuobe Mixed Media's per-frame graph with the look LoRAs and a fixed seed, and Smooth; Fuobe Shorts; Fuobe Marketing Image and the product-shot graph; Fuobe Try-On; the Soul Cast sheet in the Realistic look; Evolution's new graph (its 0.45 / 0.65 / 0.85 strengths, and the 4-step Lightning LoRA started below full noise, are unmeasured; none of the three uses Wan 2.2's high-noise expert, which is still listed as a download, and whether ComfyUI skips loading it is unchecked); Fuobe Angles (the Lightning LoRA run at 6 steps with the angles LoRA at 1.25); Fuobe Speak's wrapper with FusioniX at 25 steps (InfiniteTalk's colour correction mapped to the wrapper's "reinhard" colour match); the face mosaic and VDA Large. Flicker between per-frame draws, and seams between Smooth's pieces and Shorts' segments, are unmeasured. To check on the first runs: Wan 2.1 LoRAs on Wan 2.2, the LTX-2 19B Earth Zoom Out LoRA on LTX-2.3, the 2509 Relight LoRA on fal's plus-lora endpoint, `camera_lora_scale` on the plain LTX-2.3 endpoint, `focus_shift` on LTX-2.5 Fast, and whether MoGe's estimated field of view helps multi-view models from real phone photos. No LoRA has rendered on a GPU. Whole open chains (a UGC presenter film, a Faceless episode, a dub with lip re-sync, a Shorts restyle, a Content Factory series) ran only on the demo provider.-- **No Fuobe Original has been measured.** Fuobe Soul, DoP, Cinema, Genjutsu (with Character swap), Soul ID and, since round 5, part 1, Marketing Image, Try-On, Mixed Media, Shorts, Evolution, Angles, Speak and Speak · Motion are in the app, but the evaluation harness ran only on the demo provider and on CPU-only tools; its `soul`, `soul-cinema`, `soul-hex`, `soul-id`, `dop`, `dop-mix`, `cinema`, `genjutsu`, `marketing`, `mixed-media`, `shorts`, `evolution`, `popcorn`, `angles` and `speak` suites are ready for GPU and cloud runs (the new ones but `popcorn` need local inputs: `scripts/eval/README.md`; `soul-id` needs 20+ photos of a person who consented, and a cloud run is about $14.29 of training plus renders). No recipe has been promoted, and the preset covers it can make (`src/lib/preset-previews.generated.ts`) are still empty.-- **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. Scheduled tasks ran only in demo mode, and no Claude call has used a real MCP connector. Evolution's Write it for me has run only its offline writer, the skill builder's name suggestions have never met Claude or Ollama, and a skill's look check has met only a fake Ollama.++- **No Fuobe Original has been measured.** Fuobe Soul, DoP, Cinema, Genjutsu (with Character swap), Soul ID and, since round 5, part 1, Marketing Image, Try-On, Mixed Media, Shorts, Evolution, Angles, Speak and Speak · Motion are in the app, but the evaluation harness ran only on the demo provider and on CPU-only tools; its `soul`, `soul-cinema`, `soul-hex`, `soul-id`, `dop`, `dop-mix`, `cinema`, `genjutsu`, `marketing`, `mixed-media`, `shorts`, `evolution`, `popcorn`, `angles` and `speak` suites are ready for GPU and cloud runs (the new ones but `popcorn` need local inputs: `scripts/eval/README.md`; `soul-id` needs 20+ photos of a person who consented, and a cloud run is about $14.29 of training plus renders). No recipe has been promoted, so no cover comes from a measured run: the 480 covers in `src/lib/preset-previews.generated.ts` are ComfyUI preview renders turned into covers with `pnpm eval:covers --from-masters`.++- **Assist hasn't talked to a live model.** The streamed Claude call is tested against an SSE fake, and Ollama and LM Studio against fake servers. Skills, projects and memory work end to end with the offline planner only. Small local models follow tool instructions less reliably. Scheduled tasks ran only in demo mode, and no Claude call has used a real MCP connector. Evolution's Write it for me has run only its offline writer, the skill builder's name suggestions have never met Claude or Ollama, and a skill's look check has met only a fake Ollama.**Gaps that change what a user gets**+ - **New defaults, and new prices, before any measurement (round 5, part 1).** Marketing Studio and Ads Studio now start on Fuobe Marketing Image, the AI Influencer builder and app on Fuobe Soul, Photodump without a Soul ID and Fashion's base shots and photoset on hosted Qwen-Image-Edit 2511, Fashion's outfit on Fuobe Try-On, Mixed Media on Fuobe Mixed Media, Shorts on Fuobe Shorts, cloud Storyboard boards on hosted open models, and DoP's 32 Mixed Media effects on a Fuobe Mixed Media still plus Fuobe DoP. Partners stay as choices. A retry or Reuse of a run stored as `marketing-studio-image` or `ads-studio` lands on Fuobe Marketing Image, and `ai-influencer` on Fuobe Soul, at their prices. Nothing ran on a GPU or with a paid key, so quality is unmeasured.+ - **The owner's calls, still open (round 5, part 1).** (1) Evolution in the cloud runs LTX-2.3, not the GPU's Wan 2.2 recipe; under the 2026-10-29 rule ("a cloud route only where the model is hosted") it would be GPU only unless LTX-2.3 is accepted as its cloud model. (2) The cloud Fuobe Speak is fal's plain InfiniteTalk, without the GPU recipe's FusioniX LoRA and settings (fal's endpoint takes no LoRA): keep the name? (3) DoP's 32 Mixed Media effects moved from Kling 2.5 Turbo to Fuobe DoP in the cloud before any quality test: keep that default? Smaller: Fuobe Marketing Image's Standalone shot from one product photo uses the Qwen-Image-Edit 2509 product-shot graph on your GPU but hosted 2511 in the cloud.- **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.- - **ComfyUI reachability:** a busy ComfyUI now counts as up (§2, Getting started and connections). But right after start or an address change, a port that accepts connections counts as up for about 15 s until the background check ends, so a run started then can go to a ComfyUI that never answers (it fails with "Can't reach ComfyUI" once the connection times out). A forced status check on a slow, silent port can take about 15 s (at most every 2 minutes per server), and can hold the runner's next sweep that long. A ComfyUI that answers nothing for over 2 minutes and then also misses the 10 s check is marked down for the next 2 minutes: new open-engine runs go to demo (Demo mode on Auto), and waiting chain steps fail after 60 s. Only the main ComfyUI address is checked this way, not the isolated worker. The local LLM servers' check still treats a timeout as down.- - **Fuobe DoP became the cloud default for 152 presets before any clip was compared.** The motions and effects with a recipe of their own (a LoRA, a camera LoRA, a hosted move, a grade or a relight) moved from Kling 2.5 Turbo to Fuobe DoP, so their model and price changed. That includes the 15 grade and 6 relight effects, whose animation step is Wan 2.2 with no LoRA. Whether to keep this, or keep them on Kling 2.5 Turbo until the evaluation runs, is still open. The other 211 stay on Kling 2.5 Turbo on their words.+ - **ComfyUI reachability:** a busy ComfyUI now counts as up (§2, Getting started and connections). But right after start or an address change, a port that accepts connections counts as up for about 15 s until the background check ends, so a run started then can go to a ComfyUI that never answers (it fails with "Can't reach ComfyUI" once the connection times out). A forced status check on a slow, silent port can take about 15 s (at most every 2 minutes per server), and can hold the runner's next sweep that long. A ComfyUI that answers nothing for over 2 minutes and then also misses the 10 s check is marked down for the next 2 minutes: new open-engine runs go to demo (Demo mode on Auto), and waiting chain steps fail after 60 s. Only the main ComfyUI address is checked this way, not the isolated worker. Since Fixes 5 (round 5, part 1), Ollama follows the same rules, with the same early window: right after start, a port that takes the connection but stays silent for 1.5 s counts as up until the background check settles (about 12 s), so text steps can briefly pick a dead tunnel or proxy. Waits that need Ollama's answer (a text step before it runs, Genjutsu's Describe, Evolution's direction, the Faceless writer) can take about 12 s the first time on such a port, then about 2 s per refresh, where they used to give up at 1.5 s. Settings → Save & test for Ollama and ComfyUI still says "can't reach" when the server is only slow.+ - **Fuobe DoP became the cloud default for 184 presets before any clip was compared.** The motions and effects with a recipe of their own (a LoRA, a camera LoRA, a hosted move, a grade or a relight) moved from Kling 2.5 Turbo to Fuobe DoP in round 4, part 3 (152), and DoP's 32 Mixed Media effects followed in round 5, part 1 (a still on Fuobe Mixed Media, then the clip), so their model and price changed. That includes the 15 grade and 6 relight effects, whose animation step is Wan 2.2 with no LoRA. Whether to keep this, or keep them on Kling 2.5 Turbo until the evaluation runs, is still open (for the Mixed Media effects it is one of the owner's calls, above). The other 179 stay on Kling 2.5 Turbo on their words.- **Remove object:** H3 Person Removal (open, people only) needs the opt-in H3 Relay pack and its graph has never loaded in a ComfyUI. 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:** Insert has no Original yet. fal bills Motion, Swap and Restyle by frames ÷ 16, so a 30 fps clip costs about 1.9× the per-second price. The references panel counts to 10, though no model uses more than 4, and open swap and insert use only the first; Katana's cloud Genjutsu motion takes 1 reference where Higgsfield's took 8. Clips over 30 fps aren't resampled for the hosted VACE. An old setup code with a Higgsfield look opens without a look. Higgsfield's batch, community presets and Recreate aren't built. Assist and MCP can't run Genjutsu or Remove object yet.- - **Character swap:** the H3 graphs have never loaded in a ComfyUI, and open parts over 15 s have never run. In the cloud, fal's H3 has no mask: who to swap is said in words and the whole frame is regenerated, and 15 s pieces start fresh, so seams can show. The estimate leaves out the Sunburst first frame's tokens; "Use the clip's words" starts a paid transcription with no estimate first; "Describe my character" sends the picture to Claude when an Anthropic key is set. The scene-cut warning was checked on WebM only. After a click on your GPU, frames where the pack loses the person are found again by the words and the first detection, which may not be the person clicked (pack behaviour). The default graph pins the last commit with Akatz Labs' `h3_character_swap` pack; their later fixes go into H3 Relay. The pack's assemble step also writes a second MP4 and a JSON report into ComfyUI's output folder. Workflows → **Copy install commands** gives `git clone …/tree/<commit>/…` lines for the two H3 packs, which git can't clone: use the install script. Not built: Replicate's Wan 2.2 Animate routes. Whole clips, shot by shot (Replace character or Keep original per shot), are the Character Swap Studio's (next bullet).+ - **Genjutsu:** Insert has no Original yet. fal bills Motion, Swap and Restyle by frames ÷ 16, so a 30 fps clip costs about 1.9× the per-second price. The references panel counts to 10, though no model uses more than 4, and open swap and insert use only the first; Katana's cloud Genjutsu motion takes 1 reference where Higgsfield's took 8. Clips over 30 fps aren't resampled for the hosted VACE. The cloud Restyle still sends its first frame twice (as the first frame and as a reference); Fuobe Shorts had the same fault, fixed there in round 5, part 1. An old setup code with a Higgsfield look opens without a look. Higgsfield's batch, community presets and Recreate aren't built. Assist and MCP can't run Genjutsu or Remove object yet.+ - **Character swap:** the H3 graphs have never loaded in a ComfyUI, and open parts over 15 s have never run. In the cloud, fal's H3 has no mask: who to swap is said in words and the whole frame is regenerated, and 15 s pieces start fresh, so seams can show. The estimate leaves out the Sunburst first frame's tokens; "Use the clip's words" starts a paid transcription with no estimate first; "Describe my character" sends the picture to Claude when an Anthropic key is set. The scene-cut warning was checked on WebM only. After a click on your GPU, frames where the pack loses the person are found again by the words and the first detection, which may not be the person clicked (pack behaviour). The default graph pins the last commit with Akatz Labs' `h3_character_swap` pack; their later fixes go into H3 Relay. The pack's assemble step also writes a second MP4 and a JSON report into ComfyUI's output folder. Since Fixes 5 (round 5, part 1), Workflows → **Copy install commands** for the two H3 packs checks out their pinned commits (a sparse copy for `h3_character_swap`) and can be pasted twice; before, git was handed a web page address. Not built: Replicate's Wan 2.2 Animate routes. Whole clips, shot by shot (Replace character or Keep original per shot), are the Character Swap Studio's (next bullet).- **Character Swap Studio:** nothing ran on a GPU or with a real fal key. Its two graphs have never loaded in a ComfyUI with H3 Relay, and its cloud chain ran only in demo mode (what is unconfirmed: above). Continuations assume exact frame counts on both engines. Cloud clips keep their own frame rate (your GPU converts them to 24 fps), though the studio counts frames at 24 fps. The GPU mask memory guard is an unmeasured estimate and may be too strict (on a 64 GB server, 1 MP corrections stop at shots of about 18 s). A history of over about 30 frames at 1 MP needs ComfyUI started with a higher `--max-upload-size` (the page and the error say so). A take that runs out of GPU memory isn't retried with lower memory use (Try again makes a new take). Opening a project, its estimate or its decisions also moves it forward and can launch queued, paid takes; a background sweep every 3 s does the same, and, like scheduled tasks, it runs in every Fuobe server on the same data folder, so a dev server on your real data can launch (and pay for) takes too. Assembly uses chosen takes even when they are out of date, and names them in a warning. No Finish stage. On a phone you scroll past the project panels to reach the workbench. No Assist or MCP tool.- **.avi clips** don't play in browsers: the Character Swap Studio makes a playable copy on the cloud; elsewhere there's no preview, and some providers may refuse them. The upload API now takes .mkv and .avi for every feature, though only the studio's picker lists them (the others still list MP4, MOV and WebM). A ComfyUI upload refused as too large now says to raise ComfyUI's `--max-upload-size` (100 MB by default).- - **The Happy Horse video edit looks priced about 2× too high** (already so before PR #13): $0.28/s is counted on input and output seconds, where fal's wording suggests $0.14 for each. It overestimates, so spend caps stay safe. It affects Shorts, Mixed Media, Genjutsu and the Ad Multiplier.- - **Higgsfield is gone (O7), with a few leftovers.** Fuobe calls no Higgsfield model or API. A stored or scripted Higgsfield model or operation runs on what replaced it: Soul and Soul 2.0 on Fuobe Soul, Soul Cinema on Fuobe Soul Cinema, Cinema Studio 4.0 on Fuobe Cinema (its reference takes on Seedance 2.5), the five Genjutsu models on the Genjutsu Originals, Marketing Studio Image on GPT Image 2.5, Ads Studio and the AI Influencer sheet on Nano Banana Pro, Seedance 2.5's video edit on Kling O3 edit, and LTX 2.5's start/end-frame clip on Fuobe Cinema. Leftovers: browser Reuse drops Cinema Studio's Director fields (the toast says so; the API, CLI and MCP write them into the prompt). Soul 2.0's colour palette is dropped, not turned into a palette lock. Assist and MCP plans move a retired model without the note saying why (from reading the code, not a test). The Library's Engine row still shows "Cloud · higgsfield" for old runs. On the open engine, an old LTX 2.5 start/end-frame request runs on Fuobe Cinema's Wan 2.2 clip, though its note names LTX-2.3. Jobs still running on Higgsfield when you upgrade fail on their next check with a message to run them again, and Higgsfield Soul ID trainings with one to retrain; Higgsfield Soul IDs aren't moved. Switches set in Settings → Models & licences on a retired model or on Higgsfield no longer apply: switch off the replacement. An install whose only cloud key was Higgsfield's has no cloud engine until a fal.ai or Replicate key is added (cloud runs come back as demos meanwhile). Marketing images, Ads Studio and the AI Influencer app run on partner models until O10, and Seedance 2.5's edit can't be picked any more. The Higgsfield research files stay as research, and some generators still read them.+ - **Edit video's clip windows (Fixes 5, round 5, part 1):** Grok Imagine video edit keeps only the first 8 s but has no window in Fuobe, so a longer clip isn't blocked and is overpriced by about $0.05 a second past 8 s. A clip blocked as too long still shows the capped price (about $4.20 for 40 s on Happy Horse). An API call outside a window is refused only after the clip is uploaded to fal storage (nothing is billed). Happy Horse's corrected price ($0.28/s at 720p, $0.56/s at 1080p of the clip; Fuobe counted each second twice before) comes from fal's pricing page and schema; no real bill has confirmed it.+ - **Higgsfield is gone (O7), with a few leftovers.** Fuobe calls no Higgsfield model or API. A stored or scripted Higgsfield model or operation runs on what replaced it: Soul and Soul 2.0 on Fuobe Soul, Soul Cinema on Fuobe Soul Cinema, Cinema Studio 4.0 on Fuobe Cinema (its reference takes on Seedance 2.5), the five Genjutsu models on the Genjutsu Originals, Marketing Studio Image and Ads Studio on Fuobe Marketing Image and the AI Influencer sheet on Fuobe Soul (since round 5, part 1; GPT Image 2.5 and Nano Banana Pro before), Seedance 2.5's video edit on Kling O3 edit, and LTX 2.5's start/end-frame clip on Fuobe Cinema. Leftovers: browser Reuse drops Cinema Studio's Director fields (the toast says so; the API, CLI and MCP write them into the prompt). Soul 2.0's colour palette is dropped, not turned into a palette lock. Assist and MCP plans move a retired model without the note saying why (from reading the code, not a test). The Library's Engine row still shows "Cloud · higgsfield" for old runs. On the open engine, an old LTX 2.5 start/end-frame request runs on Fuobe Cinema's Wan 2.2 clip, though its note names LTX-2.3. Jobs still running on Higgsfield when you upgrade fail on their next check with a message to run them again, and Higgsfield Soul ID trainings with one to retrain; Higgsfield Soul IDs aren't moved. Switches set in Settings → Models & licences on a retired model or on Higgsfield no longer apply: switch off the replacement. An install whose only cloud key was Higgsfield's has no cloud engine until a fal.ai or Replicate key is added (cloud runs come back as demos meanwhile). Seedance 2.5's edit can't be picked any more. The Higgsfield research files stay as research, and some generators still read them.- **Fuobe Cinema:** camera-LoRA quality and real bills are unchecked. The cloud's 30 s chain and prequel assume fal's extend-video returns the whole clip and honours a backward extend: check that first. A cloud move with a Wan 2.2 LoRA (with a start frame) switches the take to Fuobe DoP: 16 fps, no sound, DoP's lengths and no 20 s + extend chain, at DoP's price (a note says so). Fuobe Cinema doesn't take reference clips yet (fal's LTX-2.3 reference route has no recorded inputs), so such a take runs on Seedance 2.5 at its partner price, and the move badges still follow the menu pick. A cloud shot list longer than 20 s reuses its shot-timed prompt for the extend step (unchecked). An edit sent before "Use take" has read the take's length is priced as 5 s. On your GPU the six civitai camera LoRAs need a civitai key unless ComfyUI already has them, and the move badges don't say so. The Cast and Location looks, the edit strength and treating a zoom as a dolly for the camera LoRA are guesses for the harness to settle. Open routes take no reference clips. Collaboration and a community feed are out of scope (a project can be shared as a read-only link). Spend uses the estimate stored at creation for takes deleted for good, so it can be slightly over-counted.- - **Soul ID:** no real training ran, so likeness is unmeasured. The new AI-Toolkit configs, and whether fal's FLUX.2 [dev] LoRA endpoint reads the trained files (Fuobe asks fal's trainer for ComfyUI-named weights), are unverified; if fal can't read them, a cloud FLUX.2 Soul ID could do nothing in the cloud. Not built: Replicate trainers (an install with only a Replicate key can't train in the cloud), Wan 2.2 image Soul IDs, and fetching a LoRA from a remote AI-Toolkit (copy it into ComfyUI by hand). The AI-Toolkit address is set with `AI_TOOLKIT_URL` (or `PUT /api/settings`): the Settings page has no field for it, though the training message points there. With no fal key and no AI-Toolkit, Demo mode on "auto" (the default) makes a training an 8-second demo that trains nothing; it never replaces a real Soul ID. Consent is one tick, checked on the server and stored with the training. Trainings aren't under the Models & licences switches: switching off fal.ai doesn't stop a paid training (runs that use the LoRA are refused later). A finished fal training is used from fal's link at once while Fuobe's copy downloads in the background; a failed copy isn't retried. Trained LoRAs are kept in the data folder (expect it to grow); copying one into ComfyUI blocks the server while it copies, and a cloud upload reads the whole file into memory (FLUX LoRAs can be hundreds of MB).- - **Models & licences:** hosted fal and Replicate models are all classed "Proprietary paid API", whatever their weights' licence, so switching off Non-commercial doesn't reach the hosted FLUX [dev] or klein 9B models (the licence recorded on 20 models, `ModelDef.licence` on 13 hosted models and 7 of the Originals' cloud halves, isn't read yet). Trainings, and Assist's and the AI helper's own Claude or local-model calls, aren't under the switches. The text steps' licence follows the local model in use as far as Fuobe knows it (the server's last answer, else the model setting): a model outside the known families (Qwen, Mistral, Mixtral, Phi, DeepSeek, Gemma, Llama) is "Not recorded", and a server that picks its own model is "Not recorded" until it answers. A fixed pick with no menu (Storyboard's models, Faceless's still and narration helpers, hidden helper steps) doesn't fall back: the run is refused, naming the switch. Any LoRA with no recorded licence counts as your own, so the class switches don't reach it. Defaults that the old licence rules chose are unchanged (the Wiggle, BTS and Bullet Time motions, Whisper captions, the Soul bases and others). 8 node packs are classed "Licence unknown"; ComfyUI-ReActor is listed as MIT from the research, unconfirmed. There is no admin role (below).+ - **Soul ID:** no real training ran, so likeness is unmeasured. The new AI-Toolkit configs, and whether fal's FLUX.2 [dev] LoRA endpoint reads the trained files (Fuobe asks fal's trainer for ComfyUI-named weights), are unverified; if fal can't read them, a cloud FLUX.2 Soul ID could do nothing in the cloud. Not built: Replicate trainers (an install with only a Replicate key can't train in the cloud), Wan 2.2 image Soul IDs, and fetching a LoRA from a remote AI-Toolkit (copy it into ComfyUI by hand). Since Fixes 5 (round 5, part 1), Settings → Training holds the AI-Toolkit address, token and photos folder (the folder must now be a full path), and the Train dialogs open it; its Save & test has met only a stand-in for AI-Toolkit's job API, not a real AI-Toolkit. With no fal key and no AI-Toolkit, Demo mode on "auto" (the default) makes a training an 8-second demo that trains nothing; it never replaces a real Soul ID. Consent is one tick, checked on the server and stored with the training. Trainings aren't under the Models & licences switches: switching off fal.ai doesn't stop a paid training (runs that use the LoRA are refused later). A finished fal training is used from fal's link at once while Fuobe's copy downloads in the background; a failed copy isn't retried. Trained LoRAs are kept in the data folder (expect it to grow); copying one into ComfyUI blocks the server while it copies, and a cloud upload reads the whole file into memory (FLUX LoRAs can be hundreds of MB).-- **Models & licences:** hosted fal and Replicate models are all classed "Proprietary paid API", whatever their weights' licence, so switching off Non-commercial doesn't reach the hosted FLUX [dev] or klein 9B models (the licence recorded on 27 models, `ModelDef.licence` on 14 hosted models and 13 of the Originals' cloud halves, isn't read yet). Trainings, and Assist's and prompt enhancement's own Claude or Ollama calls, aren't under the switches. A fixed pick with no menu (Storyboard's models, Faceless's still and narration helpers, hidden helper steps) doesn't fall back: the run is refused, naming the switch. Any LoRA with no recorded licence counts as your own, so the class switches don't reach it. Defaults that the old licence rules chose are unchanged (the Wiggle, BTS and Bullet Time motions, Whisper captions, the Soul bases and others). 8 node packs are classed "Licence unknown"; ComfyUI-ReActor is listed as MIT from the research, unconfirmed. There is no admin role (below).++- **Models & licences:** hosted fal and Replicate models are all classed "Proprietary paid API", whatever their weights' licence, so switching off Non-commercial doesn't reach the hosted FLUX [dev] or klein 9B models (the licence recorded on 27 models, `ModelDef.licence` on 14 hosted models and 13 of the Originals' cloud halves, isn't read yet). Trainings, and Assist's and the AI helper's own Claude or local-model calls, aren't under the switches. The text steps' licence follows the local model in use as far as Fuobe knows it (the server's last answer, else the model setting): a model outside the known families (Qwen, Mistral, Mixtral, Phi, DeepSeek, Gemma, Llama) is "Not recorded", and a server that picks its own model is "Not recorded" until it answers. A fixed pick with no menu (Storyboard's models, Faceless's still and narration helpers, hidden helper steps) doesn't fall back: the run is refused, naming the switch. Any LoRA with no recorded licence counts as your own, so the class switches don't reach it. Defaults that the old licence rules chose are unchanged (the Wiggle, BTS and Bullet Time motions, Whisper captions, the Soul bases and others). 8 node packs are classed "Licence unknown"; ComfyUI-ReActor is listed as MIT from the research, unconfirmed. There is no admin role (below).- **Share links:** Fuobe doesn't host these pages, so a link opens only for people who can reach your Fuobe (on `localhost` the Share dialog says so). Real fal and Replicate files weren't run through the metadata cleaner; a file it can't read shows as missing on the share page, and MP4 track handler names aren't blanked. Canvas boards can't be shared. A link's full address is kept only in the browser that made it, so copy it then (elsewhere, Library → Shared can only make a new link). With no password, your own visits count as views. Revoking deletes the link at once, but browsers may keep files they already fetched for 5 minutes. Demo pictures draw the prompt into the image, so a prompts-hidden demo page still shows it. "Recreate in your Fuobe" only copies the prompt; there are no comment or reuse access levels. In `next dev`, a link-preview bot fetching a share page logs an InvariantError (the answer is still right; not seen after a build).- **Assist scheduled tasks and connectors:** tasks run only while Fuobe runs; a missed run happens once after the next start, and a run that comes due while the last one is still going is skipped. Every Fuobe server on the same database runs due tasks, so a dev server on your real data runs, and spends on, your schedules too. The cap counts priced generation jobs, not Claude's tokens or what connector tools do, and plans approved by hand don't count against it. Nothing tells you when an Ask-first plan waits, and tasks can't be made from Fuobe's MCP server or the CLI. Connector tools run on Anthropic's side without asking Fuobe, in Ask-first chats too: each connector's Allowed tools, the per-task opt-in and Claude's instructions are the only safeguards, and every enabled connector is offered in every Claude chat. Tool names are typed by hand (no tool list or connection test). Switching a connector on or off, or deleting it, mid-chat drops Claude's earlier thinking in that chat (it costs tokens, no error).- - **Fuobe Soul:** a picture gets its crop, grade and overlay only when a studio feed shows it in a browser; after an API, CLI or Canvas run the Library and downloads have the raw picture (a 21:9 Soul Cinema run from the API is the 16:9 picture plus `meta.crop`). With the colour lock on, the grade lands on the picture from before the lock, and the lock drops LoRAs you added. Canvas quotes $0.005 a megapixel where fal bills $0.0085 for a look with LoRAs (the default General look has them). On fal, Soul HD's 1080p 3:2 and 2:3 would bill 3 megapixels if fal rounds up as its price text suggests (unconfirmed). On the open engine the look's LoRAs, even its Hugging Face ones, need Settings → LoRAs' LoRA folder (or the files placed by hand). The photo-booth overlay is one print, not a 4-shot strip. A studio picker's other-engine tab lists the Originals only after you switch engine, and on Soul HD a non-lettering look doesn't move the run back to Fuobe Soul (it runs on its words, with a note). Image to image has no strength control, and there is no 1080p upscale step (1080p is made directly at about 2 megapixels).- - **Fuobe DoP:** the Replicate fallback can't make start-and-end-frame clips (transitions need a fal key) and takes one LoRA per Wan 2.2 stage; the pre-run price is fal's even when the run goes to Replicate. The grade is a hand-off to Color grading, not applied automatically. Roll Transition runs on its words for a Wan start-and-end-frame clip, and the Mixed Media effects run on words. Many more moves now load LoRAs on the open engine, so a move whose LoRA ComfyUI doesn't have stops before the job (no charge) when Fuobe can't fetch it: no LoRA folder set, or no civitai key for a civitai file. That includes six Cinema Studio moves on your GPU (Handheld, POV, Robot Arm, Snorricam, Tracking, Side Tracking); in Cinema's cloud they now run on their words. On a 24 GB GPU the 17 moves on Fuobe DoP · LTX need its 32 GB; pick Fuobe DoP to run their words. Reading the code suggests a cloud link to a words-only move might start on Kling 2.5 Turbo instead of keeping your model (not run). The `ltx23-t2v-lora` workflow ships but nothing uses it yet.+ - **Fuobe Soul:** a picture gets its crop, grade and overlay only when a studio feed shows it in a browser; after an API, CLI or Canvas run the Library and downloads have the raw picture (a 21:9 Soul Cinema run from the API is the 16:9 picture plus `meta.crop`). With the colour lock on, the grade lands on the picture from before the lock, and the lock drops LoRAs you added. Canvas quotes $0.005 a megapixel where fal bills $0.0085 for a look with LoRAs (the default General look has them). On fal, Soul HD's 1080p 3:2 and 2:3 would bill 3 megapixels if fal rounds up as its price text suggests (unconfirmed). On the open engine the look's LoRAs, even its Hugging Face ones, need Settings → LoRAs' LoRA folder (or the files placed by hand). The photo-booth overlay is one print, not a 4-shot strip. A studio picker's other-engine tab lists the Originals only after you switch engine, and on Soul HD a non-lettering look doesn't move the run back to Fuobe Soul (it runs on its words, with a note). Image to image has no strength control, and there is no 1080p upscale step (1080p is made directly at about 2 megapixels). **PixeletedFace** (round 5, part 1): the server pixelates a PNG itself; if it can't read the picture or its masks (say, a non-PNG Replicate output), the stored result stays unpixelated until a studio feed opens it and saves the mosaic, and until then the Library, share links and the API show faces.+ - **Fuobe DoP:** the Replicate fallback can't make start-and-end-frame clips (transitions need a fal key) and takes one LoRA per Wan 2.2 stage; the pre-run price is fal's even when the run goes to Replicate. The grade is a hand-off to Color grading, not applied automatically. Roll Transition runs on its words for a Wan start-and-end-frame clip. Since round 5, part 1 the 32 Mixed Media effects draw their still on Fuobe Mixed Media first; on your GPU without a LoRA folder, the stills of the 14 looks that have a LoRA fail at submit with the "Set the LoRA folder" error (only the Mixed Media studio leaves a missing look LoRA out with a note). Many more moves now load LoRAs on the open engine, so a move whose LoRA ComfyUI doesn't have stops before the job (no charge) when Fuobe can't fetch it: no LoRA folder set, or no civitai key for a civitai file. That includes six Cinema Studio moves on your GPU (Handheld, POV, Robot Arm, Snorricam, Tracking, Side Tracking); in Cinema's cloud they now run on their words. On a 24 GB GPU the 17 moves on Fuobe DoP · LTX need its 32 GB; pick Fuobe DoP to run their words. Reading the code suggests a cloud link to a words-only move might start on Kling 2.5 Turbo instead of keeping your model (not run). The `ltx23-t2v-lora` workflow ships but nothing uses it yet.- **Image to 3D:** no open rigging (UniRig has no ComfyUI pack verified on 0.41) and no open Pick an object; splats aren't drawn in the browser, and demo mode returns a plain model for splat and rig jobs, so the splat card was checked only on hand-edited rows. Storing every format makes cloud 3D results finish slower and use more disk. The open text-to-3D chain can't wait for another step's words (a Canvas text node, say); it is refused with a message. Retrying a failed text-to-3D run may lose the card's link to its source picture (from reading the code). MoGe always estimates the multi-view field of view: the graph takes a fixed one, but the page doesn't offer it. A multi-view job from Assist or the API that doesn't name its sides takes the photos as front, left, back, right, in that order.- **Canvas:** two tabs on one board overwrite each other (each save sends every page). Cloud concatenator: muting a clip made earlier in the same run fails the film when that clip has no sound (the next run works); cutting a clip from a table row needs both ends set; its silent sound files are never deleted. A per-row node re-run only because of something upstream shows every row's price, though only rows that run are billed, and only a row's first output passes on. On a both-engines install a video Translate node always uses ElevenLabs Dubbing; on the open engine the dub is a hand-off to Translate & dub, not a node output. Drawing, comments and page tabs are desktop only. Groups don't nest (membership is by position).- **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.@@@ -286,14 -297,16 +298,16 @@@## 4. What's next (prioritized)- 1. **Measure the Originals: the evaluation harness on a GPU and with paid keys.** Round 4's packages are all in: PR #13 brings the last ones (the Character Swap Studio, O7 and the fixes for what PR #12's checks found). None of the Originals is measured yet. Next is the harness running `soul`, `soul-cinema`, `soul-hex`, `soul-id`, `dop`, `dop-mix`, `cinema` and `genjutsu` on a GPU and in the cloud, which also decides whether the 152 moved presets stay on Fuobe DoP in the cloud and whether the 211 words-only ones leave Kling 2.5 Turbo, and settles Fuobe Cinema's guesses (the edit strength, the Cast and Location looks, a zoom as a dolly). No Original counts as verified until the harness has measured it on a GPU or with a paid key.- 2. **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, Ads Studio), round 4, part 1'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, FLUX 3 Max keyframes, Marigold V2, fal's Ken Burns and merge-audios, the cloud dub mix), part 2's (per-frame Mixed Media, the cloud end card, Florence-2 OCR, the Inpaint and Enhancer models, Content Factory's reading, the AI Influencer sheets, the hosted LoRA models, a civitai download and a mirror) and part 3's (Fuobe Soul and Soul HD on fal and Replicate, Fuobe DoP on fal's Wan 2.2 A14B and LTX-2.3 and its Replicate fallback, LTX-2.5 Fast's focus shift, the hosted relight, SAM 3D Objects, Meshy multi-view and rigging, Tripo text to 3D, TripoSplat, the Canvas concatenator's fal steps, ElevenLabs Voice Changer and Dubbing) and part 4's (Fuobe Cinema on LTX-2.3 22B, extend-video's whole clip and the backward extend first; the Genjutsu Originals; MiniMax H3 with Akatz Labs' LoRA and H3 Max Recast; Wan 2.2 Animate Replace, SCAIL-2 and Wan Motion; the Sunburst first frame; the eight fal trainers and the five hosted LoRA models, FLUX.2 [dev]'s ComfyUI-named LoRA first; real provider files through the share metadata cleaner) and part 5's (the Character Swap Studio's cloud chain: MiniMax H3 takes and their real prices, frame-exact trims, scale-video and merge-videos at 24 fps with mixed sources, SAM 3.1's `frame_index`, fal reading AVI; Happy Horse 1.1 and the Happy Horse video edit; the models that replaced Higgsfield's); then a first real Assist conversation on Claude and on a local model (Ollama or LM Studio), with a skill, a project, a scheduled task and a remote MCP connector. Fix any schema surprises.- 3. **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), round 4, part 1'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), part 2's (OvisOCR3, the Gemma 4 brief, FLUX.1 Fill [dev] Inpaint, the Enhancer, the AI Influencer chain, runs with LoRAs) and part 3's (the Soul looks, Soul Cinema and `z-image-turbo-i2i`, Fuobe DoP on Wan 2.2 and the LTX-2.3 graphs, the relight step, TRELLIS.2 Multi-view, TripoSplat and the open text-to-3D chain) and part 4's (the three H3 graphs first, since none has loaded in a ComfyUI yet, then Character swap parts over 15 s; Fuobe Cinema's Wan 2.2 Lightning takes with camera LoRAs and Fun Camera poses; Soul ID's AI-Toolkit trainings on each base, then the LoRA in ComfyUI) and part 5's (the Character Swap Studio's two H3 Relay graphs, a continuation from a take's master, and the mask memory guard measured on a real server); then one whole open UGC film, Faceless episode and dub, and the harness on the Originals. Record VRAM and timings and tune defaults.- 4. **Fuobe Originals**, open-weight versions of Higgsfield's own products ([`fuobe-originals-recipes-5.md`](research/fuobe-originals-recipes-5.md)). Done in round 4, part 2 (PR #9): O1, LoRAs on both engines, and O8, the evaluation harness. Built in round 4, part 3 (PR #10): O2 Fuobe Soul (139 looks, Soul HD, Soul Cinema and Soul HEX on both engines) and O4 Fuobe DoP (camera motions, Mix and effects on both engines), the first looks and presets that take their LoRAs from the library. Built in round 4, part 4 (PR #12): O6 Fuobe Cinema (Cinema Studio's video, stills, Soul Cast and Soul Location on Originals), O3 Fuobe Soul ID (characters and looks on every trainer, moodboards trained as looks) and O5 Fuobe Genjutsu with Character swap on MiniMax H3. Done in round 4, part 5 (PR #13): O7, the Higgsfield provider removed. Next, after the harness (item 1): O9 Mixed Media and Shorts on hosted open models (with DoP's Mixed Media effects), O10 Marketing, Ads, AI Influencer, Photodump and Fashion on Originals (until then Marketing images run on GPT Image 2.5, Ads and the AI Influencer app on Nano Banana Pro, and Photodump and Fashion keep what they use: Fuobe Soul, plus partner models such as FASHN try-on), O11 the rebranded open tools, Speak and finishing, O12 Fuobe's own LoRAs and the motion library, O13 Popcorn, Evolution and Effects 2.0.- 5. **Round-4 follow-ups:** from part 5, the Happy Horse video-edit price, the local LLM servers' reachability check (a timeout still counts as down), the Library's engine label for old runs, Soul 2.0 palettes as a palette lock, and Assist / MCP tools for the Character Swap Studio; from earlier parts, palette entries for the studios still missing (`MODEL_STUDIOS` / `TOOL_PAGES` in `src/lib/palette-index.ts`); Assist / MCP tools for Genjutsu (Character swap included), Remove object, Content Factory, the AI Influencer builder and Layers' new tools; 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; a fingerprint check or size limit for LoRA links on hf.co, fal.media and replicate.delivery; a civitai LoRA without a key left out with a note instead of failing for motions and effects too (Fuobe Soul and Cinema's cloud moves do it); the composer's price with LoRAs, and Canvas's for Fuobe Soul; Fuobe Soul's finish for API, CLI and Canvas runs; the harness measuring per-frame Mixed Media; Canvas keystroke → paint under 16 ms, measured on a production build; splats drawn in the browser and an open rigging route; Soul ID trainings under the Models & licences switches, and hosted models classed by their weights' licence; a Settings field for the AI-Toolkit address; Replicate trainers and Wan 2.2 image Soul IDs; reference clips on Fuobe Cinema itself; Canvas boards as share links; a tool list and connection test for connectors, a notice when an Ask-first plan waits, and scheduled tasks from MCP and the CLI.- 6. **Virality Predictor:** an optional, clearly non-commercial TRIBE v2 worker (`docs/workers/tribe-v2.md`).- 7. **Accounts:** several users with their own libraries and a community feed (sharing is read-only links today).- 8. **Real preview media.** 480 of the 487 app, motion and effect cards now show covers from ComfyUI preview renders (474 stills, 6 clips; `pnpm eval:covers --from-masters`). The covers and the filled manifest wait for a person's review before they are committed; until then the committed manifest is empty and every card keeps its procedural preview. Left: the other 7 (two apps and five camera moves), clips for more motion and effect cards (their end frames are still rendering), the studio presets and Fuobe Soul's looks, and covers from measured runs (`pnpm eval:covers <runId>`), which replace a preview render's cover for the same id.+ 1. **Measure the Originals: the evaluation harness on a GPU and with paid keys.** Round 5, part 1 (PR #14) adds eight Originals (20 in all) and moves several studios onto them; none of the Originals is measured yet. Next is the harness running `soul`, `soul-cinema`, `soul-hex`, `soul-id`, `dop`, `dop-mix`, `cinema`, `genjutsu`, `marketing`, `mixed-media`, `shorts`, `speak`, `evolution`, `popcorn` and `angles` on a GPU and in the cloud (the new suites but `popcorn` need local inputs: `scripts/eval/README.md`). That also decides whether the 184 moved presets stay on Fuobe DoP in the cloud and whether the 179 words-only ones leave Kling 2.5 Turbo; whether round 5's new defaults (Marketing, Ads, the AI Influencer, Photodump, Fashion, Mixed Media, Shorts, cloud Storyboard boards) stay; whether Fuobe Speak and Fuobe Angles become the Lipsync and Angles defaults; Evolution's three strengths; and Fuobe Cinema's guesses (the edit strength, the Cast and Location looks, a zoom as a dolly). No Original counts as verified until the harness has measured it on a GPU or with a paid key.+ 2. **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, Ads Studio), round 4, part 1'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, FLUX 3 Max keyframes, Marigold V2, fal's Ken Burns and merge-audios, the cloud dub mix), part 2's (per-frame Mixed Media, the cloud end card, Florence-2 OCR, the Inpaint and Enhancer models, Content Factory's reading, the AI Influencer sheets, the hosted LoRA models, a civitai download and a mirror) and part 3's (Fuobe Soul and Soul HD on fal and Replicate, Fuobe DoP on fal's Wan 2.2 A14B and LTX-2.3 and its Replicate fallback, LTX-2.5 Fast's focus shift, the hosted relight, SAM 3D Objects, Meshy multi-view and rigging, Tripo text to 3D, TripoSplat, the Canvas concatenator's fal steps, ElevenLabs Voice Changer and Dubbing) and part 4's (Fuobe Cinema on LTX-2.3 22B, extend-video's whole clip and the backward extend first; the Genjutsu Originals; MiniMax H3 with Akatz Labs' LoRA and H3 Max Recast; Wan 2.2 Animate Replace, SCAIL-2 and Wan Motion; the Sunburst first frame; the eight fal trainers and the five hosted LoRA models, FLUX.2 [dev]'s ComfyUI-named LoRA first; real provider files through the share metadata cleaner) and part 5's (the Character Swap Studio's cloud chain: MiniMax H3 takes and their real prices, frame-exact trims, scale-video and merge-videos at 24 fps with mixed sources, SAM 3.1's `frame_index`, fal reading AVI; Happy Horse 1.1 and the Happy Horse video edit; the models that replaced Higgsfield's) and round 5, part 1's (`preprocess: true` on fal's Wan 2.2 Fun VACE depth endpoint first, since Fuobe Shorts, cloud Smooth and Genjutsu's cloud restyle all depend on it; whether fal fetches the storyboard's next-scene LoRA from its Hugging Face link; Fuobe Mixed Media on the Z-Image Turbo ControlNet LoRA endpoint, Fuobe Try-On, Fuobe Marketing Image, Fuobe Angles, hosted InfiniteTalk's frame count, Wan 2.2 speech-to-video, SAM 3.1's face masks, LTX-2.3 video to video at Evolution's strengths and LTX 2.3 HDR's LoRA endpoint; the Happy Horse edit's corrected price on a real bill; a skill's paid check); then a first real Assist conversation on Claude and on Ollama, with a skill, a project, a scheduled task and a remote MCP connector, plus Evolution's Write it for me and the skill builder's name suggestions. Fix any schema surprises.+ 3. **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), round 4, part 1'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), part 2's (OvisOCR3, the Gemma 4 brief, FLUX.1 Fill [dev] Inpaint, the Enhancer, the AI Influencer chain, runs with LoRAs) and part 3's (the Soul looks, Soul Cinema and `z-image-turbo-i2i`, Fuobe DoP on Wan 2.2 and the LTX-2.3 graphs, the relight step, TRELLIS.2 Multi-view, TripoSplat and the open text-to-3D chain) and part 4's (the three H3 graphs first, since none has loaded in a ComfyUI yet, then Character swap parts over 15 s; Fuobe Cinema's Wan 2.2 Lightning takes with camera LoRAs and Fun Camera poses; Soul ID's AI-Toolkit trainings on each base, then the LoRA in ComfyUI) and part 5's (the Character Swap Studio's two H3 Relay graphs, a continuation from a take's master, and the mask memory guard measured on a real server) and round 5, part 1's (Fuobe Mixed Media per frame with the look LoRAs, and Smooth; Fuobe Shorts; Fuobe Marketing Image and the product-shot graph; Fuobe Try-On; the Soul Cast sheet in the Realistic look; Evolution's new graph at its three strengths; Fuobe Angles; Fuobe Speak with FusioniX; VDA Large; the face mosaic); then one whole open UGC film, Faceless episode and dub, and the harness on the Originals. Record VRAM and timings and tune defaults.+ 4. **Fuobe Originals**, open-weight versions of Higgsfield's own products ([`fuobe-originals-recipes-5.md`](research/fuobe-originals-recipes-5.md)). Done in round 4, part 2 (PR #9): O1, LoRAs on both engines, and O8, the evaluation harness. Built in round 4, part 3 (PR #10): O2 Fuobe Soul (139 looks, Soul HD, Soul Cinema and Soul HEX on both engines) and O4 Fuobe DoP (camera motions, Mix and effects on both engines), the first looks and presets that take their LoRAs from the library. Built in round 4, part 4 (PR #12): O6 Fuobe Cinema (Cinema Studio's video, stills, Soul Cast and Soul Location on Originals), O3 Fuobe Soul ID (characters and looks on every trainer, moodboards trained as looks) and O5 Fuobe Genjutsu with Character swap on MiniMax H3. Done in round 4, part 5 (PR #13): O7, the Higgsfield provider removed. Built in round 5, part 1 (PR #14): O9 Mixed Media and Shorts on Originals (with DoP's Mixed Media effects), O10 Marketing, Ads, the AI Influencer, Photodump and Fashion on Originals, O11 the open tools (Fuobe Angles, Speak and Speak · Motion, VDA Large, the HDR LoRA endpoint, the PixeletedFace face mosaic) and O13 Popcorn looks, Evolution and Effects 2.0 chains. Next, after the harness (item 1): O12, the training kit (Fuobe's own LoRAs and the motion library). Still the owner's calls (§3): Evolution's cloud route on LTX-2.3, the cloud Fuobe Speak without the FusioniX LoRA, and DoP's Mixed Media effects on Fuobe DoP in the cloud.+ 5. **From round 5's research** (plans, not features yet): DBS soundtrack separation ([`dbs-separation-7.md`](research/dbs-separation-7.md): Split soundtrack in the Audio hub, Remove dialogue in Video tools, dubs that keep music and effects), on your GPU only: nobody hosts DBS, and the owner chose not to use a different hosted model in the cloud; Open-H3-Regenerate-2K ("Regenerate in 2K" in Upscale and on results) and WorldCast ("Fly path" in Cinema's 3D scene), on your GPU only, as nobody hosts them; MOSS-Image and its layouts (a Layout mode in the Image studio; also on fal) ([`new-models-7.md`](research/new-models-7.md)). Then the QMA camera-angles LoRA, keyframe in-betweening, Person Remover in more places, LTX-2.5 Restore for old footage, the horror-scene blockout film and Hi3D refinement.+ 6. **Work2Skill W3–W7** ([`work2skill-7.md`](research/work2skill-7.md)): skills run from Assist and MCP (`run_skill`, W3), on a schedule and from the CLI (W4), as canvases (W5), Fuobe suggesting skills and keeping them working (W6), and skills that span studios (W7).+ 7. **Follow-ups:** from round 5, part 1, Assist / MCP tools for Evolution, Fuobe Angles in Layers' Angles tool, long voices split instead of cut, DoP's Mixed Media stills leaving out a look LoRA ComfyUI lacks (as the Mixed Media studio does), Genjutsu's cloud restyle sending its first frame once, a window for Grok Imagine video edit, the other waits on Ollama (a text step's check, Describe, Evolution's direction, the Faceless writer) as short as Assist's, and Save & test telling a slow server from a down one; from round 4, part 5, the Library's engine label for old runs, Soul 2.0 palettes as a palette lock, and Assist / MCP tools for the Character Swap Studio; from earlier parts, palette entries for the studios still missing (`MODEL_STUDIOS` / `TOOL_PAGES` in `src/lib/palette-index.ts`); Assist / MCP tools for Genjutsu (Character swap included), Remove object, Content Factory, the AI Influencer builder and Layers' new tools; 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; a fingerprint check or size limit for LoRA links on hf.co, fal.media and replicate.delivery; a civitai LoRA without a key left out with a note instead of failing for motions and effects too (Fuobe Soul, the Mixed Media studio and Cinema's cloud moves do it); the composer's price with LoRAs, and Canvas's for Fuobe Soul; Fuobe Soul's finish for API, CLI and Canvas runs (a look board's frames too); Canvas keystroke → paint under 16 ms, measured on a production build; splats drawn in the browser and an open rigging route; Soul ID trainings under the Models & licences switches, and hosted models classed by their weights' licence; Replicate trainers and Wan 2.2 image Soul IDs; reference clips on Fuobe Cinema itself; Canvas boards as share links; a tool list and connection test for connectors, a notice when an Ask-first plan waits, and scheduled tasks from MCP and the CLI.+ 8. **Virality Predictor:** an optional, clearly non-commercial TRIBE v2 worker (`docs/workers/tribe-v2.md`).+ 9. **Accounts in three modes** ([`accounts-8.md`](research/accounts-8.md), researched in PR #14): Personal (one person, as today), In-house studio (a company's people with a private library each, teams that share inside the team, roles, spending limits and enterprise features) and Platform (open sign-up, plans, credits, payments and an admin panel), with sign-in on the better-auth library, in 57 packages (17 core, 6 Personal, 13 In-house studio and 21 Platform). Today Fuobe has no accounts: one optional password, and sharing is read-only links.-10. **Real preview media** for apps, motions, effects and studio presets (the previews are procedural today); the O8 harness (`pnpm eval:covers`) can turn promoted, reviewed GPU or cloud renders into covers once there are some.++10. **Real preview media.** 480 of the 487 app, motion and effect cards now show covers from ComfyUI preview renders (474 stills, 6 clips; `pnpm eval:covers --from-masters`). The covers and the filled manifest wait for a person's review before they are committed; until then the committed manifest is empty and every card keeps its procedural preview. Left: the other 7 (two apps and five camera moves), clips for more motion and effect cards (their end frames are still rendering), the studio presets and Fuobe Soul's looks, and covers from measured runs (`pnpm eval:covers <runId>`), which replace a preview render's cover for the same id.## 5. How to reproduce the checksdiff --cc src/components/settings-form.tsxindex 148b84a3,94a4c907..5c269a7b--- a/src/components/settings-form.tsx+++ b/src/components/settings-form.tsx@@@ -612,10 -342,43 +612,43 @@@ export function SettingsForm({ prices }<LoraSettings folder={get("comfyLorasDir")} civitaiKey={get("civitaiKey")} /></Section>+ <Section+ id="training"+ title="Training · AI-Toolkit"+ description={+ <>+ Train Soul IDs and Fuobe looks (LoRAs) on your own GPU with{" "}+ <a href={AI_TOOLKIT_REPO} target="_blank" rel="noreferrer" className="text-brand-text underline-offset-2 hover:underline">+ AI-Toolkit+ </a>+ : free, and the file stays yours. Without it, train in the cloud on fal.ai, or download a training kit from the Train dialog.+ </>+ }+ inactive={mode === "cloud" ? "Not used in Paid APIs only mode" : undefined}+ >+ <ConnectField+ name="aiToolkitUrl"+ setting={get("aiToolkitUrl")}+ provider="ai-toolkit"+ label="AI-Toolkit URL"+ placeholder={DEFAULT_AI_TOOLKIT_URL}+ hint="Where AI-Toolkit's UI listens (in ai-toolkit/ui: npm run build_and_start). Test checks it answers."+ />+ <ConnectField name="aiToolkitToken" setting={get("aiToolkitToken")} provider="ai-toolkit" label="Auth token (optional)" hint="The AI_TOOLKIT_AUTH the trainer was started with, if any." />+ <ConnectField+ name="aiToolkitDatasetDir"+ setting={get("aiToolkitDatasetDir")}+ provider="ai-toolkit"+ label="Photos folder (optional)"+ placeholder="/mnt/shared/datasets"+ hint="Where Fuobe writes the training photos. Blank: Fuobe's data folder, for an AI-Toolkit on this machine; on another machine, a folder both can read."+ />+ </Section>+<Sectionid="text-ai"- title="Prompt enhancement · Claude or Ollama"- description="The Enhance toggle rewrites short ideas into rich prompts, and storyboards split stories into frames. Use Claude, a local Ollama model (fully open source), or the built-in offline rewriter. Claude also powers the Assist agent. In Open source only mode, Automatic skips Claude."+ title="AI helper · Claude or a local model"+ description="The LLM that writes for Fuobe: the Enhance toggle, storyboards, translations and scripts, ad copy, brand research, and the Assist agent. Use Claude, a local model (Ollama, LM Studio, Unsloth Studio or another OpenAI-compatible server: fully open source), or the built-in offline rewriter. In Open source only mode, Automatic skips Claude. Save & test checks a key or address before saving it."><ChoiceFieldid="setting-enhancer"diff --cc src/components/storyboard-view.tsxindex 203edb55,dd2c3bfb..a665f1c5--- a/src/components/storyboard-view.tsx+++ b/src/components/storyboard-view.tsx@@@ -413,7 -498,8 +498,8 @@@ export function StoryboardView({ modelN</div><p className="mt-2 flex items-start gap-1.5 text-[11px] text-muted-foreground"><Sparkles className="mt-px size-3 shrink-0" />-- {mode === "auto" ? "Your story is split into frames by the prompt LLM (Settings → Prompt enhancement), or a shot list when none is set." : "One prompt per frame. References keep the cast consistent."}++ {mode === "auto" ? "Your story is split into frames by the prompt LLM (Settings → AI helper), or a shot list when none is set." : "One prompt per frame. References keep the cast consistent."}+ {lookName && ` Every frame gets the ${lookName} look's grade${aspect === "21:9" ? ", made at 16:9 and cropped to 21:9" : ""}.`}</p></div></div>diff --cc src/lib/connections.tsindex c5d1fede,ba1dfadf..83e62e09--- a/src/lib/connections.ts+++ b/src/lib/connections.ts@@@ -11,26 -11,11 +11,28 @@@ export const PROVIDER_SETTINGS =fal: ["falKey"],replicate: ["replicateToken"],comfyui: ["comfyUrl", "comfyToken", "comfyIsolatedUrl"],- llm: ["anthropicKey", "ollamaUrl", "ollamaModel", "enhanceProvider"],+ // Claude, and the local model servers of Settings → AI helper (Ollama, LM Studio, Unsloth Studio, any OpenAI-compatible one).+ llm: [+ "anthropicKey",+ "ollamaUrl",+ "ollamaModel",+ "enhanceProvider",+ "llmProvider",+ "lmstudioUrl",+ "lmstudioModel",+ "lmstudioToken",+ "unslothUrl",+ "unslothModel",+ "unslothKey",+ "llmUrl",+ "llmModel",+ "llmKey",+ "llmContext",+ ],// Not a model provider: the key that downloads a recipe's civitai LoRAs (Settings → LoRAs).civitai: ["civitaiKey"],+ // Not a model provider either: the trainer Soul IDs and Fuobe looks train on, on your GPU (Settings → Training).+ "ai-toolkit": ["aiToolkitUrl", "aiToolkitToken", "aiToolkitDatasetDir"],} as const satisfies Record<TestProvider, readonly string[]>;export type ConnectionSetting = (typeof PROVIDER_SETTINGS)[TestProvider][number];@@@ -96,12 -84,10 +101,16 @@@ export function settingProblem(name: streturn addressProblem(v, "http://127.0.0.1:8189");case "ollamaUrl":return addressProblem(v, "http://127.0.0.1:11434");+ case "lmstudioUrl":+ return addressProblem(v, "http://127.0.0.1:1234");+ case "unslothUrl":+ return addressProblem(v, "http://127.0.0.1:8888");+ case "llmUrl":+ return addressProblem(v, "http://127.0.0.1:8080/v1");+ case "aiToolkitUrl":+ return addressProblem(v, DEFAULT_AI_TOOLKIT_URL);+ case "aiToolkitDatasetDir":+ return v.startsWith("/") || /^[A-Za-z]:[\\/]/.test(v) ? null : "Use a full path, like /mnt/shared/datasets";}return null;}diff --cc src/server/assist/agent.tsindex fed4cf3e,799c0d8e..125ded30--- a/src/server/assist/agent.ts+++ b/src/server/assist/agent.ts@@@ -30,8 -28,8 +30,8 @@@ importimport type { Engine, Generation, MediaKind } from "@/lib/catalog/types";import { db } from "../db";import { getGeneration } from "../generations";- import { activeLocal, aiHelper, chatLocal, emptyReply, localLabel, localProblem, pinnedKind, toChatMessages, type Ready } from "../llm";++import { activeLocal, aiHelper, chatLocal, emptyReply, localLabel, localProblem, localSoon, pinnedKind, toChatMessages, type Ready } from "../llm";import { offeredDefault } from "../model-access";-import { ollamaModels, ollamaSoon } from "../providers/llm";import { engineMode, getSetting } from "../settings";import { getSkill } from "../skills";import { readRef } from "../storage";@@@ -384,24 -385,16 +384,24 @@@ export async function resolveAgent(): Pconst key = !!getSetting("anthropicKey");if (choice === "none") return "offline";if (choice === "anthropic") return key ? "claude" : "offline";- if (choice === "ollama") return "ollama";+ if (choice === "local") return "local";if (key && engineMode() !== "open") return "claude";- return (await activeLocal()) ? "local" : "offline";- return (await ollamaReachable()) ? "ollama" : "offline";++ return (await localSoon()) ? "local" : "offline";}-const claudeAllowed = () => !!getSetting("anthropicKey") && (engineMode() !== "open" || getSetting("enhanceProvider") === "anthropic");+const claudeAllowed = () => !!getSetting("anthropicKey") && (engineMode() !== "open" || aiHelper() === "anthropic");++/** The local server for the mode picker: its models (Unsloth only answers with the loaded one), or why it can't run. */+function localInfo(ready: Ready | null): AssistLocal {+ if (!ready) return { kind: pinnedKind(), label: localLabel(), ok: false, models: [], model: null, ...(localProblem() && { problem: localProblem()! }) };+ const { server, status } = ready;+ const models = status.models.filter((m) => server.kind !== "unsloth" || m.loaded || m.id === status.model).map((m) => m.id);+ return { kind: server.kind, label: server.label, ok: true, models: models.slice(0, 50), model: status.model };+}export async function availability(): Promise<AssistAvailability> {- const ready = await activeLocal();- const o = await probeOllama();- const aiOff = getSetting("enhanceProvider") === "none";++ const ready = await localSoon();+ const aiOff = aiHelper() === "none";const claude = claudeAllowed();return {claude,@@@ -430,15 -424,15 +430,15 @@@ const LOCAL_NAME = /^[\w.:/@+-]{1,200}$*/export async function resolveMode(choice?: Partial<AssistModeChoice>): Promise<ResolvedMode> {const free = async (note?: string): Promise<ResolvedMode> =>- (await activeLocal()) ? { mode: "free", agent: "local", model: null, effort: null, note } : { mode: "free", agent: "offline", model: null, effort: null, note };- (await ollamaReachable()) ? { mode: "free", agent: "ollama", model: null, effort: null, note } : { mode: "free", agent: "offline", model: null, effort: null, note };- if (getSetting("enhanceProvider") === "none") {++ (await localSoon()) ? { mode: "free", agent: "local", model: null, effort: null, note } : { mode: "free", agent: "offline", model: null, effort: null, note };+ if (aiHelper() === "none") {return { mode: choice?.mode ?? "free", agent: "offline", model: null, effort: null, ...(choice?.mode && choice.mode !== "free" && { note: "The AI helper is off in Settings, so this chat uses the offline planner." }) };}if (!choice?.mode) {const agent = await resolveAgent();return { mode: agent === "claude" ? "smart" : "free", agent, model: null, effort: null };}- const noKey = "Smart and Claude need an Anthropic API key (Settings → API keys) — using Free instead.";- const noKey = "Smart and Claude need an Anthropic API key (Settings → Prompt enhancement) — using Free instead.";++ const noKey = "Smart and Claude need an Anthropic API key (Settings → AI helper) — using Free instead.";if (choice.mode === "smart") return claudeAllowed() ? { mode: "smart", agent: "claude", model: DEFAULT_CLAUDE_MODEL, effort: DEFAULT_EFFORT } : free(noKey);if (choice.mode === "free") return free();// Manual@@@ -449,9 -443,9 +449,9 @@@const effort = ASSIST_EFFORTS.some((e) => e.id === choice.effort) ? choice.effort! : DEFAULT_EFFORT;return { mode: "manual", agent: "claude", model, effort };}- if (agent === "ollama") {- const model = choice.model && OLLAMA_NAME.test(choice.model) ? choice.model : null;- return { mode: "manual", agent: "ollama", model, effort: null, ...(!(await ollamaReachable()) && { note: `Ollama isn't answering at ${getSetting("ollamaUrl")} — start it, or pick another mode.` }) };+ if (agent === "local") {+ const model = choice.model && LOCAL_NAME.test(choice.model) ? choice.model : null;- return { mode: "manual", agent: "local", model, effort: null, ...(!(await activeLocal()) && { note: localDownNote() }) };++ return { mode: "manual", agent: "local", model, effort: null, ...(!(await localSoon()) && { note: localDownNote() }) };}return { mode: "manual", agent: "offline", model: null, effort: null };}@@@ -1287,7 -1325,7 +1287,7 @@@ function refreshFlags(s: State): void}function errorText(e: unknown): string {- if (e instanceof Anthropic.AuthenticationError) return "Your Anthropic API key was rejected. Check it in Settings → API keys.";- if (e instanceof Anthropic.AuthenticationError) return "Your Anthropic API key was rejected. Check it in Settings → Prompt enhancement.";++ if (e instanceof Anthropic.AuthenticationError) return "Your Anthropic API key was rejected. Check it in Settings → AI helper.";if (e instanceof Anthropic.RateLimitError) return "Claude is rate-limited right now. Try again in a minute.";if (e instanceof Anthropic.BadRequestError && /\bmcp\b|connector/i.test(e.message)) return `A connector didn't work: ${e.message}. Check it in Settings → Assist connectors, or switch it off.`;if (e instanceof Anthropic.APIError) return `Claude returned an error (${e.status ?? "network"}): ${e.message}`;diff --cc src/server/assist/tools.tsindex 9727ab0f,30e4c927..5a802cf9--- a/src/server/assist/tools.ts+++ b/src/server/assist/tools.ts@@@ -13,9 -13,9 +13,9 @@@ import { loraFamily, runsSomewhere, TRAimport type { ElementLora } from "@/lib/catalog/elements";import { createPipeline } from "../chains";import { listElements } from "../elements";- import { createGenerations, currentRequest, getGeneration, listGenerations, outputKind, previewChained, previewGeneration } from "../generations";+ import { createGenerations, currentRequest, getGeneration, listGenerations, outputKind, previewChained } from "../generations";import { provider } from "../providers";-import { llmBackends } from "../providers/llm";+import { llmBackends, llmLabel } from "../providers/llm";import { engineMode } from "../settings";import { readRef } from "../storage";import { katanaTool } from "../katana";diff --cc src/server/evolution.tsindex 00000000,3a49a36b..238ad98amode 000000,100644..100644--- a/src/server/evolution.ts+++ b/src/server/evolution.ts@@@ -1,0 -1,286 +1,286 @@@+ import "server-only";+ import { z } from "zod";+ import { getModel } from "@/lib/catalog";+ import {+ DIRECTION_CUT_NOTE,+ DIRECTION_SYSTEM,+ directionRequest,+ EVOLUTION,+ EVOLUTION_DEFAULT_RESOLUTION,+ EVOLUTION_RESOLUTIONS,+ evolutionProblem,+ evolutionTitle,+ nearestShape,+ offlineDirection,+ planEvolution,+ tidyDirection,+ type EvolutionPlanInput,+ type Intensity,+ } from "@/lib/catalog/evolution";+ import type { PlanStep } from "@/lib/catalog/shorts";+ import type { Engine, Generation } from "@/lib/catalog/types";+ import { ACCESS_PLACE } from "@/lib/model-access";+ import { createPipeline } from "./chains";+ import { llmText, llmTextBackend } from "./enhance";+ import { previewChained } from "./generations";+ import { isOffered, offeredModel } from "./model-access";+ import { probeOllama } from "./providers/llm";+ import { engineMode, getSetting } from "./settings";+ import { probeSource, ShortsError } from "./shorts";+ import { readRef } from "./storage";++ /**+ * Video tools → Evolution (Fuobe Evolution, build plan O13): plans, prices and starts a run (src/lib/catalog/evolution.ts)+ * as one pipeline of ordinary generations: feature "evolution" for the finished video, "evolution-step" for the cuts,+ * direction frames, segments and joins. The creative direction is written by an LLM from the references (Claude, or+ * Ollama on the open engine), else by Fuobe's offline writer. No table of its own: the page's history is a feed.+ */++ export { ShortsError as EvolutionError };++ const fileUrl = z.string().startsWith("/api/files/").max(500);+ const seconds = z.number().finite().min(0).max(3600);+ const intensity = z.enum(["low", "medium", "high"]);+ // Hard caps on what a body may carry, well past the limits: a run over the limits is refused by evolutionProblem in+ // words ("Use up to 40 references"), which a schema failure can't say.+ const DIRECTION_CAP = EVOLUTION.maxDirectionChars * 10;+ const REFERENCES_CAP = EVOLUTION.maxReferences * 10;++ /** The body of /api/evolution (and /estimate). */+ export const EvolutionBodySchema = z.object({+ engine: z.enum(["cloud", "open"]),+ intensity: intensity.default("medium"),+ /** The creative direction; empty: written before the run (LLM or offline writer). */+ direction: z.string().max(DIRECTION_CAP).optional(),+ /** Your few words for the writer, when the direction is left to it. */+ idea: z.string().max(2000).optional(),+ references: z.array(fileUrl).max(REFERENCES_CAP).default([]),+ source: z.object({+ url: fileUrl,+ name: z.string().max(200).optional(),+ duration: z.number().finite().positive().max(3600).optional(),+ fps: z.number().finite().positive().max(240).optional(),+ width: z.number().int().positive().max(20000).optional(),+ height: z.number().int().positive().max(20000).optional(),+ hasAudio: z.boolean().optional(),+ }),+ range: z.object({ start: seconds, end: seconds }).optional(),+ resolution: z.string().max(10).optional(),+ seed: z.number().int().min(0).max(2 ** 48).optional(),+ /** A client nonce for one submit: a repeat gets the first answer (see once()). */+ requestId: z.string().trim().min(8).max(64).optional(),+ });+ export type EvolutionBody = z.input<typeof EvolutionBodySchema>;++ /** The estimate is asked for before the upload finishes: any URL stands in, references may still be uploading. */+ export const EvolutionEstimateSchema = EvolutionBodySchema.extend({+ source: EvolutionBodySchema.shape.source.extend({ url: z.string().max(500).default("/api/files/placeholder.mp4") }),+ references: z.array(z.string().max(500)).max(REFERENCES_CAP).default([]),+ });++ /** The body of /api/evolution/direction: what the writer works from. */+ export const DirectionSchema = z.object({+ engine: z.enum(["cloud", "open"]),+ intensity: intensity.default("medium"),+ idea: z.string().max(2000).optional(),+ references: z.array(fileUrl).max(REFERENCES_CAP).default([]),+ /** A frame of the clip the browser grabbed (a JPEG or PNG data URL, at most about 1.5 MB). */+ frame: z+ .string()+ .max(2_000_000)+ .regex(/^data:image\/(jpeg|png|webp);base64,[A-Za-z0-9+/=]+$/)+ .optional(),+ seconds: z.number().finite().positive().max(3600).optional(),+ });++ const mustMatchMode = (engine: Engine) => {+ const mode = engineMode();+ if (mode !== "both" && mode !== engine) {+ throw new ShortsError(mode === "open" ? "This install runs open-source models only (Settings → Engine mode)" : "This install runs cloud models only (Settings → Engine mode)", 422);+ }+ };++ const mustBeOffered = (engine: Engine) => {+ if (!isOffered(EVOLUTION.model, engine)) throw new ShortsError(`Fuobe Evolution is switched off ${engine === "open" ? "on your GPU" : "in the cloud"} in ${ACCESS_PLACE}`, 422);+ };++ // ---------------------------------------------------------------------------+ // The creative direction++ export interface DirectionAnswer {+ direction: string;+ /** Who wrote it. */+ by: "claude" | "ollama" | "offline";+ /** Why the offline writer wrote it, when it did. */+ why?: string;+ }++ const IMAGE = /^image\/(png|jpeg|webp|gif)$/;++ /** The references the writer can see: the first few, pictures only, each under 8 MB. */+ async function referenceImages(urls: string[], max: number) {+ const out: { data: Buffer; contentType: string }[] = [];+ for (const u of urls) {+ if (out.length >= max) break;+ const f = await readRef(u).catch(() => null);+ if (f && IMAGE.test(f.contentType) && f.data.length <= 8 * 1024 * 1024) out.push({ data: f.data, contentType: f.contentType });+ }+ return out;+ }++ /**+ * Write the creative direction: Claude (cloud engine) or Ollama with a vision model (open engine, or no Claude key) sees+ * the clip's frame and the first references; without one (no key, Ollama not running, demo mode, the text model+ * switched off) Fuobe's offline writer builds it from the intensity, your words and the number of references.+ */+ export async function writeDirection(body: z.infer<typeof DirectionSchema>): Promise<DirectionAnswer> {+ mustMatchMode(body.engine);+ if (body.references.length > EVOLUTION.maxReferences) throw new ShortsError(`Use up to ${EVOLUTION.maxReferences} references`, 422);+ const offline = (why: string): DirectionAnswer => ({ direction: offlineDirection({ intensity: body.intensity as Intensity, idea: body.idea, references: body.references.length }), by: "offline", why });+ if (getSetting("demoMode") === "on") return offline("demo mode");+ const textModel = getModel(body.engine === "open" ? "oss-text-llm" : "text-llm");+ if (!textModel || !offeredModel(textModel)) return offline(`the text model is switched off in ${ACCESS_PLACE}`);+ const backend = llmTextBackend();+ const ollama = backend === "ollama" || (backend === "claude" && body.engine === "open");- if (!backend) return offline("no text model is set up (Settings → Prompt enhancement)");++ if (!backend) return offline("no text model is set up (Settings → AI helper)");+ if (ollama && !(await probeOllama())) return offline("Ollama isn't running");+ const max = EVOLUTION.llmReferences[body.engine];+ const frame = body.frame ? [{ data: Buffer.from(body.frame.split(",")[1], "base64"), contentType: body.frame.slice(5, body.frame.indexOf(";")) }] : [];+ const refs = await referenceImages(body.references, max - frame.length);+ const user = directionRequest({ intensity: body.intensity as Intensity, idea: body.idea, references: body.references.length, sent: refs.length, frame: frame.length > 0, seconds: body.seconds });+ const answer = tidyDirection(await llmText(DIRECTION_SYSTEM, user, [...frame, ...refs], { ollamaOnly: body.engine === "open" }));+ if (!answer) return offline(ollama ? "Ollama didn't answer (it needs a vision model to see the references: qwen3-vl, gemma3…)" : "the text model didn't answer");+ return { direction: answer, by: ollama ? "ollama" : "claude" };+ }++ // ---------------------------------------------------------------------------+ // Plan, price, run++ interface Planned {+ input: EvolutionPlanInput;+ notes: string[];+ }++ function planInput(body: z.infer<typeof EvolutionBodySchema>, info: Awaited<ReturnType<typeof probeSource>> | Record<string, never>, direction: string, probed: boolean): Planned {+ const engine = body.engine;+ const source = {+ url: body.source.url,+ duration: info.duration ?? body.source.duration,+ fps: info.fps ?? body.source.fps,+ width: info.width ?? body.source.width,+ height: info.height ?? body.source.height,+ // Sound we couldn't read counts as none (putting it back would fail after the run was paid for).+ hasAudio: probed ? (info.hasAudio ?? false) : (body.source.hasAudio ?? false),+ };+ const range = body.range ?? (source.duration ? { start: 0, end: source.duration } : null);+ if (!range) throw new ShortsError("Reading the clip… try again in a moment");+ const resolution = body.resolution ?? EVOLUTION_DEFAULT_RESOLUTION[engine];+ const problem = evolutionProblem({ engine, source, range, references: body.references.length, direction, resolution });+ if (problem) throw new ShortsError(problem, 422);++ const notes: string[] = [];+ const name = getModel(EVOLUTION.model)?.name ?? "Fuobe Evolution";+ const n = body.references.length;+ if (engine === "open") {+ notes.push(`Each ≤5 s segment: Qwen-Image-Edit takes its first frame toward the direction${n ? ` with your first ${Math.min(n, EVOLUTION.openReferences) === 1 ? "reference" : "two references"}` : ""}, then Wan 2.2 Fun VACE re-renders it from itself at 16 fps`);+ if (n > EVOLUTION.openReferences) notes.push(`The other ${n - EVOLUTION.openReferences} reference${n - EVOLUTION.openReferences > 1 ? "s" : ""} shape the direction only`);+ notes.push("Needs a 24 GB GPU · Wan 2.2 Fun VACE and Qwen-Image-Edit are Apache-2.0");+ } else {+ notes.push(`${name} runs LTX-2.3 video to video on fal in your clip's shape (${nearestShape(source.width, source.height)}) at 24 fps`);+ if (n) notes.push(`LTX-2.3 takes no pictures: your ${n === 1 ? "reference shapes" : `${n} references shape`} the direction`);+ notes.push("LTX-2.x Community License: free under US$10M annual revenue (information, Settings → Models & licences)");+ }+ if (source.hasAudio) notes.push("Your clip's own sound is put back on the result");+ const title = evolutionTitle(direction, body.source.name);+ return {+ notes,+ input: {+ engine,+ title,+ source,+ range,+ intensity: body.intensity as Intensity,+ direction,+ references: body.references,+ resolution,+ ...(body.seed !== undefined ? { seed: body.seed } : {}),+ },+ };+ }++ const withChain = (s: PlanStep) => ({ ...s.request, ...(s.chain ? { chain: s.chain } : {}) });++ /** What the steps cost together (null when a price is unknown) and whether they would run as a demo. */+ function price(steps: PlanStep[]): { costUsd: number | null; demo: boolean } {+ let cost: number | null = 0;+ let demo = false;+ for (const s of steps) {+ let p: ReturnType<typeof previewChained>;+ try {+ p = previewChained(withChain(s), s.after?.length ?? 0);+ } catch (e) {+ throw new ShortsError((e as Error).message, 422);+ }+ demo ||= p.demo;+ cost = cost === null || p.costUsd === null ? null : cost + p.costUsd;+ }+ return { costUsd: cost === null ? null : Math.round(cost * 10000) / 10000, demo };+ }++ export interface EvolutionEstimate {+ costUsd: number | null;+ demo: boolean;+ modelName: string;+ engine: Engine;+ resolution: string;+ /** Pieces (cloud) or segments (GPU). */+ pieces: number;+ seconds: number;+ steps: number;+ notes: string[];+ }++ export function estimateEvolution(body: z.infer<typeof EvolutionEstimateSchema>): EvolutionEstimate {+ mustMatchMode(body.engine);+ mustBeOffered(body.engine);+ // The price doesn't depend on the words: a stand-in direction when none is written yet.+ const { input, notes } = planInput(body, {}, body.direction?.trim() || "the same scene", false);+ const plan = planEvolution(input);+ if (plan.cut) notes.push(DIRECTION_CUT_NOTE);+ return {+ ...price(plan.steps),+ modelName: getModel(EVOLUTION.model)?.name ?? "Fuobe Evolution",+ engine: body.engine,+ resolution: input.resolution ?? EVOLUTION_DEFAULT_RESOLUTION[body.engine],+ pieces: plan.pieces,+ seconds: Math.round((input.range.end - input.range.start) * 100) / 100,+ steps: plan.steps.length,+ notes,+ };+ }++ /** Start the run; a run with no direction gets one written first. Returns the finished video's generation and the direction used. */+ export async function createEvolution(body: z.infer<typeof EvolutionBodySchema>): Promise<{ final: Generation; items: Generation[]; direction: string; by: DirectionAnswer["by"] | "you" }> {+ mustMatchMode(body.engine);+ mustBeOffered(body.engine);+ if (body.resolution && !EVOLUTION_RESOLUTIONS[body.engine].includes(body.resolution)) throw new ShortsError(`Pick ${EVOLUTION_RESOLUTIONS[body.engine].join(" or ")}`, 422);+ const info = await probeSource(body.source.url);+ let direction = body.direction?.trim() ?? "";+ let by: DirectionAnswer["by"] | "you" = "you";+ // Refused before the writer is asked (a clip too short, too many references).+ if (!direction) planInput(body, info, "the same scene", true);+ if (!direction) {+ const written = await writeDirection({ engine: body.engine, intensity: body.intensity, idea: body.idea, references: body.references, seconds: info.duration ?? body.source.duration });+ direction = written.direction;+ by = written.by;+ }+ const { input } = planInput(body, info, direction, true);+ const plan = planEvolution(input);+ let p: ReturnType<typeof createPipeline>;+ try {+ p = createPipeline(plan.steps);+ } catch (e) {+ throw new ShortsError((e as Error).message, 422);+ }+ return { final: p.byKey[plan.final], items: p.items, direction, by };+ }diff --cc src/server/generations.tsindex 7862eab9,0f339ba1..b4a5af3f--- a/src/server/generations.ts+++ b/src/server/generations.ts@@@ -47,15 -52,15 +52,16 @@@ import { provider, PROVIDERS, RETIRED_Pimport { comfyLoraFiles, probeComfy } from "./providers/comfyui";import { graphLoras } from "@/lib/catalog/character-swap";import { ensureLorasOnComfy, prepareCloudLoras, withoutUnreachableCivitai } from "./loras";+ import { ACCESS_PLACE } from "@/lib/model-access";import { offeredLoras, offeredRoutes, requireOffered } from "./model-access";-import { llmBackends, llmMissing, llmUsesClaude, probeOllama } from "./providers/llm";+import { llmBackends, llmLabel, llmMissing, llmUsesClaude, probeLocal } from "./providers/llm";import type { PollContext, PollResult, RemoteOutput } from "./providers/types";import { mediaFacts } from "./media-facts";+import { modelToFinish, startModelFinish, startTurntable, stopModelFinish, type OutputStore } from "./model3d-finish";- import { convertMask } from "./png";+ import { convertMask, decodePng, encodePng } from "./png";import { engineMode, getSetting } from "./settings";import { fetchRemoteToFile } from "./remote-fetch";- import { adoptFile, contentTypeFor, deleteAsset, readRef, saveFile, scratchDir } from "./storage";+ import { adoptFile, contentTypeFor, deleteAsset, localHead, readRef, saveFile, scratchDir } from "./storage";interface Row {id: string;@@@ -845,10 -930,10 +933,10 @@@ const submitting = (): Set<string> => (* placeholder, helps nobody). Returns the error for a step that can't match its dependencies, and* whether it should run as a demo because they did.*/- function chainMode(p: { demo: boolean; plan: { model: { name: string } }; route: ModelRoute }, deps: Pick<Row, "provider">[]): { error?: string; forceDemo?: boolean } {+ function chainMode(p: { demo: boolean; plan: { model: { name: string } }; route: ModelRoute }, deps: Pick<Row, "provider">[], asked?: Pick<GenerationRequest, "demo">): { error?: string; forceDemo?: boolean } {const demoDeps = deps.filter((d) => d.provider === "mock").length;if (p.demo && demoDeps < deps.length) {- const needs = p.route.provider === "llm" ? "Claude or Ollama" : provider(p.route.provider).label;+ const needs = p.route.provider === "llm" ? llmLabel(p.route) : provider(p.route.provider).label;return { error: `${p.plan.model.name} needs ${needs} to continue what the earlier steps made for real — connect it in Settings, then retry` };}if (!p.demo && demoDeps > 0) {@@@ -1386,47 -1497,50 +1511,91 @@@ async function pollOne(r: Row): Promise});}+/** Start (or keep running) the 3D finish of a job whose outputs are stored; it marks the job done when it ends. */+function resumeFinish(r: Row): void {+ const outputs = JSON.parse(r.outputs_json || "[]") as OutputFile[];+ startModelFinish(r.id, outputs, {+ op: r.op,+ provider: r.provider,+ onMessage: (message) => update(r.id, { message }),+ done: (finished) => {+ const now = db().prepare("SELECT status, external_meta_json FROM generations WHERE id = ?").get(r.id) as Pick<Row, "status" | "external_meta_json"> | undefined;+ // Canceled or deleted meanwhile: leave it be.+ if (!now || now.status !== "running") return;+ const meta = JSON.parse(now.external_meta_json ?? "{}") as Record<string, unknown>;+ delete meta.finishing;+ update(r.id, { status: "succeeded", outputs_json: JSON.stringify(finished), external_meta_json: JSON.stringify(meta), progress: 1, message: null, completed_at: Date.now() });+ // The model can be opened and downloaded now; its turntable is rendered after and added to the result.+ startTurntable(r.id, outputStore(r.id));+ },+ });+}++/** A finished job's outputs, for the turntable render that adds to them later. */+function outputStore(id: string): OutputStore {+ return {+ read: () => {+ const row = db().prepare("SELECT outputs_json FROM generations WHERE id = ?").get(id) as Pick<Row, "outputs_json"> | undefined;+ return row ? (JSON.parse(row.outputs_json || "[]") as OutputFile[]) : null;+ },+ write: (outputs) => update(id, { outputs_json: JSON.stringify(outputs) }),+ };+}++/** Turntables the server stopped before rendering (meta.finish.turntable queued or rendering): render them now. */+function resumeTurntables(): void {+ const rows = db()+ .prepare(+ `SELECT id FROM generations WHERE status = 'succeeded' AND op = 'image-to-3d' AND provider = 'comfyui' AND (outputs_json LIKE '%"turntable":"queued"%' OR outputs_json LIKE '%"turntable":"rendering"%') ORDER BY created_at ASC`,+ )+ .all() as Pick<Row, "id">[];+ for (const r of rows) startTurntable(r.id, outputStore(r.id));+}++ /**+ * The face mosaic's cloud step (fal's SAM 3.1 answered with the faces' masks): the picture it looked at, pixelated under+ * every mask, made here when the picture and the masks are PNGs (fal's Soul pictures are), so the Library, share links,+ * Canvas and API clients get the finished picture. A picture the server can't decode is kept as it is with the masks+ * (meta.mosaic) for the browser to pixelate (src/components/studio/soul-finish.ts). No face found: the picture as it is, as+ * the GPU graph returns it. The masks are kept as files of the generation (meta.masks).+ */+ async function mosaicOutput(r: Row, given: RichOutput[]): Promise<OutputFile> {+ const req = JSON.parse(r.request_json) as GenerationRequest;+ const source = req.inputs?.images?.[0];+ if (!source) throw new Error("The face mosaic has no picture to pixelate");+ const asked = req.params?.extra?.mosaicScale;+ const scale = typeof asked === "number" && asked > 0 && asked < 1 ? asked : MOSAIC_SCALE;+ const links = given.flatMap((o) => (o.meta?.masks as unknown[]).filter((u): u is string => typeof u === "string" && !!u));+ const masks: string[] = [];+ for (const [i, url] of [...new Set(links)].entries()) masks.push(String(await keepLink(url, `mask-${i}`, r.id)));+ const picture = await readRef(source);+ let data = picture.data;+ let contentType = picture.contentType;+ let done = !masks.length;+ if (masks.length) {+ try {+ const img = decodePng(picture.data);+ const layers = await Promise.all(masks.map(async (m) => decodePng((await readRef(m)).data)));+ if (layers.some((l) => l.width !== img.width || l.height !== img.height)) throw new Error("The masks aren't the picture's size");+ const view = (b: Buffer) => new Uint8ClampedArray(b.buffer, b.byteOffset, b.byteLength);+ mosaicPixels(view(img.data), unionMasks(layers.map((l) => view(l.data))), img.width, img.height, scale);+ data = encodePng(img);+ contentType = "image/png";+ done = true;+ } catch (e) {+ console.warn(`[fuobe] face mosaic ${r.id} is left to the browser: ${(e as Error).message}`);+ }+ }+ const asset = saveFile({ data, contentType, source: "generation", generationId: r.id });+ return {+ url: asset.url,+ kind: "image",+ contentType: asset.contentType,+ assetId: asset.id,+ meta: { masks, faces: masks.length, ...(!done && { mosaic: { source: asset.url, masks, scale } }) },+ };+ }+/** Outputs may carry text (transcripts, translations, scripts) and structured extras (layer boxes, cues, stems). */type RichOutput = RemoteOutput & { text?: string; meta?: Record<string, unknown> };diff --cc src/server/llm/index.tsindex 4d2ca365,00000000..83560b1amode 100644,000000..100644--- a/src/server/llm/index.ts+++ b/src/server/llm/index.ts@@@ -1,302 -1,0 +1,326 @@@+import "server-only";+import { errorDetail, httpError, keyMessage, rejectsJson, unreachableError } from "./errors";+import { healToolCalls } from "./messages";- import { cached, forget, refresh, refreshSync, statusOf, tokens } from "./probe";++import { takesConnection, within } from "../providers/reach";++import { assumeBusy, cached, forget, refresh, refreshSync, statusOf, tokens } from "./probe";+import { allLocalServers, authHeaders, cap, LOCAL_LABELS, llmContext, localServer, localServers, openaiBase, pinnedKind } from "./servers";+import type { ChatRequest, ChatResult, LocalKind, LocalServer, LocalStatus } from "./types";+import { ollamaBody, openaiBody, parseOllama, parseOpenai } from "./wire";++export { aiHelper, cap, llmContext, localServer, localServers, LOCAL_LABELS, pinnedKind } from "./servers";+export { emptyReply } from "./errors";+export { toChatMessages } from "./messages";+export type * from "./types";++/** A server that can take calls now, with what its probe found. */+export interface Ready {+ server: LocalServer;+ status: LocalStatus;+}++/**+ * The first server that can take calls. With more than one, a server that has the model comes first:+ * Ollama answers (so counts as ready) even with nothing pulled, and mustn't take every call from an+ * LM Studio that has a model.+ */+const pick = (servers: LocalServer[]): Ready | null => {+ const need = llmContext();+ const ready = servers.flatMap((server) => {+ const status = statusOf(server, need);+ return status && !status.problem ? [{ server, status }] : [];+ });+ return ready.find((r) => r.server.kind !== "ollama" || r.status.warning == null) ?? ready[0] ?? null;+};++/** Ask the local servers (answers kept 15 s; `force` asks now). True when one can take calls. */+export async function probeLocal(force = false): Promise<boolean> {+ const servers = localServers();+ await refresh(servers, force);+ return !!pick(servers);+}++/** The server a call goes to now: the first ready one in Settings' order (asks first when the answers are old). */+export async function activeLocal(force = false): Promise<Ready | null> {+ await probeLocal(force);+ return pick(localServers());+}+++/** How long a person's question (Assist) waits for what no check of the local servers has said yet. */++const SOON_MS = 1500;++++/**++ * The server a call would go to, for a person waiting on the answer (Assist's panel, a chat's mode): what the last++ * checks found, as routing reads them (localReady): a stale answer is refreshed in the background, not waited on. It++ * waits, at most `waitMs`, only for a server no check has answered for yet; one whose port took the connection by++ * then counts as busy, so reachable, for now (as routing's blocking first look does), and its check goes on to say for++ * sure. The awaited checks (a text step about to run, a chat's call) keep the full check (activeLocal).++ */++export async function localSoon(waitMs = SOON_MS): Promise<Ready | null> {++ const servers = localServers();++ const unknown = servers.filter((s) => !cached(s));++ const stale = servers.filter((s) => cached(s)?.stale);++ if (stale.length) void refresh(stale).catch(() => {});++ if (unknown.length) {++ const ports = unknown.map((s) => takesConnection(s.url, waitMs));++ const done = await within(refresh(unknown).then(() => true, () => true), waitMs);++ if (!done) (await Promise.all(ports)).forEach((took, i) => took && assumeBusy(unknown[i]));++ }++ return pick(servers);++}+++/**+ * The same, synchronously, for routing. The first look at a server waits for a real answer (a step+ * posted right after boot must not fall back to demo text while the server is up); later looks use+ * the cached one and refresh it in the background.+ */+export function localReady(): Ready | null {+ const servers = localServers();+ const unknown = servers.filter((s) => !cached(s));+ if (unknown.length) refreshSync(unknown);+ if (servers.some((s) => cached(s)?.stale)) void refresh(servers).catch(() => {});+ return pick(servers);+}++/** What the local model is called in messages: the pinned server, the one in use, or "a local model". Never waits. */+export function localLabel(): string {+ const pinned = pinnedKind();+ return pinned ? LOCAL_LABELS[pinned] : (pick(localServers())?.server.label ?? "a local model");+}++/**+ * The model local text steps run on now, for its licence: the ready server's (cached answers only: never+ * asks), else the model the pinned server is set to, else Ollama's. `model` is "" when the server picks one.+ */+export function localModelInUse(): { label: string; model: string } {+ const ready = pick(localServers());+ if (ready?.status.model) return { label: ready.server.label, model: ready.status.model };+ const s = localServer(pinnedKind() ?? "ollama");+ return { label: s.label, model: s.model };+}++/** What to connect, in a sentence: the pinned server, or any of the three. */+export const localWhat = (): string => {+ const pinned = pinnedKind();+ return pinned ? LOCAL_LABELS[pinned] : "a local model (Ollama, LM Studio or Unsloth Studio)";+};++/**+ * Why no local model can run, when a server says (it needs a key, has no model loaded): the pinned+ * server's reason, or in Automatic the first server that answers but can't run. Null otherwise.+ */+export function localProblem(): string | null {+ const need = llmContext();+ const pinned = pinnedKind();+ for (const s of localServers()) {+ const st = statusOf(s, need);+ if (st?.problem && (st.up || pinned)) return st.problem;+ }+ return null;+}++/** Every server's status for Settings (all four, whatever is pinned). */+export async function localStatuses(force = false): Promise<LocalStatus[]> {+ const servers = allLocalServers();+ await refresh(servers, force);+ const need = llmContext();+ return servers.map((s) => statusOf(s, need)!);+}++// ---------------------------------------------------------------------------+// LM Studio: loading a model with the context Fuobe needs++declare global {+ var __fuobeLmLoads: Map<string, Promise<{ model: string; context: number | null; seconds: number | null }>> | undefined;+}+const loads = () => (globalThis.__fuobeLmLoads ??= new Map());++/** POST /api/v1/models/load; concurrent calls for one model share the load. */+function loadLmStudio(s: LocalServer, model: string, context: number) {+ const key = `${s.url}|${model}`;+ let p = loads().get(key);+ if (!p) {+ p = (async () => {+ const res = await fetch(`${s.url}/api/v1/models/load`, {+ method: "POST",+ headers: { "Content-Type": "application/json", ...authHeaders(s) },+ body: JSON.stringify({ model, context_length: context, echo_load_config: true }),+ signal: AbortSignal.timeout(300_000),+ }).catch((e: unknown) => {+ throw unreachableError(s, e);+ });+ if (res.status === 401 || res.status === 403) throw new Error(keyMessage(s));+ if (!res.ok) throw new Error(`LM Studio couldn't load ${model} with ${tokens(context)} tokens of context: ${errorDetail(await res.text())}. Free some GPU memory (ComfyUI shares it), pick a smaller model, or lower the context in Settings → AI helper.`);+ const j = (await res.json().catch(() => ({}))) as { load_time_seconds?: number; load_config?: { context_length?: number } };+ // The next status shows it loaded, so it isn't loaded twice.+ await refresh([s], true);+ return { model, context: j.load_config?.context_length ?? context, seconds: j.load_time_seconds ?? null };+ })().finally(() => loads().delete(key));+ loads().set(key, p);+ }+ return p;+}++/**+ * LM Studio's chat endpoint can't set the context, and loading a model on demand (JIT) uses the+ * app's default (often 4k–8k: too small for Assist's tools). So a model that isn't loaded yet is+ * loaded first with the context from Settings. A model the user loaded is left as it is.+ */+async function prepareLmStudio(s: LocalServer, status: LocalStatus, model: string): Promise<void> {+ const need = llmContext();+ // The latest answers, not the caller's snapshot: a job that started before its first call loaded+ // the model must not load it again for every later call.+ const now = statusOf(s, need) ?? status;+ if (!now.native || !need) return;+ const m = now.models.find((x) => x.id === model) ?? now.models.find((x) => model.startsWith(`${x.id}@`));+ if (!m || m.loaded) return;+ await loadLmStudio(s, model, Math.min(need, m.maxContext || need));+}++/** Settings → "Reload with 16k context": unloads LM Studio's copies of the model, then loads it with the context from Settings. */+export async function reloadLmStudio(model?: string | null): Promise<{ model: string; context: number | null; seconds: number | null }> {+ const s = localServer("lmstudio");+ await refresh([s], true);+ const status = statusOf(s, llmContext());+ if (!status?.up) throw new Error(status?.problem ?? "LM Studio isn't running");+ if (!status.native) throw new Error("Loading a model from Fuobe needs LM Studio 0.4 or later. Load it in LM Studio with a larger context instead.");+ const want = model || status.model;+ const m = status.models.find((x) => x.id === want);+ if (!want || !m) throw new Error(`LM Studio has no model called ${want ?? "that"}`);+ for (const id of m.instances ?? []) {+ await fetch(`${s.url}/api/v1/models/unload`, {+ method: "POST",+ headers: { "Content-Type": "application/json", ...authHeaders(s) },+ body: JSON.stringify({ instance_id: id }),+ signal: AbortSignal.timeout(60_000),+ }).catch(() => null);+ }+ const need = llmContext() || 16384;+ return loadLmStudio(s, want, Math.min(need, m.maxContext || need));+}++// ---------------------------------------------------------------------------+// One call++/**+ * The model a call names: the request's, Settings', or the one the probe picked. Unsloth: none, so+ * its loaded model answers. LM Studio: the probe's, which is the model's key when Settings names it+ * by its display name.+ */+function modelFor(r: Ready, req: ChatRequest): string | null {+ if (req.model) return req.model;+ if (r.server.kind === "unsloth") return r.server.model || null;+ if (r.server.kind === "lmstudio") return r.status.model || r.server.model || null;+ return r.server.model || r.status.model;+}++/**+ * One chat call to a local server (not streamed). With `json`, a server that rejects structured+ * output is asked again without it (the prompts ask for JSON too). With `tools`, calls the model+ * wrote as text are read back. Throws messages that say how to fix the server; a reply with no+ * text is returned as it is (see emptyReply).+ */+export async function chatLocal(r: Ready, req: ChatRequest): Promise<ChatResult> {+ const s = r.server;+ const model = modelFor(r, req);+ if (s.kind === "lmstudio" && model) await prepareLmStudio(s, r.status, model);+ const signal = req.signal ? AbortSignal.any([req.signal, AbortSignal.timeout(req.timeoutMs)]) : AbortSignal.timeout(req.timeoutMs);+ const url = s.kind === "ollama" ? `${s.url}/api/chat` : `${openaiBase(s)}/chat/completions`;+ const send = (withJson: boolean) =>+ fetch(url, {+ method: "POST",+ headers: { "Content-Type": "application/json", ...authHeaders(s) },+ body: JSON.stringify(s.kind === "ollama" ? ollamaBody(req, model ?? s.model, llmContext(), withJson) : openaiBody(s.kind, req, model, withJson)),+ signal,+ }).catch((e: unknown) => {+ if (req.signal?.aborted) throw e;+ // It was up a moment ago: look again before routing sends it more.+ if ((e as Error)?.name !== "TimeoutError") forget(s);+ throw unreachableError(s, e);+ });+ let res = await send(true);+ if (!res.ok) {+ const body = await res.text().catch(() => "");+ if (req.json && rejectsJson(s.kind, res.status, body)) res = await send(false);+ else throw httpError(s, res.status, body, model);+ if (!res.ok) throw httpError(s, res.status, await res.text().catch(() => ""), model);+ }+ let j: unknown;+ try {+ j = await res.json();+ } catch (e) {+ if (req.signal?.aborted) throw e;+ if ((e as Error)?.name === "TimeoutError") throw unreachableError(s, e);+ throw new Error(`${cap(s.label)} sent an answer Fuobe couldn't read`);+ }+ const answer = model ?? r.status.model ?? s.label;+ const out = s.kind === "ollama" ? parseOllama(j as Parameters<typeof parseOllama>[0], answer) : parseOpenai(j as Parameters<typeof parseOpenai>[0], answer);+ if (req.tools?.length && !out.toolCalls.length && out.text) {+ const healed = healToolCalls(out.text, new Set(req.tools.map((t) => t.name)));+ if (healed.calls.length) return { ...out, text: healed.text, toolCalls: healed.calls, stop: "tool_use" };+ }+ return out;+}++/** Settings → Test: a tiny call to the server text steps would use (or the one named), timed. */+export async function testLocal(kind?: LocalKind | null): Promise<{ ok: boolean; detail: string; ms?: number; model?: string }> {+ const servers = kind ? [localServer(kind)] : localServers();+ await refresh(servers, true);+ const ready = pick(servers);+ if (!ready) {+ const need = llmContext();+ const said = servers.map((s) => statusOf(s, need)).find((st) => st?.problem && (st.up || servers.length === 1));+ return { ok: false, detail: said?.problem ?? "No local model server is answering. Start Ollama, LM Studio or Unsloth Studio, or set your server's URL." };+ }+ const t0 = Date.now();+ try {+ const r = await chatLocal(ready, { messages: [{ role: "user", content: "Reply with the word OK." }], think: false, maxTokens: 16, timeoutMs: 300_000 });+ const ms = Date.now() - t0;+ const note = r.text ? "" : " (it was still thinking: models that think first answer more slowly)";+ return { ok: true, ms, model: r.model, detail: `${cap(ready.server.label)} answered in ${(ms / 1000).toFixed(1)} s with ${r.model}${note}` };+ } catch (e) {+ return { ok: false, detail: (e as Error).message };+ }+}++/**+ * Settings → Save & test for a local server's URL, model or key: does it answer, and has it the model+ * Settings names? Reads its model list only (no call, nothing loaded), so it is quick. Without+ * `kind`: the server text steps would use.+ */+export async function checkLocal(kind?: LocalKind | null): Promise<{ ok: boolean; detail: string }> {+ const servers = kind ? [localServer(kind)] : localServers();+ await refresh(servers, true);+ const need = llmContext();+ const ready = pick(servers);+ if (!ready) {+ const said = servers.map((s) => statusOf(s, need)).find((st) => st?.problem && (st.up || servers.length === 1));+ return { ok: false, detail: said?.problem ?? `Nothing answers at ${servers.map((s) => s.url).join(", ")}. Start Ollama, LM Studio or Unsloth Studio, or set your server's URL.` };+ }+ const { server, status } = ready;+ // Ollama answers without the model too (a call would name it): here that is a failed check.+ if (server.kind === "ollama" && status.warning) {+ return { ok: false, detail: status.models.length ? `Ollama answers, but ${server.model} isn't pulled — run: ollama pull ${server.model}` : status.warning };+ }+ const detail = `${cap(server.label)} · ${status.model ?? "its loaded model"} ready`;+ return { ok: true, detail: status.warning ? `${detail} · ${status.warning}` : detail };+}++/** What /api/status says about the local model (no keys). */+export async function localSummary() {+ const servers = localServers();+ await refresh(servers);+ const need = llmContext();+ const ready = pick(servers);+ return {+ provider: pinnedKind() ?? "auto",+ context: need,+ local: ready+ ? { kind: ready.server.kind, label: ready.server.label, url: ready.server.url, model: ready.status.model, loaded: ready.status.loaded, context: ready.status.context, warning: ready.status.warning }+ : null,+ problem: ready ? null : localProblem(),+ detected: servers.map((s) => {+ const st = statusOf(s, need)!;+ return { kind: s.kind, label: s.label, url: s.url, up: st.up, auth: st.auth, models: st.models.length, model: st.model, problem: st.problem };+ }),+ };+}diff --cc src/server/llm/probe.tsindex 263d68a8,00000000..611ad1acmode 100644,000000..100644--- a/src/server/llm/probe.ts+++ b/src/server/llm/probe.ts@@@ -1,301 -1,0 +1,391 @@@+import "server-only";+import { createHash } from "node:crypto";+import { MessageChannel, receiveMessageOnPort, Worker } from "node:worker_threads";++import { hostPort, REACH, takesConnection } from "../providers/reach";+import { keyMessage, START_HINT } from "./errors";+import { authHeaders, cap, openaiBase } from "./servers";+import type { LocalModel, LocalServer, LocalStatus } from "./types";++/*- * Is a local server usable, and with which model? Each server is asked with a few GETs sent at once- * (1.5 s each); the answers are kept for 15 s per server and read into a LocalStatus with the- * current Settings. Routing is synchronous, so the first look at a server (after boot, or after- * its URL or key changes in Settings) asks from a worker thread and waits for it; later looks- * refresh in the background.++ * Is a local server usable, and with which model? Each server is asked with a few GETs sent at once;++ * the answers are kept for 15 s per server and read into a LocalStatus with the current Settings.++ * Routing is synchronous, so the first look at a server (after boot, or after its URL or key changes++ * in Settings) asks from a worker thread and waits for it; later looks refresh in the background.++ *++ * A late answer isn't "down": the busy-vs-down rules ComfyUI and Ollama follow (../providers/reach)++ * hold for every local server. A refused port or an HTTP answer is read at once. No answer in time is++ * busy when the server answered lately (it keeps what it last said: a model loading, a long answer++ * under way); else it gets one longer look when its port takes a connection (none again for a while++ * once one goes unanswered). The blocking first look counts a taken connection as busy for now, and++ * the unhurried check behind it says for sure.+ */++/** One GET's answer: the status and the JSON body, or why there was none. */+export interface Raw {+ status?: number;+ body?: unknown;+ error?: string;+}+export type Probe = Record<string, Raw>;++interface ProbeRequest {+ key: string;+ url: string;+ headers: Record<string, string>;+}++export const PROBE_MS = 15_000;- const PROBE_TIMEOUT_MS = 1500;++/** How long the blocking first look waits for each GET. */++const SYNC_TIMEOUT_MS = 1500;+const EMBEDDING = /embed|rerank/i;++/**+ * Ollama: its model list. LM Studio: its own model list (loaded copies, context, tool training),+ * and the OpenAI one for versions before 0.4. Unsloth Studio: its liveness check (which names the+ * service: Jupyter also likes port 8888) and its model list. Any other server: the OpenAI model list.+ */+export function probeRequests(s: LocalServer): ProbeRequest[] {+ if (!s.url) return [];+ const auth = authHeaders(s);+ if (s.kind === "ollama") return [{ key: "tags", url: `${s.url}/api/tags`, headers: {} }];+ if (s.kind === "lmstudio") {+ return [+ { key: "native", url: `${s.url}/api/v1/models`, headers: auth },+ { key: "openai", url: `${s.url}/v1/models`, headers: auth },+ ];+ }+ if (s.kind === "unsloth") {+ return [+ { key: "live", url: `${s.url}/api/liveness`, headers: {} },+ { key: "openai", url: `${s.url}/v1/models`, headers: auth },+ ];+ }+ return [{ key: "openai", url: `${openaiBase(s)}/models`, headers: auth }];+}++const ok = (r?: Raw): r is Raw & { status: number } => !!r?.status && r.status >= 200 && r.status < 300;+const denied = (r?: Raw) => r?.status === 401 || r?.status === 403;+const rows = (v: unknown): Record<string, unknown>[] => (Array.isArray(v) ? v.filter((x): x is Record<string, unknown> => !!x && typeof x === "object") : []);+const field = (v: unknown, k: string): unknown => (v && typeof v === "object" ? (v as Record<string, unknown>)[k] : undefined);+const num = (v: unknown): number | null => (typeof v === "number" && Number.isFinite(v) && v > 0 ? v : null);+const str = (v: unknown): string | null => (typeof v === "string" && v ? v : null);+export const tokens = (n: number) => n.toLocaleString("en-US");++function notRunning(s: LocalServer, r?: Raw): string {- if (r?.error === "TimeoutError") return `${cap(s.label)} didn't answer at ${s.url} within ${PROBE_TIMEOUT_MS / 1000} s. ${START_HINT[s.kind]}`;++ if (r?.error === "TimeoutError") return `${cap(s.label)} didn't answer at ${s.url} in time. ${START_HINT[s.kind]}`;+ if (r?.status) return `${cap(s.label)} answered ${r.status} at ${s.url}. Check its URL in Settings → AI helper.`;+ return `${cap(s.label)} isn't running at ${s.url}. ${START_HINT[s.kind]}`;+}++/** A loaded model with less context than Fuobe asks for (or than the model's most, when that's less: a reload can't give more). */+function smallContext(s: LocalServer, model: string, have: number | null, need: number, max?: number | null): string | null {+ const want = Math.min(need, max ?? need);+ if (!want || !have || have >= want) return null;+ const fix = s.kind === "lmstudio" ? `Reload it with ${Math.round(want / 1024)}k context (Settings → AI helper)` : "Load it in Unsloth Studio with a larger context";+ return `${model} is loaded with ${tokens(have)} tokens of context; Assist and long texts need about ${tokens(need)}. ${fix}.`;+}++/** What a probe's answers say about a server: up or not, its chat models, the model a call would use, and what's wrong. */+export function interpret(s: LocalServer, probe: Probe, need: number, at: number): LocalStatus {+ const base: LocalStatus = { kind: s.kind, label: s.label, url: s.url, up: false, auth: s.key ? "ok" : "none", models: [], model: null, loaded: null, context: null, problem: null, warning: null, at };+ if (!s.url) return { ...base, problem: "Set the server's URL in Settings → AI helper (for example http://127.0.0.1:8080/v1)." };+ const keyProblem = (): LocalStatus => ({ ...base, up: true, auth: s.key ? "rejected" : "missing", problem: keyMessage(s) });++ if (s.kind === "ollama") {+ const tags = probe.tags;+ if (!ok(tags)) return { ...base, problem: notRunning(s, tags) };+ const models = rows(field(tags.body, "models"))+ .map((m) => ({ id: str(m.name) ?? str(m.model) ?? "" }))+ .filter((m) => m.id && !EMBEDDING.test(m.id));+ const have = models.some((m) => m.id === s.model || m.id === `${s.model}:latest`);+ // Ollama is ready whenever it answers (as before): a missing model is named when a call needs it.+ const warning = !models.length ? `Ollama has no models yet. Run \`ollama pull ${s.model}\`.` : have ? null : `${s.model} isn't downloaded. Run \`ollama pull ${s.model}\`, or pick one Ollama has.`;+ return { ...base, up: true, auth: "none", models, model: s.model, context: need || null, warning };+ }++ if (s.kind === "lmstudio") {+ const native = probe.native;+ const openai = probe.openai;+ if (denied(native) || denied(openai)) return keyProblem();+ let models: LocalModel[];+ const isNative = ok(native) && Array.isArray(field(native.body, "models"));+ if (isNative) {+ models = rows(field(native.body, "models"))+ .filter((m) => m.type === "llm" && str(m.key))+ .map((m) => {+ const loaded = rows(m.loaded_instances);+ const reasoning = field(field(m.capabilities, "reasoning"), "default");+ return {+ id: m.key as string,+ name: str(m.display_name) ?? undefined,+ loaded: loaded.length > 0,+ tools: field(m.capabilities, "trained_for_tool_use") === true,+ reasoning: typeof reasoning === "string" && reasoning !== "off",+ context: num(field(loaded[0]?.config, "context_length")),+ maxContext: num(m.max_context_length),+ instances: loaded.flatMap((i) => (str(i.id) ? [i.id as string] : [])),+ };+ });+ } else if (ok(openai) && Array.isArray(field(openai.body, "data"))) {+ // LM Studio before 0.4: ids only (all downloaded models with JIT loading on, else the loaded ones).+ models = rows(field(openai.body, "data"))+ .flatMap((m) => (str(m.id) ? [{ id: m.id as string }] : []))+ .filter((m) => !EMBEDDING.test(m.id));+ } else return { ...base, problem: notRunning(s, native?.status ? native : openai) };+ const up = { ...base, up: true, models, native: isNative };+ if (!models.length) return { ...up, problem: "LM Studio has no chat models downloaded yet. Download one in LM Studio (Discover), or run `lms get qwen/qwen3-8b`." };+ let pick: LocalModel | undefined;+ if (s.model) {+ pick = models.find((m) => m.id === s.model || m.name === s.model || s.model.startsWith(`${m.id}@`) || m.instances?.includes(s.model));+ if (!pick && isNative) return { ...up, problem: `LM Studio has no model called ${s.model}. Download it in LM Studio (or run \`lms get ${s.model}\`), or pick another in Settings → AI helper.` };+ } else {+ // A loaded model, else one trained for tool calling (Assist needs it), else any.+ pick = models.find((m) => m.loaded) ?? models.find((m) => m.tools) ?? models[0];+ }+ // A display name ("Qwen3 8B") finds the model, but calls and loads need its key.+ const model = pick && pick.name === s.model && pick.id !== s.model ? pick.id : s.model || pick!.id;+ const context = pick?.loaded ? (pick.context ?? null) : null;+ const warning =+ smallContext(s, model, context, need, pick?.maxContext) ??+ (pick?.maxContext && need && pick.maxContext < need ? `${model} handles only ${tokens(pick.maxContext)} tokens of context; Assist and long texts need about ${tokens(need)}.` : null) ??+ (pick?.reasoning ? `${model} thinks before it answers, which is slower. A model without thinking (an instruct model) suits Fuobe better.` : null);+ return { ...up, model, loaded: isNative ? !!pick?.loaded : null, context, warning };+ }++ if (s.kind === "unsloth") {+ const live = probe.live;+ if (!ok(live) || field(live.body, "service") !== "Unsloth UI Backend") {+ return { ...base, problem: ok(live) ? `Something else answers at ${s.url}, not Unsloth Studio. Check the URL (Unsloth Studio uses port 8888 unless you changed it).` : notRunning(s, live) };+ }+ const openai = probe.openai;+ if (denied(openai)) return keyProblem();+ if (!ok(openai)) return { ...base, up: true, problem: `Unsloth Studio didn't list its models (${openai?.status ?? openai?.error ?? "no answer"}). Try again in a moment.` };+ // Rows with a task are speech, music or image models.+ const models: LocalModel[] = rows(field(openai.body, "data"))+ .filter((m) => str(m.id) && !m.task)+ .map((m) => ({ id: m.id as string, name: str(m.display_name) ?? undefined, loaded: m.loaded === true, context: num(m.context_length), maxContext: num(m.max_context_length) }));+ const up = { ...base, up: true, models };+ if (s.model) {+ const want = s.model.toLowerCase();+ const pick = models.find((m) => m.id.toLowerCase() === want) ?? models.find((m) => want.startsWith(`${m.id.toLowerCase()}:`));+ if (!pick) return { ...up, problem: `Unsloth Studio has no model called ${s.model}. Pick one it lists in Settings → AI helper, or leave the model empty to use the one loaded in Unsloth.` };+ const warning = pick.loaded+ ? smallContext(s, s.model, pick.context ?? null, need, pick.maxContext)+ : `${s.model} isn't loaded in Unsloth Studio. It loads by itself only with Model auto-switch on (in Unsloth: avatar → Settings → API); otherwise load it on Unsloth's Chat page.`;+ return { ...up, model: s.model, loaded: !!pick.loaded, context: pick.context ?? null, warning };+ }+ const loaded = models.find((m) => m.loaded);+ if (!loaded) return { ...up, problem: `Unsloth Studio has no model loaded. Load one on its Chat page (Select model)${models.length ? "" : " after downloading one there"}.` };+ return { ...up, model: loaded.id, loaded: true, context: loaded.context ?? null, warning: smallContext(s, loaded.id, loaded.context ?? null, need, loaded.maxContext) };+ }++ // Any other OpenAI-compatible server.+ const openai = probe.openai;+ if (denied(openai)) return keyProblem();+ if (!ok(openai)) return { ...base, problem: notRunning(s, openai) };+ const models: LocalModel[] = rows(field(openai.body, "data"))+ .flatMap((m) => (str(m.id) ? [{ id: m.id as string }] : []))+ .filter((m) => !EMBEDDING.test(m.id));+ const up = { ...base, up: true, models };+ const model = s.model || models[0]?.id;+ if (!model) return { ...up, problem: `${cap(s.label)} lists no models. Load one in it, or name the model in Settings → AI helper.` };+ const warning = s.model && models.length && !models.some((m) => m.id === s.model) ? `${s.model} isn't in the server's model list (${models.map((m) => m.id).slice(0, 4).join(", ")}).` : null;+ return { ...up, model, warning };+}++// ---------------------------------------------------------------------------+// Asking, and the cache+++/**++ * What a server's last check found: its answers (`probe`), when it last answered (`seen`), when a longer look last++ * went unanswered (`silent`). `busy`: its port took the connection but no answer came yet, so it counts as up for++ * now (no models known) until a check says for sure; any answer replaces it.++ */++export interface Entry {++ at: number;++ probe: Probe;++ seen?: number;++ silent?: number;++ busy?: boolean;++}+++declare global {- var __fuobeLocalProbes: Map<string, { at: number; probe: Probe }> | undefined;++ var __fuobeLocalProbes: Map<string, Entry> | undefined;+ var __fuobeLocalProbing: Map<string, Promise<void>> | undefined;+}+const probes = () => (globalThis.__fuobeLocalProbes ??= new Map());+const probing = () => (globalThis.__fuobeLocalProbing ??= new Map());++/** A server's cache key: its kind, URL and (a hash of) its key, so a new key is checked at once. */+const sigOf = (s: LocalServer) => `${s.kind}|${s.url}|${s.key ? createHash("sha256").update(s.key).digest("hex").slice(0, 16) : ""}`;++const parse = (text: string | undefined): unknown => {+ try {+ return text ? JSON.parse(text) : null;+ } catch {+ return null;+ }+};+- async function get(r: ProbeRequest): Promise<Raw> {++async function get(r: ProbeRequest, timeoutMs: number): Promise<Raw> {+ try {- const res = await fetch(r.url, { headers: r.headers, signal: AbortSignal.timeout(PROBE_TIMEOUT_MS) });++ const res = await fetch(r.url, { headers: r.headers, signal: AbortSignal.timeout(timeoutMs) });+ return { status: res.status, body: parse(await res.text()) };+ } catch (e) {+ const err = e as { name?: string; cause?: { code?: string } };+ return { error: err.name === "TimeoutError" ? "TimeoutError" : (err.cause?.code ?? err.name ?? "error") };+ }+}+++/** The server answered one of its GETs (any HTTP status: interpret reads what it said). */++const answered = (raws: Raw[]) => raws.some((r) => r.status !== undefined);++/** None of its GETs got an answer in time (a refused port or a bad name is a no, not late). */++const late = (raws: Raw[]) => raws.length > 0 && raws.every((r) => r.error === "TimeoutError");++const lately = (t?: number) => !!t && Date.now() - t < REACH.answeredLatelyMs;++++/**++ * One unhurried check of a server by the busy-vs-down rules (see the top of this file): its GETs within++ * REACH.answerMs; late with a recent answer keeps the last answers (busy); late otherwise gets the longer look when++ * the port takes a connection and no longer look went unanswered lately.++ */++async function check(s: LocalServer, prev: Entry | undefined): Promise<Omit<Entry, "at">> {++ const reqs = probeRequests(s);++ let raws = await Promise.all(reqs.map((r) => get(r, REACH.answerMs)));++ if (prev && !prev.busy && late(raws) && lately(prev.seen)) return { probe: prev.probe, seen: prev.seen };++ let silent = prev?.silent;++ if (late(raws) && !lately(silent) && (await takesConnection(s.url, REACH.connectMs))) {++ raws = await Promise.all(reqs.map((r) => get(r, REACH.lookMs)));++ if (!answered(raws)) silent = Date.now();++ }++ const probe: Probe = Object.fromEntries(reqs.map((r, i) => [r.key, raws[i]]));++ return answered(raws) ? { probe, seen: Date.now() } : { probe, ...(silent ? { silent } : {}) };++}+++/** Ask the servers whose answers are older than 15 s (all of them with `force`), in parallel. */+export async function refresh(servers: LocalServer[], force = false): Promise<void> {+ await Promise.all(+ servers.map(async (s) => {+ const sig = sigOf(s);+ const cur = probes().get(sig);+ if (!force && cur && Date.now() - cur.at < PROBE_MS) return;+ // `force` asks anew: an answer already on its way may predate what changed (a model just loaded).+ const pending = force ? undefined : probing().get(sig);+ if (pending) return pending;+ const started = Date.now();+ const p: Promise<void> = (async () => {- const reqs = probeRequests(s);- const raws = await Promise.all(reqs.map(get));- // An older question that answers late doesn't overwrite a newer answer.++ const found = await check(s, cur);++ // An older question that answers late doesn't overwrite a newer answer (a "busy for now" guess it always does).+ const now = probes().get(sig);- if (!now || now.at <= started) probes().set(sig, { at: started, probe: Object.fromEntries(reqs.map((r, i) => [r.key, raws[i]])) });++ if (!now || now.at <= started || now.busy) probes().set(sig, { at: started, ...found });+ })().finally(() => {+ if (probing().get(sig) === p) probing().delete(sig);+ });+ probing().set(sig, p);+ await p;+ }),+ );+}++const WORKER = `const { workerData } = require("node:worker_threads");- const { port, sab, requests, timeout } = workerData;++const { port, sab, requests, timeout, hosts } = workerData;+const flag = new Int32Array(sab);++// Whether each server's port takes a connection: one that does but doesn't answer in time is busy for now.++const connected = hosts.map(() => false);++hosts.forEach((at, i) => {++ if (!at) return;++ const socket = require("node:net").connect(at);++ socket.once("connect", () => ((connected[i] = true), socket.destroy())).once("error", () => {});++});+const one = (r) =>+ fetch(r.url, { headers: r.headers, signal: AbortSignal.timeout(timeout) })+ .then(async (res) => ({ status: res.status, text: (await res.text()).slice(0, 4000000) }))+ .catch((e) => ({ error: e && e.name === "TimeoutError" ? "TimeoutError" : (e && e.cause && e.cause.code) || "error" }));+Promise.all(requests.map(one))- .then((out) => port.postMessage(out))- .catch(() => port.postMessage([]))++ .then((out) => port.postMessage({ out, connected }))++ .catch(() => port.postMessage({ out: [], connected }))+ .finally(() => {+ Atomics.store(flag, 0, 1);+ Atomics.notify(flag, 0);+ });`;++/**+ * The blocking first look: every server's GETs in one worker thread, waited for (a few ms when- * nothing listens, at most 1.5 s + 1 s for a host that doesn't answer).++ * nothing listens, at most 1.5 s + 1 s for a host that doesn't answer). A server whose port took the++ * connection but that didn't answer in time is busy for now; for any server that didn't answer in++ * time, the unhurried check goes on behind it to say for sure.+ */+export function refreshSync(servers: LocalServer[]): void {+ const reqs = servers.flatMap((s, i) => probeRequests(s).map((r) => ({ ...r, server: i })));+ const raws: Raw[] = reqs.map(() => ({ error: "TimeoutError" }));++ let connected: boolean[] = [];+ if (reqs.length) {+ try {+ const sab = new SharedArrayBuffer(4);+ const flag = new Int32Array(sab);+ const { port1, port2 } = new MessageChannel();+ const worker = new Worker(WORKER, {+ eval: true,- workerData: { port: port2, sab, requests: reqs.map(({ url, headers }) => ({ url, headers })), timeout: PROBE_TIMEOUT_MS },++ workerData: {++ port: port2,++ sab,++ requests: reqs.map(({ url, headers }) => ({ url, headers })),++ timeout: SYNC_TIMEOUT_MS,++ hosts: servers.map((s) => hostPort(s.url) ?? null),++ },+ transferList: [port2],+ });- Atomics.wait(flag, 0, 0, PROBE_TIMEOUT_MS + 1000);- const got = receiveMessageOnPort(port1)?.message as { status?: number; text?: string; error?: string }[] | undefined;- got?.forEach((g, i) => (raws[i] = g.status !== undefined ? { status: g.status, body: parse(g.text) } : { error: g.error }));++ Atomics.wait(flag, 0, 0, SYNC_TIMEOUT_MS + 1000);++ const got = receiveMessageOnPort(port1)?.message as { out: { status?: number; text?: string; error?: string }[]; connected: boolean[] } | undefined;++ got?.out.forEach((g, i) => (raws[i] = g.status !== undefined ? { status: g.status, body: parse(g.text) } : { error: g.error }));++ connected = got?.connected ?? [];+ port1.close();+ void worker.terminate();+ } catch {}+ }+ const at = Date.now();- servers.forEach((s, i) => probes().set(sigOf(s), { at, probe: Object.fromEntries(reqs.flatMap((r, k) => (r.server === i ? [[r.key, raws[k]]] : []))) }));++ servers.forEach((s, i) => {++ const mine = reqs.flatMap((r, k) => (r.server === i ? [[r.key, raws[k]] as const] : []));++ const got = mine.map(([, raw]) => raw);++ if (late(got) && connected[i]) probes().set(sigOf(s), { at, probe: {}, busy: true });++ else probes().set(sigOf(s), { at, probe: Object.fromEntries(mine), ...(answered(got) ? { seen: at } : {}) });++ if (late(got)) void refresh([s], true).catch(() => {});++ });++}++++/** A server no check has answered for yet, whose port took the connection: busy, so up, for now (a check says for sure). */++export function assumeBusy(s: LocalServer): void {++ if (!probes().has(sigOf(s))) probes().set(sigOf(s), { at: Date.now(), probe: {}, busy: true });++}++++/** What a server whose port took the connection but that hasn't answered yet counts as: up, with no models known. */++function busyStatus(s: LocalServer, at: number): LocalStatus {++ return {++ kind: s.kind,++ label: s.label,++ url: s.url,++ up: true,++ auth: s.key ? "ok" : "none",++ models: [],++ model: s.model || null,++ loaded: null,++ context: null,++ problem: null,++ warning: `${cap(s.label)} took the connection at ${s.url} but hasn't answered yet (busy loading a model?). Fuobe is still checking.`,++ at,++ };+}++/** The cached answers for a server (null: never asked), and whether they're older than 15 s. */- export function cached(s: LocalServer): { at: number; probe: Probe; stale: boolean } | null {++export function cached(s: LocalServer): (Entry & { stale: boolean }) | null {+ const c = probes().get(sigOf(s));+ return c ? { ...c, stale: Date.now() - c.at > PROBE_MS } : null;+}++/** The server's status from its cached answers and the current Settings (null: never asked). */+export function statusOf(s: LocalServer, need: number): LocalStatus | null {+ const c = probes().get(sigOf(s));- return c ? interpret(s, c.probe, need, c.at) : null;++ return c ? (c.busy ? busyStatus(s, c.at) : interpret(s, c.probe, need, c.at)) : null;+}++/** Forget a server's answers (its next look asks again). */+export const forget = (s: LocalServer) => void probes().delete(sigOf(s));diff --cc src/server/providers/llm.tsindex 34d9d5d8,89bcb04c..4827b6ed--- a/src/server/providers/llm.ts+++ b/src/server/providers/llm.ts@@@ -112,7 -184,7 +112,7 @@@ async function viaClaude(system: string{ signal },)) as Anthropic.Beta.BetaMessage;} catch (e) {- if (e instanceof Anthropic.AuthenticationError) throw new Error("Your Anthropic API key was rejected. Check it in Settings → API keys.");- if (e instanceof Anthropic.AuthenticationError) throw new Error("Your Anthropic API key was rejected. Check it in Settings → Prompt enhancement.");++ if (e instanceof Anthropic.AuthenticationError) throw new Error("Your Anthropic API key was rejected. Check it in Settings → AI helper.");if (e instanceof Anthropic.RateLimitError) throw new Error("Claude is rate-limited right now. Try again in a minute.");if (e instanceof Anthropic.APIError) throw new Error(`Claude returned an error (${e.status ?? "network"}): ${e.message}`);throw e;diff --cc tests/ollama-reach.test.tsindex 00000000,1fd954d0..6ffa44a1mode 000000,100644..100644--- a/tests/ollama-reach.test.ts+++ b/tests/ollama-reach.test.ts@@@ -1,0 -1,250 +1,189 @@@-import { spawn } from "node:child_process";+ import fs from "node:fs";+ import http from "node:http";+ import net from "node:net";+ import os from "node:os";+ import path from "node:path";+ import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";++ vi.setConfig({ testTimeout: 30_000 });+ const dir = fs.mkdtempSync(path.join(os.tmpdir(), "fuobe-ollama-reach-"));+ process.env.FUOBE_DATA_DIR = dir;+ process.env.COMFYUI_URL = "http://127.0.0.1:9";++ const { setSetting } = await import("@/server/settings");+ const llm = await import("@/server/providers/llm");+ const { REACH } = await import("@/server/providers/reach");+++/**++ * The busy-vs-down rules of main's Ollama check (Fixes 5), through the local LLM layer (src/server/llm/probe.ts),++ * which applies them to every local server. Ollama is pinned here so no other local server on this machine is asked.++ */+++ /** A stand-in Ollama: /api/tags answers `status` after `delay` ms (busy loading a model, it answers late but takes the connection). */+ let delay = 0;+ let status = 200;+ let asked = 0;+ const server = http.createServer((req, res) => {+ if (req.url !== "/api/tags") return void res.writeHead(404).end();+ asked++;+ setTimeout(() => {+ if (res.destroyed) return;+ res.writeHead(status, { "Content-Type": "application/json" });+ res.end(JSON.stringify({ models: [{ name: "qwen3:8b" }] }));+ }, delay);+ });+ let ollamaUrl = "";+ const reach = { ...REACH };-/** An open-source translation: Ollama runs it when it answers (ComfyUI, its fallback, is off here). */++/** An open-source translation: a local model runs it when one answers (ComfyUI, its fallback, is off here). */+ const ROUTE = { endpoint: "ollama", op: "translate" as const };++ /** A port nothing listens on: connecting is refused at once. */+ async function closedPort(): Promise<number> {+ const s = net.createServer();+ await new Promise<void>((r) => s.listen(0, "127.0.0.1", r));+ const { port } = s.address() as net.AddressInfo;+ await new Promise((r) => s.close(r));+ return port;+ }+-/** An Ollama that answers /api/tags at once, in a process of its own; it prints its port. */-const OTHER_PROCESS_OLLAMA = `const s = require("node:http").createServer((q, r) => q.url === "/api/tags" ? r.end(JSON.stringify({ models: [{ name: "qwen3:8b" }, { name: "llama3:8b" }] })) : r.writeHead(404).end());-s.listen(0, "127.0.0.1", () => console.log(s.address().port));`;-+ /** What `f` gives once it's truthy (polled every 100 ms, for at most `ms`). */+ const until = async <T>(f: () => T | undefined | null | false, ms = 20_000): Promise<T> => {+ const end = Date.now() + ms;+ for (;;) {+ const v = f();+ if (v) return v;+ if (Date.now() > end) throw new Error("timed out waiting");+ await new Promise((r) => setTimeout(r, 100));+ }+ };+++/** The one cached entry (Ollama is the only server asked here). */++const entry = () => [...(globalThis.__fuobeLocalProbes?.values() ?? [])][0];+++ /** Forget what the probes found, as a fresh start does. */+ const forget = () => {- globalThis.__fuobeOllamaReach = undefined;- globalThis.__fuobeReachChecks?.delete("ollama");++ globalThis.__fuobeLocalProbes?.clear();++ globalThis.__fuobeLocalProbing?.clear();+ };++ beforeAll(async () => {+ await new Promise<void>((r) => server.listen(0, "127.0.0.1", r));+ ollamaUrl = `http://127.0.0.1:${(server.address() as net.AddressInfo).port}`;+ // Checks give up sooner here, so a late answer is quick to make (a 3 s answer still makes the longer look).+ Object.assign(REACH, { answerMs: 300, connectMs: 1000, lookMs: 5000 });+ setSetting("demoMode", "auto");+ setSetting("enhanceProvider", "ollama");++ setSetting("llmProvider", "ollama");+ });+ afterAll(() => {+ Object.assign(REACH, reach);+ server.closeAllConnections();+ server.close();+ fs.rmSync(dir, { recursive: true, force: true });+ });+ beforeEach(() => {+ delay = 0;+ status = 200;+ setSetting("ollamaUrl", ollamaUrl);+ forget();+ });+-describe("Ollama reachability under load", () => {- it("a busy Ollama that answered before stays reachable", async () => {++describe("Local server reachability under load (Ollama)", () => {++ it("a busy Ollama that answered before stays reachable, with its models", async () => {+ expect(await llm.probeOllama(true)).toBe(true);- // Busy with a long generation: the answer comes long after the check gives up (and after the old 1.5 s limit).++ // Busy with a long generation: the answer comes long after the check gives up.+ delay = 2000;+ for (let i = 0; i < 2; i++) expect(await llm.probeOllama(true)).toBe(true);- expect(llm.llmBackends(ROUTE)).toEqual(["ollama"]);- // Back to answering: still reachable, and the answer counts again.++ expect(llm.llmBackends(ROUTE)).toEqual(["local"]);+ delay = 0;+ expect(await llm.probeOllama(true)).toBe(true);- expect(globalThis.__fuobeOllamaReach?.seen).toBeGreaterThan(Date.now() - 1000);++ expect(entry()?.seen).toBeGreaterThan(Date.now() - 1000);+ });++ it("a refused port is unreachable at once, in the blocking first check and the background one", async () => {+ setSetting("ollamaUrl", `http://127.0.0.1:${await closedPort()}`);+ let t0 = Date.now();+ expect(llm.llmBackends(ROUTE)).toEqual([]);+ expect(Date.now() - t0).toBeLessThan(1500);+ t0 = Date.now();+ expect(await llm.probeOllama(true)).toBe(false);+ expect(Date.now() - t0).toBeLessThan(500);+ });++ it("an HTTP error is down at once, without the longer look", async () => {+ status = 503;++ asked = 0;+ const t0 = Date.now();+ expect(await llm.probeOllama(true)).toBe(false);+ expect(Date.now() - t0).toBeLessThan(500);- expect(asked).toBeGreaterThan(0);- });-- it("no answer in time is busy when Ollama answered lately, unreachable when it didn't and its port refuses", async () => {- const url = `http://127.0.0.1:${await closedPort()}`;- setSetting("ollamaUrl", url);- const realFetch = globalThis.fetch;- globalThis.fetch = (async () => {- throw new DOMException("The operation was aborted due to timeout", "TimeoutError");- }) as typeof fetch;- try {- expect(await llm.probeOllama(true)).toBe(false);- // It answered a minute ago: busy, so still reachable.- globalThis.__fuobeOllamaReach = { ok: true, at: Date.now() - 60_000, url, seen: Date.now() - 60_000 };- expect(await llm.probeOllama(true)).toBe(true);- // Its last answer is long past, and nothing takes the connection.- globalThis.__fuobeOllamaReach = { ok: true, at: Date.now() - 60_000, url, seen: Date.now() - REACH.answeredLatelyMs - 1000 };- expect(await llm.probeOllama(true)).toBe(false);- } finally {- globalThis.fetch = realFetch;- }++ expect(asked).toBe(1);+ });++ it("the first check of a slow but alive Ollama says reachable (blocking, then in the longer look)", async () => {+ delay = 3000;- // The routing question right after start: Ollama takes the connection while it's busy.+ const t0 = Date.now();- expect(llm.llmBackends(ROUTE)).toEqual(["ollama"]);++ expect(llm.llmBackends(ROUTE)).toEqual(["local"]);+ expect(Date.now() - t0).toBeLessThan(3000);+ forget();+ expect(await llm.probeOllama(true)).toBe(true);- // Callers while a check runs share it: one quick ask, one longer look.- forget();- asked = 0;- expect(await Promise.all([llm.probeOllama(true), llm.probeOllama(true), llm.probeOllama()])).toEqual([true, true, true]);- expect(asked).toBe(2);+ });+- it("a port that takes the connection but never answers (a tunnel or proxy whose Ollama is gone) is unreachable after the longer look", async () => {++ it("a port that takes the connection but never answers is unreachable after the longer look", async () => {+ const silent = net.createServer(() => {});+ await new Promise<void>((r) => silent.listen(0, "127.0.0.1", r));+ try {+ setSetting("ollamaUrl", `http://127.0.0.1:${(silent.address() as net.AddressInfo).port}`);- // The first, blocking check can only see the connection taken, as for a busy Ollama; the background check says for sure.- llm.llmBackends(ROUTE);- await until(() => globalThis.__fuobeOllamaReach?.ok === false);++ // The blocking check only sees the connection taken, as for a busy server; the background check says for sure.++ expect(llm.llmBackends(ROUTE)).toEqual(["local"]);++ await until(() => entry() && !entry()!.busy && entry()!.silent);++ expect(llm.llmBackends(ROUTE)).toEqual([]);+ // Found silent: no longer look again for a while, so the next checks are quick.+ const t0 = Date.now();+ for (let i = 0; i < 2; i++) expect(await llm.probeOllama(true)).toBe(false);+ expect(Date.now() - t0).toBeLessThan(2 * REACH.answerMs + 500);- expect(llm.llmBackends(ROUTE)).toEqual([]);+ } finally {+ silent.close();+ }+ });++ it("Assist reads the same check: a busy Ollama keeps chats on it, with the models it last listed", async () => {+ const agent = await import("@/server/assist/agent");+ expect(await llm.probeOllama(true)).toBe(true);- expect(llm.ollamaModels()).toEqual(["qwen3:8b"]);- // Busy: its list comes after Assist's old 0.8 s limit, which took Ollama for gone and chats to the offline planner.+ delay = 1500;+ expect(await llm.probeOllama(true)).toBe(true);- expect(await agent.availability()).toMatchObject({ ollama: true, ollamaModels: ["qwen3:8b"] });++ expect(await agent.availability()).toMatchObject({ local: { ok: true, models: ["qwen3:8b"] } });+ setSetting("enhanceProvider", "auto");+ try {- expect(await agent.resolveAgent()).toBe("ollama");++ expect(await agent.resolveAgent()).toBe("local");+ } finally {+ setSetting("enhanceProvider", "ollama");+ }- // A refused port is down for Assist too, with no models.+ setSetting("ollamaUrl", `http://127.0.0.1:${await closedPort()}`);- expect(await agent.availability()).toMatchObject({ ollama: false, ollamaModels: [] });++ expect(await agent.availability()).toMatchObject({ local: { ok: false, models: [] } });+ });+- it("Assist doesn't wait on an Ollama that takes the connection but never answers: it reads the check, which goes on behind", async () => {++ it("Assist doesn't wait on a server that takes the connection but never answers: it reads the check, which goes on behind", async () => {+ const agent = await import("@/server/assist/agent");+ const silent = net.createServer(() => {});+ await new Promise<void>((r) => silent.listen(0, "127.0.0.1", r));+ try {+ setSetting("ollamaUrl", `http://127.0.0.1:${(silent.address() as net.AddressInfo).port}`);- // The first look: no answer yet, but the port took the connection, so busy for now (as routing's first check says).+ let t0 = Date.now();- expect(await agent.availability()).toMatchObject({ ollama: true, ollamaModels: [] });++ expect(await agent.availability()).toMatchObject({ local: { ok: true, models: [] } });+ expect(Date.now() - t0).toBeLessThan(2500);- // The check behind it says for sure after the longer look; Assist doesn't wait for that either.- await until(() => globalThis.__fuobeOllamaReach?.ok === false);++ await until(() => entry() && !entry()!.busy && entry()!.silent);+ t0 = Date.now();- expect(await agent.availability()).toMatchObject({ ollama: false, ollamaModels: [] });++ expect(await agent.availability()).toMatchObject({ local: { ok: false } });+ expect(await agent.resolveMode({ mode: "free" })).toMatchObject({ agent: "offline" });+ expect(Date.now() - t0).toBeLessThan(300);+ // Its cache is old: the answer it has, at once, and a fresh check in the background.- globalThis.__fuobeOllamaReach = { ...globalThis.__fuobeOllamaReach!, at: Date.now() - 60_000 };++ entry()!.at = Date.now() - 60_000;+ t0 = Date.now();- expect(await agent.availability()).toMatchObject({ ollama: false });++ expect(await agent.availability()).toMatchObject({ local: { ok: false } });+ expect(Date.now() - t0).toBeLessThan(300);- await until(() => Date.now() - (globalThis.__fuobeOllamaReach?.at ?? 0) < 10_000);++ await until(() => Date.now() - (entry()?.at ?? 0) < 10_000);+ } finally {+ silent.close();+ }+ });-- it("after routing's blocking first check, Assist lists Ollama's models (that check can't read them)", async () => {- const agent = await import("@/server/assist/agent");- // An Ollama in another process, so the blocking check (which holds this thread) gets its answer.- const child = spawn(process.execPath, ["-e", OTHER_PROCESS_OLLAMA], { stdio: ["ignore", "pipe", "inherit"] });- try {- const port = await new Promise<number>((resolve, reject) => {- child.stdout.once("data", (d: Buffer) => resolve(Number(String(d).trim())));- child.once("exit", () => reject(new Error("the stand-in Ollama exited")));- });- setSetting("ollamaUrl", `http://127.0.0.1:${port}`);- expect(llm.llmBackends(ROUTE)).toEqual(["ollama"]);- // A sure answer: no check goes on behind it, and none has read the models yet.- expect(globalThis.__fuobeOllamaReach).toMatchObject({ ok: true });- expect(await agent.availability()).toMatchObject({ ollama: true, ollamaModels: ["qwen3:8b", "llama3:8b"] });- } finally {- child.kill();- }- });-- it("a late Ollama that answers the longer look is reachable; a check of an address changed meanwhile keeps to itself", async () => {- delay = 1000;- const old = llm.probeOllama(true);- // While that check runs, the address changes and the new one is checked.- setSetting("ollamaUrl", `http://127.0.0.1:${await closedPort()}`);- expect(await llm.probeOllama(true)).toBe(false);- const now = globalThis.__fuobeOllamaReach;- expect(await old).toBe(true);- expect(globalThis.__fuobeOllamaReach).toBe(now);- setSetting("ollamaUrl", ollamaUrl);- forget();- expect(await llm.probeOllama(true)).toBe(true);- expect(globalThis.__fuobeOllamaReach?.seen).toBeGreaterThan(Date.now() - 1000);- });+ });