Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

378 KB
Raw Blame

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, Claude or a local LLM server for text: Ollama, LM Studio, Unsloth Studio or any OpenAI-compatible one, and since round 5 part 3 an optional WorldCast worker on the owner's GPU), 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 retired provider's API: the parity studio is only what Fuobe is measured against, and a stored or scripted reference to a model of the retired cloud provider 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 decision of 2026-10-29; see Fuobe Originals for the one exception and two smaller cases, and the decisions on them). On 2026-10-30 a rule was added that each engine does all it can: the cloud uses only hosted models, with what their endpoints take, and the open engine keeps every capability it has (LoRAs, nodes, longer clips, references) even where the cloud can't match it (docs/handoff/owner-decisions.json). A user skill can also carry a recipe that Fuobe checks, prices and runs by itself (see Skills that run by themselves). With public sign-up on (docs/public-signup.md; off by default), signed-out guests browse read-only and accounts run only on their own ComfyUI; every route follows the path rules in src/lib/guest-access.ts (see Security). Round 5 part 3 (PR #16) adds models under the same rules: what nobody hosts (Pika H3 Flex, NVIDIA RTX Video, CorridorKey 2.0, AuK, Hi3D, Hy-Nomas, WorldCast, Idol's mesh and views) runs on the open engine only, with no cloud stand-in. None of it has run on a GPU or with a paid key.

            proxy.ts: hostAllowed() (no password set) → crossSite() → share links (GET / HEAD on /s/<token>[/f/<path>]: openShare, no session)
                      → sign-in (session cookie or API token)
                      → a real 404 for an unknown app, hub mode or record id (src/server/records.ts)
                                              │
Composer / studio (React) ──POST /api/generations (or a studio route that builds a pipeline)
                                              │
                                         currentRequest()         src/server/generations.ts (migrateRequest in src/lib/catalog/replaced.ts): a retired model or operation → what replaced it, with a note
                                              │
                                         prepare()                src/server/generations.ts
                                              │  withSignatureWords()   palette / look sentences join the prompt
                                              │  offeredFor()           Settings → Models & licences: a model (or an Original's engine asked for) switched off is refused, naming the switch
                                              │  onEngine()             a Fuobe Original (both engines) runs on the engine asked for (engineFor()): that engine's routes only
                                              │                         (appEngine(): an app with one route on an Original runs it on that route's engine)
                                              │  applyMentions()        @handles → reference images + legend, or a trained LoRA / Soul ID
                                              │  applySketch()          mask → native inpaint route or red-tinted copy; drawing → instruction image / motion paths
                                              ▼
                                         planGeneration()         src/lib/catalog/plan.ts
                                              │  model + preset (or a Fuobe Soul look) + attachments → operation, prompt, params, LoRAs, number of jobs
                                              │  NEEDS / requires / minImages: says which input is missing
                                              ▼
                                         engine mode check        Settings → Engine mode (both / open / cloud)
                                         offeredLoras()           LoRAs switched off leave the run with their trigger words (a note says so)
                                         chooseRoute()            among the routes still on (offeredRoutes()): first configured provider for that operation, preferring one that carries
                                              │                   every LoRA and makes the clip length asked (Preferred provider sets
                                              │                   fal/Replicate order otherwise; "llm" for text steps), else the demo
                                              │                   provider (Settings → Placeholder results; request.demo, a skill's free dry run, forces it).
                                              │                   With neither, ConnectComfyError: every studio's route answers the owner's browser with
                                              │                   the connect card's 422 (src/server/connect-refusal.ts), never a 500 or a toast
                                         fitLoras()               src/lib/catalog/loras.ts: LoRAs a cloud run can't carry are left out, with notes
                                              │                   (a recipe LoRA the model always loads, left out or switched off, refuses the run instead)
                                              ▼
                                         createGenerations() / createPipeline()   one row per job; dependsOn for chained steps
                                              │  (a PixeletedFace picture becomes picture → face mosaic: createMosaicRun)
                                              │  SQLite row (queued) → submit() in the background
                                              │  (a row with depends_on waits until every generation it names succeeds,
                                              │   then gets their outputs through its chain slots: see Pipelines)
                                              │  upload inputs to the provider (prepareFile), optional prompt enhancement,
                                              │  LoRA files: downloaded into ComfyUI's folder, or mirrored to fal / Replicate (src/server/loras.ts),
                                              │  adapter.submit() → external job id (generation_runs.submitted_at)
                                              ▼
       runner (started at boot by src/instrumentation.ts; every 1.5 s, plus a 500 ms lane for jobs near the end)
                                              │  adapter.poll() → queued / running (progress) / succeeded / failed
                                              │  timeouts: 45 min running (3 h on the WorldCast worker) or 4 h queued (generation_runs), cancel at the provider first
                                              │  on success: outputs downloaded → data/files → assets table (text inlined, meta kept,
                                              │              files linked in meta.artifacts, meta.formats and meta.preview copied too: persistArtifacts;
                                              │              a Fuobe Soul picture's grade / overlay / crop and a Fuobe DoP grade effect's grade written as meta)
                                              │  also: poll trainings, launch waiting steps whose inputs are ready (fail them when one failed,
                                              │        unless that input is optional: ChainSlot.optional, see Pipelines;
                                              │        a step after real ComfyUI steps waits up to 60 s for ComfyUI to answer: COMFY_WAIT)
                                              ▼
       SQLite TEMP triggers → src/server/live.ts ──GET /api/generations/stream (SSE)──▶ one stream per browser
                                              ▼
Feed, Library, studios (React Query caches patched by id; polls every 10 s while the stream is connected)
   (a studio feed also finishes Fuobe Soul pictures in the browser and saves them: POST /api/generations/[id]/finish)

Catalog (src/lib/catalog/)

file what
types.ts ModelDef, ModelRoute, FieldMap, ModelOptions, Pricing, Preset, GenerationRequest, ChainSlot, GenInput, Generation, OutputFile; since round 4 VideoFormat, MatteOutput, PixelPoint, FocusPoint, COLORMAPS and ReviewStatus; since round 4 part 2 LoraField, LoraLicence and CHAIN_LIST_SLACK; since round 4 part 3 ModelDef.engines, engineDefaults and engineOptions, GenerationRequest.engine, ModelOptions.looks, Preset.grade and prestep (PresetPrestep), PresetRoute.partner, Pricing.roundUp and animationUsd, and FieldMap.size.table / key; since round 4 part 4 ModelLicence (ModelDef.licence: the hosted weights' licence, information only), LoraRef.own (a trained Soul ID LoRA Fuobe keeps) and keepOnGpu, ChainSlot.optional, GenerationRequest.chainSkipped and notice, and Pricing.videoMegapixel and withLorasByResolution; since round 4 part 5 PixelPoint.frame (a click on a later frame of a clip: SAM 3.1's frame_index on fal), while ProviderId, ModelOptions and ModelDef lose the retired provider's id, presets and identity; since round 5 part 1 the operation face-mosaic ("Pixelate faces"), ModelRoute.extra (a ComfyUI route's graph settings, under the run's own) and loraSlot, ModelOptions.loras (a recipe's own LoRAs) and defaultPrompt, FieldMap.numFrames.multiple, PresetRoute.look, PrestepRoute.params and labels, ChainSlot.raw, and the server-set GenerationRequest.postMade, skill, demo and asked, with frame.look and frame.crop, while Pricing loses inputSeconds; since round 5 part 2 the operation camera-path ("Fly path": a still and params.cameraPath, CameraKey[] from src/lib/camera-path.ts, plus the open engine's render along the path as inputs.video), FieldMap.cameraPath, promptExpansion and size.min, ModelOptions.layout (LayoutFormat: moss, flux3, ideogram or vgl), controls[].sets and requires.video, Pricing.lorasUnknown, ChainSlot.at, the stems music and effects, and the server-set GenerationRequest.consentAt; since round 5 part 3 the operations refine-3d (Hi3D), speech-edit (AuK) and world-turn (Hy-Nomas), ModelRoute.when (a route that runs only when a setting has one value: Kandinsky 6.0's Pro or Lite endpoint on fal), ModelOptions.finishTiers (tiers a finishing pass reaches, offered by the Video studio and Cinema only), maxSourceSeconds, sideMultiple, greenScreen and guided, promptFormat kandinsky6, Pricing.steps (a clip priced by its variant and step count) and outputFrames (per output megapixel per frame), GenParams.sourceSize (for pricing only), the VideoFormat webm_alpha, the MatteOutput foreground, the ProviderId worldcast, frame.sheet (a one-sheet storyboard's panels) and the server-set GenerationRequest.finishOf (the take a 2K finish finishes)
cloud-models.generated.ts fal / Replicate models. Generated by scripts/gen-cloud-models.py from the verified API schemas in docs/research/paid-model-apis.json, -2.json, -3.json and -4.json (key fields merged, per-route options, sliders and controls read from the research, required inputs filled from their documented defaults) — field names, enums, defaults and prices are never typed by hand. Since round 4 part 2 it also reads the hosted open-weight endpoints of docs/research/fuobe-originals-recipes-5.json (hostedLoraEndpoints, hostedBaseEndpoints) into LoRA routes: FieldMap.loras, loraEndpoint and Pricing.withLoras. Since round 4 part 3 it also writes ORIGINAL_CLOUD, the cloud halves of the five Fuobe Originals (fal and Replicate routes, Soul's size table, DoP's fixed values; see Fuobe Originals), and the hidden helpers qwen-image-edit-2509-cloud and ltx-2-5-fast. Since round 4 part 4 (200 → 209 cloud models): ORIGINAL_CLOUD holds 12 cloud halves (adding Fuobe Cinema, the five Genjutsu Originals and Fuobe Character swap); five hosted LoRA models for Soul ID's families (flux-1-dev-lora-cloud, flux-1-krea-lora-cloud, flux-2-dev-lora-cloud, flux-2-klein-9b-lora-cloud, krea-2-turbo-lora-cloud); four Genjutsu partners (wan-22-animate-replace, scail-2, wan-motion, h3-max-recast); and ModelDef.licence on the hosted models whose weights the research licensed (13) and on 7 of the Originals' cloud halves. It also reads the research's hostedBaseEndpoints for the new fal routes. Since round 4 part 5 it also reads the recipes JSON's partnerEndpoints: Happy Horse 1.1 (happy-horse-1-1: text, image and reference to video, up to 9 references, $0.14/s at 720p, $0.18/s at 1080p), which only the retired provider hosted, now runs on fal (this file grows from 209 to 210 entries, hidden helpers included; the cloud models Fuobe lists go from 209 to 197 as the retired ones leave, see Retired models); Grok Imagine Image 2.0 takes 5 references (fal's limit), and no tagline names the parity studio's products any more. Since round 5 part 1 ORIGINAL_CLOUD holds 20 cloud halves (adding Fuobe Marketing Image, Try-On, Mixed Media, Shorts, Evolution, Angles, Speak and Speak · Motion; see Fuobe Originals), and the hidden sam-3-1-face-mask (fal's fal-ai/sam-3-1/image, $0.01 a request) takes the list to 211 entries; the generator's model() gains keep_shape (an "auto" aspect that sends no size, so the input's shape is kept: qwen-image-edit-2511-cloud), licence, frame_fps and frame_multiple; fal's Wan 2.2 Fun VACE depth route sends preprocess: true (Fuobe Shorts and fuobe-genjutsu-restyle); ltx-2-3-hdr gains its LoRA endpoint (fal-ai/ltx-2.3-quality/hdr/lora); infinitetalk-cloud sends frames at 25 fps from the voice (it sent seconds); and Happy Horse video edit is $0.28/s at 720p and $0.56/s at 1080p of clip, with no inputSeconds (fixes-5). Since round 5 part 2 (213 entries) it also reads the endpointRecords of docs/research/new-models-7.json: moss-image (N7-1: OpenMOSS's MOSS-Image on fal's fal-ai/moss-image, switching to fal-ai/moss-image/lora with up to 3 LoRAs; $0.05 a megapixel; the generator's exact_size sends image_size as one {width, height} on fal's 16-pixel grid within 512–2048, so a layout is compiled for the picture fal makes; PNG; Apache-2.0 weights, with fal's black-image safety checker in its licence note; the /lora price isn't published, so Pricing.lorasUnknown). The hidden minimax-h3-max-camera is new (N7-5: minimax/h3-max/camera-controls, operation camera-path, FieldMap.cameraPath read from the trajectory field's schema, 2–12 keyframes and free_camera_preset's fixed moves, prompt expansion off; $0.05, $0.08 and $0.16 a second at 480P, 768P and 1080P, with fal's launch price, $0.0325, $0.052 and $0.104, as Pricing.promo until 2026-10-31), and minimax-h3-max is priced by resolution (N7-6: $0.05, $0.08, $0.16, and $0.32 at 2K, extend only; it was a flat $0.0325 a second), at the list price on every route, since its reference to video has no launch price. FLUX.3, Ideogram 4.5 and Bria FIBO 2 read layouts too (ModelOptions.layout), and a model that reads them gets FieldMap.promptExpansion where its endpoint has enable_prompt_expansion (FLUX.3, Ideogram 4.5, MOSS-Image). Round 5 part 3 (271 → 275 entries) adds four fal models: kandinsky-6 (Kandinsky 6.0, from the endpointRecords of docs/research/new-models-10.json: 5 s at 480p with its own sound, from words or a first frame, on fal-ai/kandinsky6-pro/… and fal-ai/kandinsky6-lite/…, one model whose Quality picks the variant and its steps, each endpoint a route with when; priced by Pricing.steps at fal's prices for a step count, Pro $0.24 at 8 steps, $0.56 at 20 and $1.35 at 50, Lite $0.08 at 4, $0.16 at 10 and $0.24 at 16; MIT weights in its licence), kandinsky-vsr (fal-ai/kandinsky6-vsr: 2x, 2.25x or 4x on clips up to 5 s, $0.00036 per output megapixel per frame through Pricing.outputFrames; at 2x and 4x the clip's sides must be multiples of 16, sideMultiple), bria-green-screen (bria/video/background-removal/green-screen-despill, $0.05 a second, the cut-out as a transparent WebM, greenScreen) and bria-guided-cutout (bria/guided-remove-background, $0.03 a picture, optional words on what to keep or drop, guided). The generator learns when on a route and number enums offered as factor tiers
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 parity-image-studios.json. It replaces the retired provider's generated presets file, which went with its generated models file 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) stays beside the list price (see promo.ts): the catalog never reads the clock. 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 retired provider's 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. Since round 5 part 2 the open list gains oss-moss-image (MOSS-Image, t2i on moss-image-t2i; layout moss; a Quality control whose values each stand for several settings through controls[].sets, MOSS_QUALITY: Standard 25 steps, CFG 2.5, er_sde; Best 50 steps, CFG 3, euler; Fast 8 steps, CFG 1 on the 8-step DMD file) and oss-dbs-separate (DBS, separate-audio on separate-soundtrack-dbs: separationModel, Fast or Best, with no default so the host picks, and channels), and the hidden oss-uni3c-path (Wan 2.1 + Uni3C, camera-path on wan21-i2v-uni3c-path, which needs the still and the path's render: requires.video). Round 5 part 3 adds 16 open models (Kandinsky 6.0, Kandinsky VSR and VRMBG 3.0 are also hosted, as separate cloud models; the cloud's Bria matte is VRMBG 3.0): oss-kandinsky6 (t2v on kandinsky6-t2av, i2v on kandinsky6-i2av; 5 s at 480p with sound; Quality Lite or Pro sets the transformer file through controls[].sets; an opt-in Prompt helper), oss-kandinsky6-vsr (upscale-video on video-upscale-kandinsky6-vsr, 2x, 2.25x or 4x, maxSourceSeconds 5), the three NVIDIA RTX Video models of rtx-video.ts, oss-video-key-corridorkey (CorridorKey 2.0 on video-key-corridorkey, greenScreen: the cut-out, its mask or the clean foreground, as WebM, ProRes 4444 or EXR), oss-video-matte-vrmbg3 (Bria VRMBG 3.0 on video-matte-vrmbg3, gated weights placed by hand), oss-matte-feynobg (FeyNoBg fine hair on image-matte-feynobg), oss-auk (Tencent AuK: speech-edit on speech-edit-auk, tts on speech-tts-auk), oss-idol-mesh (Idol 3D quick mesh, image-to-3d on image-to-mesh-idol) and six hidden helpers: oss-hi3d-refine (refine-3d on mesh-refine-hi3d), oss-hy-nomas-world (world-turn on world-hy-nomas-turn), oss-person-mask (SAM 3.1, bg-remove on image-person-mask-sam3), and oss-worldcast, oss-depth-pro and oss-vggt-omega, whose routes go to the worldcast provider (endpoints cases, depth/depth-pro, depth/vggt-omega) and whose licences are in ModelDef.licence. oss-minimax-h3 gains a ref2v and an avatar route on minimax-h3-flex-ref2va (Pika H3 Flex), the Quality value flex (the 6-step Flex graphs), maxImages 9, maxVideos 3 and maxAudios 3, and finishTiers: ["2K"] only while Regenerate is offered (REGEN_OFFERED, false). oss-pixal3d, oss-trellis2, oss-hunyuan3d-21, oss-trellis2-multi and oss-idol-mesh carry the "Refine detail · Hi3D 1.0" control (params.extra.hi3dRefine)
../auto-image.ts Auto (oss-auto-image), the Image studio's open default: a catalog entry whose routes are its picks' own (so the picker, the price and the GPU pre-flight read them), never run as itself. autoCandidates picks the model for a request (a picture to work from → the edit model for its operation; lettering → MiniMax H3 Image, then MOSS-Image, then Krea 2 Realism; a line of the owner's autoImagePatterns setting → Krea 2 Realism, then MiniMax H3 Image, then MOSS-Image; anything else → MiniMax H3 Image, then Krea 2 Realism, then MOSS-Image; never Ideogram 4 or FIBO 2 Dev for text to image), and src/server/generations.ts autoRouted plans the first that is switched on (a model in AUTO_LARGE_MODELS, MiniMax H3 Image, only where src/server/auto-gpu.ts autoFitsHere says the GPUs the run goes to take its lane: on the workers poolTakes, elsewhere the last GPU check reads its files and VRAM; no reading counts as yes) and keeps the pick in GenerationRequest.auto, so a run planned again goes to the same model (while it is one of Auto's models for the operation). When a text-to-image run of Auto fails on its model (a job failure, not reaching the GPU), autoFails hands it to declinedAgain, which makes it with Auto's next model (autoNext, each model at most once, why: "fallback"), on the same row, hold and admission. Ideogram 4 picked by name, when it declines a run (every picture its grey card), goes the same way through DECLINED_FALLBACKS (Krea 2 Realism, FIBO 2 Dev, MOSS-Image), each only after the one before fails (declinedFails). autoLine is the line the feed card, the run details, the Library and Accounts' runs show
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 (the retired provider'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. 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). Since round 5 part 3 (N7-11) planOneSheet draws a whole board as one picture: one MOSS-Image request (SHEET_MODELS: oss-moss-image on the GPU, moss-image on fal) with a layout box per panel in params.extra.layout, the sheet's shape picked by sheetGrid so the panels are as large as they can be, and the panels in frame.sheet for the browser to crop (sheetCrop). Until a GPU render is recorded (ONE_SHEET_GPU_TEST, null) sheetPanelLimit offers it to the owner only; once one is, everyone gets it up to the panel count that render showed, which planOneSheet also holds on the server. A sheet takes no references
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. 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 132 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). 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 parity-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); 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 128 researched LoRAs (67 looks, 23 motions, 24 effects and 14 adapters; the adapter group since round 5 part 1), 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/parity-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; 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 (a launch price read at its now), 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; since round 5 part 2 controlSets writes the settings a control's value stands for into params.extra (a setting the request gives itself wins), a megapixel model that sends a size is priced on that size (routeMegapixels, a layout's canvas included), a run with LoRAs on a route whose LoRA price isn't published (Pricing.lorasUnknown) has no price (null, never free), requires.video is checked, NEEDS gains camera-path, and pricingAt moved to promo.ts; since round 5 part 3 routesFor(model, op, params) keeps a when route only for its setting's value (unset: the first such route), estimateCost prices Pricing.steps (between two published step counts, the line between them) and Pricing.outputFrames (the clip's size × the factor, its frames up to the cap; an unread clip at the assumed size), sourceLengthProblem refuses a clip longer than maxSourceSeconds, and a run that would drop an attached clip without a word (a clip on an operation that makes a video from words and stills, reference clips or sound beside an end frame) is refused
promo.ts Launch prices (Pricing.promo, N7-5): pricingAt / pricingOn give the price that holds at a time, to the end of the launch's last day (UTC). Whoever prices reads the clock: the server when it plans a run (a run is priced at the rate of the day it runs, even on a server started before), the browser when it shows a price (useToday in src/hooks/use-today.ts: the composer, the model picker, the Models page's rowPrice). A page prerendered at build time reads none (now null: a launch-priced model shows its price once the browser knows the day)
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); since round 5 part 2 sizeValue keeps a size the request asks for (askedSize: a layout's canvas in params.extra.image_size) on the route's grid and within its max and min, cameraPathFields sends a camera path as H3 Max's trajectory, or as its own truck move for a pure slide (toH3MaxTrajectory), params.extra.layout is never sent to an API (the prompt carries the layout), FieldMap.promptExpansion is sent false when the request carries a layout (carriesLayout), and DBS's music and effects stems sort after the voice (STEM_ORDER)
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); since round 5 part 2 framesWait (a film whose frames earlier steps make: every chain slot an image with its place, ChainSlot.at; see Pipelines)
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. Since the 2026-11-01 fix, SOURCE_FRAMES: the cloud's Wan 2.2 Fun VACE depth Originals (Fuobe Shorts, Evolution, Genjutsu Restyle) sent a clip whole take 17–241 frames and are billed on frames ÷ 16 (billedClipSeconds, from params.sourceFps or the header; 30 fps when unknown), on the cloud only. 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
turnaround.ts Round 5 part 2 (N7-6). Turnaround video, pure (see Studios): the sides in the order the camera passes them and their angles (TURN_SIDES, viewAzimuth: front 0°, the person's own right side 90°, back 180°, left side 270°; pathAzimuth in the camera-path library's terms; TURN_FRAMES at 0, ¼, ½, ¾ and the end; worldcastAnchor, the one conversion WorldCast will use), the routes (TURN_ROUTES: frames on the GPU; references, keyframes and camera in the cloud; defaultRoute, turnDuration), what draws a missing side (FILL_MODELS: the Angles app's qwen-multiple-angles in the cloud, oss-qwen-edit with ANGLES_2511_LORA on the GPU; ANGLES_SIDE_SIGN, a guess until a real run) or a front from a sheet (SHEET_FRONT_MODELS), the words (cameraWords, referencesPrompt, ORBIT_PROMPT), the pictures a sheet or a character gives (sheetPictures, elementPictures, startingViews) and planTurnaround
any-angle.ts Any Angle (app-any-angle), pure: the presets (turns up to 60° each way, from above, from below, a close-up, a view from behind for people only), the camera each makes from a photo's measured front view (cameraFor, customCamera, clampCustom; a portrait's high angle stays at 35°), the desktop 3D view's camera (orbitOf, fromOrbit), the render size and the shot graph's settings (renderSize, shotExtra), the built view (viewOf), the contact sheet's layout (sheetLayout) and the mapping of Fuobe Angles' and Angles' controls for a later switch. The front view is measured on the build's turntable by src/lib/any-angle-front.ts (silhouette overlap and colour correlation against the photo's cut-out), on the server when the build succeeds (src/server/any-angle.ts, which also finds a photo's view again by its sha256 for the same owner or account)
pika-flex.ts Round 5 part 3 (nm10-pika-flex). Pika H3 Flex on your GPU: Pika's two adapters for MiniMax H3, FL2VA and Ref2VA, pinned to one Hugging Face revision (PIKA_FLEX_FL2VA, PIKA_FLEX_REF2VA, PIKA_FLEX_LORAS, with Pika's NOTICE), and pikaFlexGraphLoras (the adapter a route's graph loads itself, so it downloads before the run and its switch in Settings → Models & licences holds the run). No cloud route: fal's MiniMax H3 LoRA endpoints run their own step count, not Pika's 6 steps. The limits and the graph's reference loaders are in src/lib/h3-references.ts (H3_REFERENCE_LIMITS: 9 images, 3 clips and 3 voice or music clips, 12 in all, each clip 2–15 s; expandH3References; Image 1, Clip 1, Voice 1 become H3's tags)
rtx-video.ts Round 5 part 3 (nm10-rtx-video). NVIDIA RTX Video on your GPU: oss-rtx-video-upscale (upscale-video-rtx), oss-rtx-frame-generation (fps-rtx-framegen, RTX 40 series or newer) and oss-rtx-video-hdr (sdr-to-hdr-rtx), the card each needs (RTX_CARD, read by src/lib/gpu/rtx.ts: readCard reads ComfyUI's device name, cardFits, offerOn; a card the name doesn't tell is never blocked and never picked first) and the plain words for a card that can't run them. Never a cloud route: nobody hosts NVIDIA's SDK
regenerate.ts Main's Regenerate on your GPU (Open-H3 Regenerate), held while REGEN_OFFERED is false. Round 5 part 3 (N7-10) adds MiniMax H3 at 2K: wantsH3TwoK, h3TwoKRequests (a 768p draft, then Regenerate at 2K, H3_FINISH_TIER 1440p, from the draft's saved latent for text to video: H3_LATENT_DRAFT_WORKFLOW video-h3-t2v-2k, REGEN_LATENT_WORKFLOW video-regenerate-h3-latent, latentPrefixFor / latentFileFor, H3_TURBO_4STEP_LORA), studioResolutions (the tiers only the Video studio and Cinema offer), finishIn2k (a fal H3 take rendered again at 2K at main's RERENDER price, $0.13 a second; a GPU take redrawn by Regenerate), Edit video's Enhance (canEnhance, enhanceRequest) and LATENT_EXTRA, the server-only settings a client can't send
worldcast-plan.ts Round 5 part 3 (N7-9). WorldCast behind the camera-path buttons (Cinema's Fly path, Turnaround, Fly around and the exact orbits): when the owner's worker answers, worldcastSteps plans the still's depth (MoGe 2 by default, WORLDCAST_DEPTH; Depth Pro or VGGT-Omega when the worker lists them), a SAM 3.1 person mask of the still and of each view (oss-person-mask), then one oss-worldcast case (81 frames at 15 fps, portrait 480 × 832); otherwise the run keeps Uni3C or Frames and says so (worldcastFallback). Pure: the browser prices it, the server runs the same steps. The case's geometry (cameras, anchors named where the camera stands, imageSlots) is in src/lib/worldcast.ts

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 the retired provider'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).

Round 4 adds 17 operations (remove-object, video-swap, video-insert, keyframes, sdr-to-hdr, export-video, ocr, still-motion, audio-loop, audio-join, scene-3d, splat, text-to-3d, rig-3d, extract-frames, images-to-video, overlay) with labels, output kinds and NEEDS, and the canonical params they use: points (clicked on the first frame), keyframeTimes, format (a VideoFormat: H.264, 10-bit H.265, ProRes 422 HQ or 4444, FFV1, EXR, and on the open engine HLG or PQ 10-bit), Ken Burns zoomFrom / zoomTo / panFrom / panTo / easing, crossfade, sourceDuration, frameInterval, targetFps, slowdown, colormap, sideBySide, matteOutput, position, scale, animation, and inputs.model3d. FieldMap gains a key for each (points in Bria's or SAM's shape, keyframes as image + frame index at the API's fps, zoom for fal's zoompan, loop by repetition, numFrames from the clip's length, upscaleFactor from the target size and the clip's shorter edge…), plus ranges (clamped and rounded before sending), maxImages, omitEmptyPrompt and ignore. EnumField.accepts sends the closest value an API takes when a model's routes take different lists (Grok Imagine Video 1.5's text and reference routes). GenInput.sourceSize and sourceFps (and sourceDuration, unless the request set it) are filled on the server from the input clip's header (src/server/media-facts.ts: MP4 / MOV, then WebM / Matroska, and since round 4 part 5 AVI through src/server/avi-probe.ts).

ModelOptions describe what the composer shows: aspect ratios, resolutions, durations, audio, end frame, multi-shot, draft mode, voices and voice cloning, languages, sliders, enum controls and motion paths (the provider-fetched style lists, ModelOptions.presets, went with the retired provider in round 4 part 5), and since round 3 minImages + imageLabels (try-on: "Person photo", "Add garment"), promptless, maxVideos / maxAudios (reference clips), sourceLanguages and requires ({images?, prompt?, msg}, checked in planGeneration before any job is created). Pricing gains byResolution (a price per params.resolution); a per-second price is the whole price of a second of clip (fixes-5 dropped inputSeconds: Happy Horse's $0.28/s at 720p already sums fal's input and output halves). Round 4 adds promptOptional (the box shows, but the model also runs without words), requires.mask / points (video erasers), formats, colormaps, sideBySide, matteOutputs, keepsNamed, fpsTargets, slowdowns and labels on controls; ModelDef.worker: "isolated"; ModelRoute.chained (a route the server builds as several jobs: the open keyframe film) and ModelRoute.preview (the parts of the map the composer previews a result with, kept in the slim client catalog). Pricing gains promo (a launch price to a date: FLUX 3 Max at 720p is $0.0425/s until 2026-11-07, then $0.17/s) and factors (multipliers by a setting: Topaz 60 fps ×2, ByteDance Pro ×10, FLUX.3 Creative about ×1.4).

plan.ts adds promptOptional(model, op) (promptless ops such as trim, mux, captions, layers, image-to-3d, vectorize), NEEDS entries with oneOf and media (transcribe and separate-audio take audio or video), a server-only check that rejects inputs no route can send (it needs the field maps the slim client catalog strips), and inferOperation picking ref2v when clips are attached. Since round 4, two or more images are keyframes when they carry keyframeTimes (or the model has no ref2v and no chained route), checked by checkKeyframes (on a chained route: up to 10, the first at 0 s, every gap within the model's clip lengths); a format the model doesn't write is refused; checkVideoToolOptions refuses colour maps and matte outputs the model can't make, and Remove background fills params.matteOutput with the model's first; a remove-object request can name its target with a mask or points instead of words when a route reads them (markedTarget). estimateCost(model, params, jobs, op) prices upscale-video, interpolate, sdr-to-hdr and export-video by the clip's seconds (params.sourceDuration; slow motion by the stretched length) and applies Pricing.factors. chooseRoute (in src/server/generations.ts) passes over a route whose image list takes fewer images than the run sends (FieldMap.maxImages).

Round 4 part 2 makes LoRAs part of any run (see LoRAs). FieldMap.loras is a LoraField in one of four shapes: items (fal's loras: [{path, scale, transformer?, weight_name?}], with a maximum, a scale range and whether the API refuses an empty list), arrays (Replicate's lora_weights[] + lora_scales[]), experts (one LoRA per Wan 2.2 expert, Replicate's Wan 2.2 fast) and single (one URL and one scale field). FieldMap.size writes width and height from the aspect ratio on a base×base pixel budget (Replicate's Z-Image LoRA model), and numFrames gains step (Wan 4n+1, LTX 8n+1 frames) and fromDuration (extend: the frames to add, at the clip's own frame rate when known). ModelRoute.loraEndpoint is now called whenever a run carries LoRAs, not only for a trained identity, and Pricing.withLoras is its price. LoraRef gains weightName, hostedUrl (a mirror), version (a civitai version id or a Hugging Face commit) and licence (LoraLicence: commercial, hostedOk, the snapshot date, civitai's permissions). In plan.ts, planGeneration puts the request's own LoRAs (an @character's trained identity) before a preset's and a Mix's, so on an API that takes few the identity wins, and leaves out a LoRA at strength 0 together with its trigger word at the start of the prompt; routeLoras(route, loras) says which LoRAs a route applies and why each other one is dropped; estimateCost(…, withLoras) uses the LoRA endpoint's price (the server's estimate does; the composer's own price doesn't yet); and a concat of one clip plus an appended still counts as two clips (an ad and its end card). chooseRoute(candidates, images, loras, seconds) now prefers a ready route that carries every LoRA and makes the clip length asked, then one that carries the LoRAs, then one that makes the length, then the first ready one, so a LoRA or length fit wins over Preferred provider. prepare() then fits the LoRAs to the route (fitLoras) and adds a note when a frame-count API can't make the length asked (framedLength: Replicate's Wan 2.2 fast renders 81–121 frames); since round 4 part 3 such a run is also priced at the length it makes (the composer's price before the run still uses the length asked). The notes come back on the created generations (Generation.notes) and in the answer of POST /api/generations (and its preview), and the composer shows them as a warning toast; they aren't stored.

Round-4 open models in models.ts: the erasers oss-vace-remove, oss-vace-remove-painted and oss-void-remove; oss-vace-swap and oss-vace-insert; oss-rife (now interpolate-rife-fps), oss-seedvr2 and oss-upscale-video-esrgan (now the chunked graphs, by target size), oss-sdr-to-hdr and oss-export-video; oss-scene-moge; oss-vtracer; and the hidden helpers oss-ken-burns, oss-join-encoded, oss-audio-loop and oss-audio-join. Wan 2.2 14B and Wan 2.2 14B Lightning get a chained keyframes route (KEYFRAME_FILM on wan22-flf2v-14b). oss-latentsync and oss-thinksound are no longer hidden; they carry worker: "isolated". Round 4 part 2 wires four library graphs: oss-ocr-lines (OvisOCR3 on ocr-lines-qwen35, Layers' open text detection) and the hidden helpers oss-reference-brief (Gemma 4 E4B on reference-brief-gemma4, Content Factory), oss-append-endcard (video-append-endcard) and oss-still-to-clip (still-to-clip) for the Click to Ad end card. The cloud lists gain Seedream 5.0 Flash (seedream-5-flash, Mixed Media's cheaper frame editor) and six hosted open-weight models with LoRA routes: qwen-image-2512-cloud, qwen-image-edit-2511-cloud, flux-2-klein-4b-cloud, wan-2-2-a14b-image-cloud, wan-2-2-a14b-cloud and ltx-2-3-22b-cloud; z-image-turbo-cloud gains a LoRA field on fal and a Replicate route that takes LoRAs.

Round 4 part 3 adds the five Fuobe Originals (fuobe-soul, fuobe-soul-hd, fuobe-soul-cinema, fuobe-dop, fuobe-dop-ltx; see Fuobe Originals), three open 3D models (oss-trellis2-multi on the new image-to-3d-trellis2-multiview, oss-text-trellis2, whose text-to-3d route is chained, and oss-triposplat on image-to-splat-triposplat) and the hidden Canvas helper oss-fit-clip (video-fit-clip). In the cloud lists, sam-3d-objects now always asks for a textured GLB (export_textured_glb), meshy-7-1-multi takes at least 2 photos, and meshy-rigging adds $0.12 when an animation is asked for (Pricing.animationUsd). estimateCost now prices a per-megapixel model for every picture made (before, one picture whatever the count), with Soul's real megapixels and whole megapixels where roundUp is set.

Round 4 part 4 adds seven Fuobe Originals: fuobe-cinema (O6), the five Genjutsu Originals fuobe-genjutsu-motion, fuobe-genjutsu-motion-lite, fuobe-genjutsu-swap, fuobe-genjutsu-swap-lite and fuobe-genjutsu-restyle, and fuobe-character-swap (O5; see Fuobe Originals). Two open models run Akatz Labs' H3 Relay 2.0 graphs: oss-h3-character-swap-relay (Character swap's open alternative) and oss-h3-person-remove (Remove object's "H3 Person Removal" eraser). Pricing.videoMegapixel prices a frame-count video model on the clip's real size for its tier and shape × its frames, rounded up to whole megapixels (withLoras for the LoRA endpoint; today only Fuobe Cinema sets it), and Pricing.withLorasByResolution gives the LoRA price per resolution.

Round 4 part 5 removes the retired provider's catalog (O7: its generated models file with the routes of 24 partner models, and the hand-written ai-influencer): 12 models are retired and Happy Horse 1.1 moves to fal, so the cloud lists go from 209 to 197 models; what a stored reference to them runs on is in replaced.ts (see Retired models). planGeneration no longer asks for a provider preset. Two hidden open models run Character Swap Studio's new graphs (oss-h3-swap-segment, oss-h3-person-mask; see Studios).

Round 5 part 1 adds eight Fuobe Originals (20 in all): fuobe-marketing-image and fuobe-tryon (O10), fuobe-mixed-media and fuobe-shorts (O9), fuobe-angles, fuobe-speak and fuobe-speak-motion (O11) and fuobe-evolution (O13; see Fuobe Originals). It also adds the open oss-video-depth-vda-large (Video Depth Anything Large on the new video-depth-vda-large, a Depth map choice whose weights are CC-BY-NC-4.0, recorded as information; the default stays the small model) and two hidden helpers for the face mosaic, oss-face-mosaic and the cloud sam-3-1-face-mask (operation face-mosaic, image in, image out, no prompt needed). The catalog lists 197 cloud models, 91 open, 20 Originals and 52 hidden helpers. Three new mechanisms come with it. ModelOptions.loras names LoRAs a model's recipe always loads (Fuobe Try-On's try-on LoRA, Fuobe Angles' and Fuobe Speak's on the GPU): they ride before the user's, a graph that loads one itself isn't given it twice, and a run is refused when one is switched off or left out (see LoRAs). ModelRoute.extra gives a ComfyUI route graph settings the run's own params.extra overrides (Fuobe Speak's SPEAK_GRAPH), and ModelRoute.loraSlot lets a wrapper graph take the run's LoRA in its own slot (see Providers). FieldMap.numFrames.multiple keeps a frame count a multiple of n.

Round 5 part 2 adds no Original. The open list gains oss-moss-image and oss-dbs-separate and the hidden oss-uni3c-path; the cloud lists gain moss-image and the hidden minimax-h3-max-camera (above). Two pure libraries come with them, shared by the browser and the server. src/lib/layout-prompt.ts (N7-1) holds a layout: boxes on a canvas (LayoutDraft, each box an object, a character or exact words, kept as 0–1 fractions), compiled into each model's own form at the size it renders: MOSS-Image's JSON layout (compileMoss: pixel boxes from the canvas centre, y before x), FLUX.3's layout table (compileFlux3), Ideogram's JSON prompt (compileIdeogram), Bria FIBO 2's VGL location words (compileVgl), or plain sentences for any other model (compileWords; layoutCompilerFor picks by ModelOptions.layout); parseLayout reads drafts brought from ComfyUI and validateLayout says what stops one. A request carries its draft in params.extra.layout. The Image studio's Layout mode (N7-2, built on main; src/components/studio/layout-strip.tsx) draws the boxes. src/lib/camera-path.ts (N7-5) is a camera path round a photo's subject: keyframes (CameraKey: time, azimuth, elevation, distance and an optional truck), at most 24 (MAX_KEYS: the GPU follows the browser's render of every key; since the 2026-10-30 update, before which it was H3 Max's 12 on both engines), and in the cloud toH3MaxTrajectory simplifies a longer path to H3 Max's 12 and says so, each path starting at the photo's own view (PHOTO_KEY, normalizeKeys); ten moves (PATH_PRESETS); the 3D scene's pose and back (fromScenePose, toScenePose); H3 Max's trajectory (toH3MaxTrajectory, with H3_AZIMUTH_SIGN, which way H3 orbits, a guess until a paid run); and a camera per frame for the browser's render of the path (framePoses; PATH_FRAMES 81 at PATH_FPS 16). The turnaround builds on it, as exact orbits (N7-7) and WorldCast (N7-9) are planned to. Launch prices are read where a price is shown or a run is planned, never when the catalog loads (promo.ts, above).

Round 5 part 3 (PR #16) adds no Original. It adds 16 open models and 4 cloud models (above) and these pure libraries, shared by the browser, the server and the tests: src/lib/kandinsky-prompt.ts (kandinskyPrompt: quoted words become Kandinsky 6.0's spoken lines, <S>…<E>, and a closing "Sound:" line its sound caption, on both engines, just before the run; the run keeps the words as typed), src/lib/h3-references.ts (above), src/lib/speech-edit.ts (Edit speech: the edited transcript diffed to the smallest changed span, a window round it cut at silences with untouched speech on each side, AuK's instruction, and the effects on a picked range; AuK takes at most 30 s of audio in and out per call, AUK_SEQUENCE_MAX) with src/lib/av/speech-edit-graph.ts (every window in one prompt, stitched back with core audio nodes), src/lib/world.ts and src/lib/world-path.ts (World mode: a script of an opening and up to 9 turns, 3–12 s each and 120 s in all, WORLD_LIMITS; Fuobe's camera paths as Hy-Nomas's key script at 24 fps, 1280 × 704), src/lib/worldcast.ts (above), src/lib/av/hi3d.ts (Hi3D's resolutions, 512, 1024 or 1536, and "Powered by Hi3D 1.0"), src/lib/av/idol-views.ts (Idol 3D's four views), src/lib/av/keying.ts (what the green-screen key writes per format, keyFormatValues), src/lib/av/splat-view.ts (which viewer draws a 3D output, and the haze cut-off a splat starts with: 0.05 for Idol 3D, 0 for TripoSplat), src/lib/print3d.ts (a mesh as a binary STL or a 3MF in millimetres, standing on the bed at the height asked, with a watertight check), src/lib/scene-props.ts (Cinema's 3D-scene props, at most 4), src/lib/gpu/rtx.ts (above) and src/lib/training-kit.ts (see Training).

A preset (app / motion / effect) has a cloud and an open route, each naming a model and operation, optional fixed params and LoRAs. Apps pin their model; motions and effects add their camera / effect prompt to whichever video model the user picks (the preset's LoRAs, and since round 4 part 3 its LoRA's trigger word, apply only on the preset's own model, now on either engine). Since round 4 part 3 every motion and effect is Fuobe DoP's (dopPreset): a preset can carry a grade and a prestep (a relight before the clip), and a cloud route marked partner runs the preset's words on its old model until Fuobe DoP is measured on them. PresetChoice.extra lets an option set model params.extra.

Providers (src/server/providers/)

Every adapter implements isConfigured, prepareFile, submit and poll, and optionally cancel and test. RemoteOutput carries optional text and meta. prepareFile(data, type, name, route) gets the route the file is for (ComfyUI sends an isolated-worker workflow's inputs to that worker). test({ focus }) names the setting being checked, for a provider whose settings reach more than one server (the Anthropic key, the isolated worker's address).

  • fal — queue API (queue.fal.run/<endpoint>); always uses the status_url / response_url returned at submit. Files go to fal storage via @fal-ai/client. The key test (15 s timeout) counts only 2xx, 400, 404 and 422 as "accepted"; a proxy or an outage (405, 407, 5xx) reads "Couldn't check the key". Since round 4 part 2, LoRAs go in the route's LoRA field (routeLoraField: one item per file, Wan 2.2's expert as transformer, weight_name, the scale clamped, at most the API's maximum) and the call switches to the route's loraEndpoint (loraEndpointFor; an endpoint that needs at least one LoRA is never called with none). prepareFile uploads a named File, so uploads keep their name and extension (a mirrored LoRA stays .safetensors).

  • replicate — predictions API; small files as data URIs, larger via the Files API. Outputs are copied immediately (Replicate deletes them after an hour). Since round 4 part 2 it sends LoRAs (before, it ignored them): lora_weights / lora_scales arrays, one LoRA per Wan 2.2 expert, or one field, switching to the route's LoRA model when it has one (loraEndpointFor).

  • retired providers (round 4 part 5). The retired cloud provider's adapter is gone, with its key, its key test and its live style lists (its presets route). Rows stored before still name it, so provider(id) (index.ts) gives a stand-in for a provider id Fuobe no longer has: poll fails the job with RETIRED_PROVIDER_ERROR ("This job ran on a provider Fuobe no longer uses, so its result can't be collected: run it again (Reuse picks the model that replaced it)"), submit and prepareFile throw it and cancel does nothing, so the runner no longer throws on every tick for such a row. pollOne gives the same message for a job whose model is gone because it was retired, or whose provider is unknown (see Retired models).

  • comfyui — loads workflows/comfyui/manifest.json. prepareWorkflow() turns a GenInput into the prompt: canonical keys → bindings, uploads it makes itself (including media refs in params.extra), LoRA nodes after each diffusion-model loader, width / height from aspect ratio + tier, frame counts as n·step+1, the palette as a hex sentence plus a 512×512 swatch rendered on the server, SLOT_RULES (repeat, required, hints) per workflow, and graph rewrites for expand: "captions" (expandCaptionWorkflow in src/lib/comfy.ts) and expand: "timeline" (expandTimelineWorkflow in src/lib/av/timeline.ts). A left-out reference in a FLUX.2 ReferenceLatent chain is removed by bypassReference(). The second audio track is read from inputs.audio2 (else params.extra.audio2); a mux with no background picks the one-track graph. prepareFile records each upload's header facts (src/lib/media-probe.ts: MP4 / MOV / M4A with rotation, WAV, FLAC, MP3) so the "auto" shape, trim checks, lip-sync frames, the mux bed length, caption windows and the Whisper RAM guard use them. Progress comes over the websocket (reset when the URL changes), results from /history; collectOutputs() maps them in manifest order (text with cues and language, model3d, stems with meta.stem, layers back to front with meta.z / name / bbox, roles, VHS meta-batch passes followed by their fuobe/<generationId> filename prefix). A 502 or a missing prompt is retried; a prompt fails only after it is missing three polls in a row. The first isConfigured() per URL waits for a real probe from a worker thread (probeComfySync: a 1.5 s request, and the wait gives the worker 1 s more; since round 4 part 5 it also opens a TCP connection, below).

    Round 4:

    • Isolated worker routing. workerFor(endpoint) reads the manifest's worker: "isolated"; that workflow's uploads, prompt, progress socket (a second websocket), polls and cancels go to Settings → Isolated worker URL (comfyIsolatedUrl, COMFYUI_ISOLATED_URL) instead of the main ComfyUI. With no address, or a worker that doesn't answer, the job fails with a message naming the setting; the connection test reports the worker beside the main server.
    • Per-request graph work in prepareWorkflow(): EXR requests switch to their own graph (exrWorkflow); videoFinishValues() sets export formats, the HDR colour space, FPS Boost's multiplier and frame step (FrameInterpolate is bypassed when the multiplier is 1) and the size of each pass of a chunked graph (framesPerPass, about 1.5 GB of frames); Ken Burns zoom / pan / easing are bound; a graph with limits.maxDurationSec refuses longer jobs; a crossfade uploads a small fade-curve WAV (fadeCurveWav) and refuses clips too short for it (crossfadeProblem). Remove object turns the words into SAM 3.1's target (targetPhrase), fills the gap with a neutral scene prompt (REMOVE_SCENE) and keeps the painted graph's hand-off mask output only when params.extra.handOffMask asks; swap and insert take SAM's target from maskPrompt or the prompt (swapTarget) and refuse clicks. Depth maps bind colormap and sideBySide; Remove background deletes the save node not asked for (matteOutput). Graphs that hold a whole clip in memory are refused above half the server's RAM (wholeClipProblem; comfyRam() reads /system_stats).
    • Graph rewrites in src/lib/comfy.ts: tagMetaBatch gives every VideoHelperSuite batch manager a per-job tag, and dropVhsAudio removes the sound link from VHS video loaders when the clip header says it is silent (both for every workflow that has those nodes, old ones too). expand: "videos" and expand: "audios" rewrite a join for every clip in one prompt (expandVideoJoinWorkflow, expandAudioJoinWorkflow in src/lib/av/joins.ts).
    • Results and cancel. EXR frames (output role frames) are fetched one at a time into a stored zip in the scratch folder and ride on the preview clip as meta.artifacts.exr (bundleFrames). Cancel (stopPrompts) deletes every queued prompt carrying the job's filename prefix and interrupts the running one; a meta-batch job is swept again up to 5 times, 1 s apart (sweepPasses). Uploads of .webm and .mkv are probed too.
    • 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) 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).
    • Round 5 part 2: soundtrack splits and asked sizes. On separate-soundtrack-dbs, prepareWorkflow() binds separationModel to the model asked for, else the host's pick (dbsModelFor in src/lib/av/split.ts: DBS-TIGER on a CUDA device, DBS-BSRNN on a CPU, the other one when the pick isn't on disk). The device comes from /system_stats (comfyDevice, kept a minute) and the models on disk from GET /models/dbs, which ComfyUI-DBS registers (comfyDbsModels, read fresh at submit; callers that arrive while either request is on its way share it); a model that isn't there is refused in words, never sent. channels is mono or each channel (dbsChannelsFor), and a source with more than 2 channels (the header's count, else params.extra.sourceChannels) is split in mono with a mono Music & effects (dbsSurroundBed), because ComfyUI saves at most 2 channels. A canvas the request names (params.extra.width / height: a layout's, Soul's exact sizes) is fitted to the graph's grid and maximum side with its shape kept (fitCanvas in src/lib/comfy.ts), as the cloud's sizeValue fits it, so both engines render one size. Upload headers carry the channel count (MediaInfo.channels: WAV, FLAC, MP3 and an MP4 / MOV's first sound track in src/lib/media-probe.ts; WebM / Matroska in src/server/webm-probe.ts). The manifest's outputs gain the stems music and effects and the role report (a node's own account of the run).
    • Round 5 part 3: graphs picked by what the server has, and rebuilt per run. comfyHasClass(cls) asks GET /object_info/<class> (kept a minute; forgetComfyClass drops it when a prompt is refused; never asked of a ComfyUI reached through someone's Fuobe tab, so Idol 3D runs its core graph there). Idol 3D runs image-to-splat-idol-clean where the server has IdolPruneSplat and the ComfyUI-Idol pack isn't switched off in Settings → Models & licences, else the core graph, whose splat says it wasn't pruned; Idol's four views (image-to-views-idol) are refused in words without the pack. resolveWorkflowId (src/lib/comfy-variants.ts) also moves MiniMax H3 to Pika H3 Flex's 6-step graphs for Quality flex (H3_FLEX_GRAPH; src/server/h3-gpu.ts keeps the full model for it and refuses Flex with a smaller card's tier picked), to the 2K draft that keeps its latent and the finish that loads it (H3_LATENT_DRAFT_GRAPH, REGEN_LATENT_GRAPH), and an Idol run asked for views to the views graph. Three new expand kinds rebuild a graph per run: references (one loader per reference image, clip and voice or music clip, expandH3References; runtimeNodes lists the loaders it adds, for the GPU pre-flight), speech (every Edit speech window in one prompt, expandSpeechEditWorkflow, with a fade-in WAV the provider writes) and world (the opening and every turn up to the one asked, expandWorldWorkflow, on the script's own seed, so ComfyUI reuses the turns it already made). AuK's text to speech is written per run (aukTtsWorkflow: the loader goes without a voice sample). The green-screen key binds its format (keyFormatValues: a WebM with alpha, ProRes 4444, or EXR frames beside the WebM), sends the clean foreground through the cut-out's encoder as H.264, and runs in 48-frame passes: metaBatchResults keeps the last pass's clip and every pass's EXR frames, reading further back in /history when frames are in it (META_BATCH_HISTORY). Kandinsky VSR's factor goes out as the pack's choice (scale, upscalerScale); Kandinsky 6.0's Prompt helper runs only when asked (PROMPT_HELPER_OPT_IN). RTX Video Super Resolution sizes its passes on its own factor (rtxScale), Frame Generation is bypassed at a ×1 multiplier like FrameInterpolate, and a missing RTX node is answered in plain words (RTX_MISSING, the owner's or a visitor's). For MiniMax H3's 2K, comfyPlace() names where a latent stays (an account's link or computer, the owner's computer, this server; nowhere on the owner's workers, which empty their output folder), the draft saves its latent under a name made from its run's id (latentPrefixFor) and records meta.latentAt, and a finish whose latent is gone (latentGone) is sent again without it, redrawing the clip. Hi3D's refine uploads the coarse GLB into ComfyUI's input folder (binding model3d) and takes 512, 1024 or 1536 only. A talking clip from a voice on MiniMax H3 is as long as the voice, 5–15 s. The connection test with focus: "worldcastUrl" asks the WorldCast worker's health.
  • worldcast (round 5 part 3, N7-9; src/server/providers/worldcast.ts, the client in src/server/worldcast.ts, the case in src/server/worldcast-case.ts). The WorldCast worker is an HTTP service on the owner's GPU, outside ComfyUI, at Settings → Open-source engine · ComfyUI → WorldCast worker URL (worldcastUrl, WORLDCAST_URL), with a shared secret sent as a Bearer header (worldcastToken, WORLDCAST_TOKEN). The contract is docs/workers/worldcast.md and a reference server is in workers/worldcast/. A run's pictures stay on this server until submit, where the case is made (the still cropped to 480 × 832 with its SAM 3.1 mask, the point-cloud render of the path through MoGe 2's depth with its hole mask, the cameras, the anchors with their masks) and sent as one multipart POST /cases; GET /jobs/{id} is polled and GET /jobs/{id}/video fetched (a job id the worker gives is checked before it goes in a path). GET /health is asked before the buttons plan, and an answer is kept a minute (worldcastContext, worldcastContextNow in src/server/worldcast-on.ts: undefined for a visitor or when WorldCast, the person mask or MoGe 2 is switched off). A WorldCast run may take 3 hours before it times out (other providers' runs: 45 minutes). It is the install's worker: an account's run never reaches it.

  • llm — text steps in this process (below).

  • local — results made in the browser (Color grading's PNG / WebM, Ads Studio composites, Kinetic Motion clips, frames, contact sheets and versions; /api/generations/local records them, an account's Kinetic Motion clip as its own run, with or without its own GPU or key).

  • 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. A splat job gets a real splat from scripts/gen-demo-splat.mjs, so the splat viewer opens in demo mode: an .spz with demo-turntable.mp4 on the open engine (meta.openSplat: op splat on comfyui) and a .ply on the cloud. Rig jobs get the demo GLB (meta.format glb). 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. Since round 5 part 2 a separate-audio job on separate-soundtrack-dbs returns four stems (voice, music, effects and background, voice first). Since round 5 part 3 a refine-3d job returns the demo GLB marked geometry only, and an Idol 3D run asked for its views returns four labelled pictures (front, left, back, right) with meta.index and meta.side. A request with demo: true (a skill's free dry run) goes to this provider whatever Settings → Demo mode says (see Pipelines).

Structured outputs

Outputs are not only media. extractOutputs(response, op) in payload.ts (fal, Replicate) and collectOutputs() (ComfyUI) produce:

kind / meta from
text with .text, meta.cues [{start, end, text, speaker}], meta.language transcribe, translate, write; saved as .srt when timed, else .txt
model3d (GLB) with meta.preview, meta.formats; on ComfyUI also meta.web (the web GLB the server's finish made) and meta.finish (version, material, the turntable's state and progress), plus a video output with meta.role turntable added after the job image-to-3d
layers with meta {name, z, bbox, bboxNormalized, description} Seedream layers, Qwen-Image-Layered (bbox from alpha)
meta.textBlocks, meta.textHtml on the background Ideogram text layers
meta.stem (voice / background, aliases vocals, accompaniment…; since round 5 part 2 DBS's music and effects, alias sfx, voice first, with the pack's JSON as a text output with role report) separate-audio
meta.styleId, meta.mask, meta.role, meta.artifacts Recraft styles, Bria cut-outs, ComfyUI roles, linked extra files (LTX HDR's EXR zip)
scene-3d: a GLB (meta.role scene) + a depth PNG (depth) on the open engine; a depth image (meta.role depth) on the cloud (sceneOutputs) MoGe 2 (scene-mesh-moge), Marigold (marigold-depth)
model3d with meta.format (ply / spz; on ComfyUI from the output's splat role, ksplat too) and meta.preview splat (TripoSplat on fal; oss-triposplat on ComfyUI, round 4 part 3)
model3d with meta.rigged, meta.animated, meta.formats (fbx files, clips) rig-3d
an image with meta.look, meta.grade, meta.overlay and meta.crop (21:9); once the browser has finished it, meta.finished and meta.original (the raw picture) Fuobe Soul (soulPostSteps, written when the job succeeds; round 4 part 3); since round 5 part 1 also any storyboard frame whose request has frame.look (its crop from frame.crop), whichever model made it
an image with meta.masks and meta.faces; when the server can't decode the picture or its masks, the unpixelated picture with meta.mosaic {source, masks, scale} for the browser to pixelate face-mosaic: fal's SAM 3.1 masks (faceMaskOutputs), pixelated on the server by mosaicOutput (generations.ts, with mosaicPixels / unionMasks from src/lib/soul-post.ts); oss-face-mosaic returns the finished picture (round 5 part 1)
a clip with meta.grade (a src/lib/grade.ts preset) Fuobe DoP's colour-grade effects (round 4 part 3)
text with meta.lines [{text, bbox}], meta.size (meta.unreadable when the answer has no list) ocr: Florence-2 on fal; OvisOCR3 on ComfyUI (ocrOutput, round 4 part 2)
images with meta.index (source frame = index × frameInterval; a chain slot's index reads it) extract-frames
a preview clip with meta.artifacts.exr (a zip of EXR frames) sdr-to-hdr on LTX 2.3 HDR; open EXR export and HDR (bundleFrames)
meta.role cutout / matte (one kept, keepMatte) Remove background (bg-remove-video)
meta.role mask (a window's last tracked mask) the open painted eraser
meta.role master (a 16-bit FFV1 copy of a take's last frames, which the next segment continues from) Character Swap Studio's segment graph (round 4 part 5)
a splat with meta.pruned, and on the clean graph meta.kept (the Gaussians its prune kept, read from the graph's report, which isn't kept as a result) Idol 3D on ComfyUI (round 5 part 3)
four images with meta.index and meta.side (front, then the object's left, back and right) Idol 3D's views, image-to-views-idol (round 5 part 3)
the cut-out, its mask or the clean foreground; with EXR, every pass's frames zipped onto the cut-out (bundleFrames) the green-screen key on the GPU, video-key-corridorkey (round 5 part 3)

A media operation that only answers in words fails with "The model replied: …" (noOutputsError). OutputFile.text is inlined up to MAX_INLINE_TEXT (64,000 characters, meta.truncated beyond); chained steps read the full text from the file. outputKind(op, model) decides a generation's kind (color-match, timeline and scene-3d follow the model's kind: a 3D scene is a mesh on the open engine and an image on the cloud). Results without a prompt are titled after the operation ("Transcribe · ElevenLabs Scribe v2").

Files a result links to in meta.artifacts (LTX HDR's EXR zip) are copied into the Library when the job finishes (persistArtifacts in generations.ts): a link is streamed to the scratch folder by fetchRemoteToFile and moved into files/outputs (adoptFile); one that can't be fetched stays as it was. Since round 4 part 3 the same goes for meta.formats and meta.preview (keepLink): a 3D model's other formats (OBJ, FBX, USDZ…) and renders, a rig's FBX and walk and run cycles, SAM 3D's splat. A link to the main file itself isn't fetched twice: it points at the stored copy (relinkMain). Every cloud 3D result now takes longer to finish and uses more disk.

Pipelines and chained jobs (src/server/chains.ts)

A generation can depend on others (CreateOptions.dependsOn, one id or a list). GenerationRequest.chain (ChainSlot[]) says where each dependency's output goes:

slot what it fills
images (first / last), endImage, video, videos, audio the matching input, from the dependency's first output of that kind (an audio slot fed by a clip takes its soundtrack)
voiceAudio the voice to clone (tts) or the target voice (voice change)
audio2 the second track mixed under inputs.audio (mux): inputs.audio2 / GenInput.audio2
audios a list of clips (the spoken lines a voice timeline places at their start times; the clips of an audio join)
model3d a 3D model (a mesh to rig)
mask what to change (remove-object): the output marked meta.role mask (the open painted eraser's last tracked frame, handed to the next window), else a mask video (SAM 3.1's track), else a still
prompt the dependency's text: replaces {text} in the prompt, or becomes it; a translate step gets the cue list (decided by the step's planned op)

An audio slot can carry stem to take the output whose meta.stem matches ("voice" also matches vocals / speech / target; "background" also accompaniment / instrumental / residual / no_vocals; since round 5 part 2 "music", and "effects", which also matches sfx). pickOutput() in generations.ts does the choosing; a missing stem fails the step with a clear message. Since round 5 part 1 a slot can carry raw: true: it takes the picture as the model made it (meta.original), before Fuobe Soul's finish in the browser, so a look board's next frame is made from the previous one and every frame is graded once (chainValue, now exported). Since round 5 part 2 a list slot can carry at, its place in the finished list among the request's own items: slots with at go in last, in order of it (withChainInputs; unfilledRequest takes them out again), so frames that earlier steps make land between a film's own (the turnaround's drawn sides).

createPipeline(steps, opts) creates any DAG of steps {key, request, after?, chain?}. Before a single row exists it checks duplicate or unknown keys, self-waits, loops (Kahn sort, linear in steps + edges, since a per-frame render has hundreds), chain-slot counts and output numbers (index / of), that a step others depend on makes one job, and previews every step with placeholders; a mix of demo and real steps is refused (assertOneMode). Rows are created in topological order with dependsOn, labelled "Step n of N", and it returns {batchId, items, byKey}; if creation fails partway, what it started is canceled. Since round 4 part 2, opts.existing maps keys to generations made before (a retry's finished or running steps): new steps may wait for them, they aren't made again, and a demo step can't continue steps that ran for real. Its TSDoc example is a whole dub. Layers, Shorts, Mixed Media, the palette lock, Photodump / Fashion / Character Sheet, the AI Influencer builder's two-step sheet, Marketing Studio / Click to Ad / Ad Multiplier, dub, Katana, Remove object, Genjutsu, the Audio hub's Loop / extend and Join (since round 5 part 2 also Split soundtrack and putting its mix back on the video), the Assist studio tools, and since round 5 part 1 Evolution, a skill's recipe (one pipeline per run or CSV row, and its dry run) and the PixeletedFace face mosaic (createMosaicRun) build their jobs this way; Cinema, Canvas, Faceless / Explainer, Content Factory's reading steps, Ads Studio, moodboards and, since round 5 part 2, the turnaround (runTurnaroundSteps, one batch) call createGenerations (with dependsOn for chained steps) directly (since round 4 part 3 Canvas uses createPipeline for a node made in steps or rows); Cinema, Canvas and Faceless preview every step first.

At launch the runner fills the slots (slotsFor pads short chains, chainValue reads text files when the text isn't inline) and checks the mode again (chainMode: a real step after demo steps runs as a demo, or fails with what to connect when demo mode is off). Round 4 part 2 changes the runner for every chain, for per-frame work:

  • Fan-out and fan-in by output number. ChainSlot.index takes the dependency's output number i of the slot's kind (by meta.index when the outputs carry it; past the end, the last one). One step per index fans a list out (a step per extracted frame); one step with a slot per index gathers it back in order. With of, the number of outputs planned, a list more than CHAIN_LIST_SLACK (2) short fails the step before it runs (listShortfall), so a frame or two lost at the clip's end is held, and half a clip of frozen, paid frames is not.
  • Waiting steps are picked by readiness. advanceDependents reads READY_DEPENDENTS (generations.ts): waiting rows none of whose inputs is still queued or running, or one of whose inputs failed, was canceled or is gone. Before, it read the 50 oldest waiting rows, so a render with hundreds of waiting steps held up every chain started after it. A step whose input failed is now failed at once, even behind a backlog.
  • dropWhenUnused. A waiting step marked so (today only per-frame Mixed Media's frame edits and clips) is canceled unpaid ("Stopped before it ran: the steps it was for failed", DROPPED_UNUSED) once every step that would use it has failed or been canceled. dropUnused runs when a chained step fails and on cancel, and walks up the chain.
  • Retries. A launched step is stored with chainFilled: true; unfilledRequest() takes the chained inputs out again, so a retry can rebuild the step from new or kept dependencies (Mixed Media's retryMixed, with createPipeline's existing).
  • Optional inputs (round 4 part 4, Genjutsu's anchor first frame). A ChainSlot marked optional {prompt?, notice} is an input the step can do without: when the step feeding it fails or is canceled, advanceDependents launches the step without that slot (withoutSkipped) instead of failing it, with the slot's fallback prompt, and records chainSkipped (the slots left out and the planned prompt). The notice is said on the result and carried down to every later step (GenerationRequest.notice). unfilledRequest() puts the planned prompt back, so a retry tries the full plan again. Chains without optional slots run as before; the runner now reads each dependency's stored request to gather notices.
  • Model access (round 4 part 4). createGenerations checks the model with offeredFor before any step is queued, and assertOneMode (chains.ts) checks every step's model and routes against Settings → Models & licences, so a chain with a step switched off is refused, naming the switch, before a row exists. The chains built after the first row (createShotFilm, createExtendChain, createRelitClip, joinClips) cancel what they queued when a later step throws.
  • Waiting for ComfyUI (round 4 part 5). Before it launches a step whose model runs on ComfyUI, advanceDependents reads the cached reachability (an Original counts with the routes of the engine it will run on, pickEngine with ComfyUI taken as answering, so a step on the cloud half doesn't wait). When ComfyUI doesn't answer and an earlier step ran on it for real, one missed check (a server busy finishing those steps, or restarting) mustn't turn this step into a demo, which chainMode would fail: the step looks again at once (one forced check per sweep), then stays queued with "Waits for ComfyUI to answer" for up to 60 s from the first miss (COMFY_WAIT; the first miss is kept in memory by step id) before chainMode has its say. The Canvas concatenator's join after its fit steps is such a step.
  • Demo dry runs (round 5 part 1, Work2Skill W1). A request with the server-set demo: true runs on the demo provider whatever Settings → Demo mode says: prepare() passes it to chooseRoute (forceDemo), and chainMode lets a step after demo steps run as a demo with Demo mode off when it carries the flag. joinClips, createShotFilm, createKeyframeFilm and createExtendChain pass it on to the steps they add. The API drops the field from input (see Skills that run by themselves).

Built on that:

  • Join clips (joinClips): fal's FFmpeg merge-videos on the cloud, ComfyUI's video-concat-{2,3,4} on the open engine (folded four at a time). oss-join-sound1/2 are joins that keep one clip's own sound at 25 fps (marketing films). oss-join-encoded (video-concat-encoded, expand: "videos") joins up to 100 clips in one prompt by packet copy when they share size and frame rate; Faceless Frame by frame films use it, 24 clips per join.
  • Open multi-shot (createShotFilm), storyboard film (createStoryboardFilm; since round 5 part 1 it takes the film's shape from frame.crop, so a 21:9 look board makes a 21:9 film), last-frame extend (createExtendChain: extract frame → the model's image-to-video → join; oss-extract-frame on the open engine).
  • The request as asked (round 5 part 1, W2). createShotFilm, createKeyframeFilm, createExtendChain, createStillTo3d and createRelitClip write the request they were given as GenerationRequest.asked on the first row they return (withAsked; a Fuobe Original keeps its engine), so a skill made from the result rebuilds one request, not the rows it expanded into. The API drops asked from input.
  • Face mosaic run (createMosaicRun, round 5 part 1, O11). A Fuobe Soul request in a look with a step after it (PixeletedFace: soulPostStep is face-mosaic) becomes, for each picture (at most 4, each on seed + i), a two-step pipeline in one batch: the picture ("Before the face mosaic", marked postMade so it doesn't start another), then the face mosaic on the same engine (faceMosaicStep: oss-face-mosaic on the GPU, sam-3-1-face-mask in the cloud). The mosaics come first in the answer, so a pipeline's next step or a Canvas node takes the pixelated picture; a request that waits for earlier steps waits with its picture.
  • Keyframe film (createKeyframeFilm): Frames mode on an open model whose keyframes route is chained. createGenerations hands a keyframes request on Wan 2.2 14B (or Lightning) to it: one wan22-flf2v-14b clip per pair of neighbouring frames, each as long as its gap in the workflow's frame steps (planKeyframeClips), then an image-to-video clip after the last frame when it isn't at the end, then a join. The whole request is previewed first, and clips already made are canceled when one fails. A chained route can't be a step that waits for another step's output: createGenerations, previewChained and Canvas's describeNode refuse it with one message (chainedWaitMessage). The one exception, since round 5 part 2, is a keyframe film whose frames earlier steps make (framesWait: every chain slot an image with at). createGenerations hands it to createKeyframeFilm with its dependsOn, and previewChained lets it wait (Canvas still refuses it). The film is checked with placeholders for the frames to come, and each clip waits only for the frames it starts or ends on, so the clips between the request's own frames start at once. Run again on such a film is refused, since those steps are gone: it is made again where it was made. Every Frames film goes through this code.
  • Refined model (createRefinedModel in chains.ts, round 5 part 3). An open image-to-3D request with params.extra.hi3dRefine is one batch of two steps: the picked model builds the mesh ("3D model"), then oss-hi3d-refine refines its geometry from the same photo ("Refined detail"; chain slot model3d, and images when the photo comes from an earlier step, such as a Canvas image node or an Assist plan's still). Both results stay; the refined one has no colour. Hi3D runs on the GPU only, so a cloud model with Refine detail on is refused.
  • MiniMax H3 at 2K (createH3TwoKRun in src/server/regenerate.ts, round 5 part 3, N7-10; held with Regenerate). A request for oss-minimax-h3 at 2K is, per take (up to 4), a 768p draft and an Open-H3 Regenerate finish at 2K that waits for it (finishOf names the draft). A text-to-video draft that isn't Flex runs video-h3-t2v-2k, which saves its latent while the Turbo 4-step LoRA is switched on, and its finish starts from that latent. The hand-off is decided as each run starts, never taken from the request: ClientExtra (src/server/request-schema.ts) drops latentDraft and latentFrom from input, latentFromDependency names the draft a finish waits for, and latentHandOff keeps it only when that draft, of the same account (or the owner), kept its latent on the same ComfyUI (comfyPlace); otherwise the finish redraws the clip. The preview prices each finish beside its draft, and the run's facts list the finishes (RunFacts.steps, docs/billing-hook.md), so a hosted run's policy and price see every step.
  • Pieces and windows (src/lib/catalog/remove-object.ts, shared by Remove object and Genjutsu): a long clip is cut into pieces each cloud model takes (planCloudPieces), or into frame-exact windows for the open graphs (planWindows, planFrameCuts; VACE_WINDOW is 4n+1 frames, up to 81). Each piece is trimmed and made, the pieces are joined, and the clip's own sound is put back (joinWithSound), with the helpers in REMOVE_TOOLS (fal trim / join / mux, or oss-trim / oss-join-clips / oss-mux). Open windows are joined with hard cuts; the seams have not been checked on real models.
  • Text to 3D on the open engine (createStillTo3d, round 4 part 3): oss-text-trellis2's text-to-3d route is chained. createGenerations reads the operation as the planner does (inferOperation, so Assist, MCP and API calls that leave op out get it too) and makes one batch of two steps: a Qwen-Image 2.1 still (oss-qwen-image-21 on its t2i route, 1:1 at 1K, the words plus "a single object … on a plain light grey background", feature image-to-3d-step, a helper the Library hides), then oss-trellis2 on that still (BUILDERS_3D). A photo sent with the words is dropped. Like a keyframe film, it can't wait for another step's output: chainedWaitMessage(name, op) now has 3D wording, and Canvas refuses any chained route fed by another node before Run.
  • Relit clip (createRelitClip, round 4 part 3): a Fuobe DoP relight effect run on its own model (relightStep in generations.ts) is one batch of two steps. "Relit start frame" runs the preset's prestep on the clip's engine (oss-qwen-relight on ComfyUI; qwen-image-edit-2509-cloud with the Relight LoRA on fal); "Relit clip" takes it as its start frame. createGenerations checks text to 3D first, then the relight. Since round 5 part 1 the step can carry its own params and labels, and its model may be an Original that runs on the clip's engine: DoP's Mixed Media effects draw "Start frame as " on Fuobe Mixed Media, then " clip" (see Fuobe Originals).
  • Canvas nodes made in steps, or once per table row (round 4 part 3, runCanvas in src/server/canvas.ts): a node whose NodeRequest has steps (the Video concatenator) runs as one createPipeline whose last step holds its result (NodeRun.out; the steps before it have feature canvas-step). A node fed by a Table has rows: one step per filled row (StepSource {node, row}: a row of the next node waits for the same row), each row a result (NodeRun.rows). Each row has a signature (NodeRun.rowSigs); a row whose inputs didn't change and whose result is live is kept (keptRow), so a failed, trashed or added row runs and is billed alone, and a node that takes rows is signed by all its row ids (depIdentity), so a film joined from rows goes stale when one is redone. The concatenator's steps, per clip: on the cloud trim-video (when cut) → scale-video (cropped to the film's size) → for a muted or soundless clip merge-audio-video with a silent WAV the server writes when the run starts (silenceRef, silenceWriter; for a muted clip of unknown length extract-soundtrack → ffmpeg-loudnorm at −70 dB → the mux), then join-clips at 30 fps, folded in joins of up to 24; on the open engine oss-fit-clip (video-fit-clip: cut, framed, 30 fps, its sound or silence, in one streamed pass), then oss-join-encoded.

LoRAs (src/lib/catalog/loras.ts, src/server/loras.ts)

Round 4 part 2. A run's LoRAs come from a preset's LoRAs (since round 4 part 3 on either engine: Fuobe DoP's map v2 in oss-loras.generated.ts, through dop.ts), a Fuobe Soul look (round 4 part 3: LORA_LIBRARY keys), a Mix, an @character's trained LoRA (since round 4 part 4 on every model of its family: see Training), the request's loras (API callers and the evaluation harness: at most 8), or, since round 4 part 4, a graph that loads its own (the H3 graphs' graphLoras). The library (lora-library.generated.ts) gives each researched file its pins and licence; a LoRA the library doesn't know is the user's own. Nothing is committed to the repo: files are fetched when a run needs them.

Since round 4 part 4 a LoRA's licence is information, not a gate (decided 2026-10-27). A LoRA licensed for the user's GPU only (civitai without "Rent", gpuOnlyLicence) goes to fal or Replicate like any other, and the run's notes say what its licence says, unless Settings → Models & licences turns on "Keep them on your GPU" (under "LoRAs licensed for your GPU only"; keepGpuOnlyLoras): the server then marks the run's LoRAs keepOnGpu, and localOnly keeps those off the cloud. LoRAs switched off there, by file or by licence class, leave the run with their trigger words (offeredLoras in src/server/model-access.ts); the user's own LoRAs (no recorded licence, no library entry) are exempt from the class switches.

  • Open engine. Before a ComfyUI run, ensureLorasOnComfy compares the run's LoRAs with ComfyUI's own list (comfyLoraFiles) and the LoRA folder. A missing file is downloaded into Settings → LoRAs folder (comfyLorasDir, COMFYUI_LORAS_DIR) by downloadLora: a Hugging Face file at its pinned commit, a civitai file by its pinned version with the user's civitai key (?token=, redacted from error messages). The bytes are hashed while they stream to a .part file and kept only when they match the SHA256 pinned in the library (else the one Hugging Face or civitai states). One download per file runs at a time (downloadOnce), and the job's card shows its progress ("Downloading … · 40%"). With no folder set, the run stops with what to do; a gated Hugging Face file has to be placed by hand. A trained Soul ID LoRA (round 4 part 4) is copied into the folder from Fuobe's own copy (ownCopy). injectLoras then adds the loader nodes.
  • Cloud engine. fitLoras keeps what the route can carry: never a gated Hugging Face file or a file that exists only on ComfyUI, nor a GPU-only LoRA while the admin keeps those on the GPU (localOnly); over the API's maximum, the first ones win. Before submit, prepareCloudLoras gives each LoRA a URL the provider can fetch: a public file as it is; a civitai file is mirrored once to fal or Replicate storage through the adapter's prepareFile. civitai's permissions are read before each copy and recorded with it; since round 4 part 4 they decide only while GPU-only LoRAs are kept on the GPU (then no "Rent", or no answer, means no copy); otherwise the copy is made and the mirror's licence snapshot says how (hostingNote). A trained Soul ID LoRA (LoraRef.own) goes through sendOwnLora: the copy the trainer left on fal while it lives, else Fuobe's own copy (or the one in ComfyUI's folder) uploaded once, else the trainer's URL. A mirror is made again after 7 days on fal and 1 day on Replicate (guesses: neither documents how long uploads live). The civitai key is never sent to fal or Replicate. Files downloaded only to mirror them live in <data dir>/loras (LORA_CACHE_DIR).
  • Without a civitai key (round 4 part 3). Before a Fuobe Soul run, withoutUnreachableCivitai (src/server/loras.ts) leaves out the civitai LoRAs the run can't get (not in ComfyUI's LoRA folder, or no live mirror for the cloud), takes their triggers off the front of the prompt (promptWithLoras) and adds a note; the look's words still carry it. On the open engine it only does this when the LoRA folder is set: without the folder, a missing file still stops the run. Since round 4 part 4 Fuobe Cinema's planner does the same for a cloud camera move whose LoRA is on civitai (cinemaMoveRoute with the project context's civitai: the move runs on its words, with a note). Any other run (a motion, whose LoRA is the point) still stops before the job.
  • Records. Every copy, a download into ComfyUI's folder or a mirror, is a lora_mirrors row (file, target, source URL, version, hosted URL, SHA256, size and the licence / permission snapshot it was made under). Since round 4 part 4 a trained LoRA's copies are rows too (source fuobe:<file>, or the trainer's fal URL: recordTrainedMirror).
  • Settings → LoRAs (src/components/lora-settings.tsx) reads GET /api/loras: the library with each file's licence line, whether it is in the folder, where it was mirrored, a folderProblem for a folder setting that can't be read, and whether a civitai key is set (never the key). POST /api/loras {file} downloads one library LoRA now (downloadToComfy). The civitai key's Save & test asks civitai's /me (testCivitaiKey).
  • Research pins. scripts/fetch-lora-pins.py pins every LoRA of the research to exact bytes (SHA256, size, the Hugging Face commit), and scripts/fetch-hosted-schemas.py reads the hosted endpoints' input schemas (since round 4 part 4 also --trainers and --base-only); both need the network and aren't part of gen:catalog. gen-lora-library.py fails on a missing pin; since round 4 part 4 it prints a licence-rule break (a non-commercial LoRA in a default row) as a note instead of failing.
  • Recipe LoRAs (round 5 part 1). A model whose recipe needs a LoRA (an Original, or oss-tryon-klein) lists it in ModelOptions.loras (the library's adapter group, all on by default): planGeneration puts it before the user's own, so on an API with a cap the user's give way first. prepare() refuses the run, naming the LoRA, when Settings → Models & licences has it switched off, or when the route leaves it out for another reason (the cap, a licence class, no cloud path; not checked in demo mode). recipeLoraOff (src/server/model-access.ts) makes such a model count as off, so pickers and server defaults move on (Fashion Factory's outfit to FASHN in the cloud or Qwen edit on the GPU when the try-on LoRA is off). A graph that loads the LoRA itself isn't given it twice (injectLoras).
  • Shared copies and missing files (round 5 part 1, O9). Parallel cloud mirrors of one file to one host share one copy (mirrorOnce, with the civitai logic in mirrorCivitai), so a per-frame Mixed Media render uploads a look LoRA once, not once per frame; this applies to every cloud run. A Fuobe Mixed Media run leaves out an unreachable civitai LoRA with a note, as a Fuobe Soul look does (withoutUnreachableCivitai in prepare()), and on the GPU with no LoRA folder set the studio leaves out a LoRA ComfyUI doesn't list, with a note at the estimate (withoutMissingOnComfy). DoP's Mixed Media stills don't do this yet: on the GPU with no LoRA folder, a still in one of the 14 LoRA looks fails at submit.
  • Graph LoRAs and planned LoRAs (round 5 part 3). Pika H3 Flex's two adapters (pikaFlexGraphLoras) and the H3 Turbo 4-step LoRA of the 2K draft (regenerateGraphLoras) are loaded by their graphs: graphLoras in generations.ts downloads them before the run like the H3 graphs' own, and Settings → Models & licences lists them with their licences (Pika's adapters under MiniMax H3's terms; the Turbo LoRA Apache-2.0 at its pinned revision). An adapter switched off holds the run with a plain refusal (an account isn't told about Settings); the Turbo LoRA switched off only stops the 2K draft from keeping its latent (keepsH3Latent). The LoRA library also lists Fuobe's own LoRAs before they are trained (PLANNED_LORAS, from the research's fuobeTrainedLoras): gen-lora-library.py fails when a preset, a motion or effect row or a Mixed Media look uses one, and an entry joins the library only when the training kit publishes its file with a pinned URL, SHA256 and licence (see Training).

Checked: one pinned 85 MB Hugging Face LoRA was downloaded live through /api/loras and matched its hash, and the payloads are tested against the providers' schemas. No LoRA has run on fal, Replicate or a GPU, civitai downloads and mirrors have never run live, and no trained Soul ID LoRA has been sent anywhere. Apart from a Fuobe Soul look's and a Fuobe Cinema cloud move's (above), a civitai LoRA sent to the cloud without a civitai key fails the run instead of being left out with a note. ensureLorasOnComfy copies a trained LoRA synchronously and sendOwnLora reads the whole file into memory. Round 5 part 1: the four adapter LoRAs' pins are recorded, and the try-on LoRA's pin (revision, SHA256, size, licence card) was checked against Hugging Face in review, but none has been loaded by fal or a GPU; the shared mirror is unit-tested with the network stubbed (24 frames at once make one upload). Cloud Storyboard sends the next-scene LoRA to fal as its Hugging Face link, and nobody has checked that fal fetches it.

Fuobe Originals (src/lib/catalog/engines.ts, soul.ts, dop.ts, cinema.ts, genjutsu.ts, character-swap.ts)

Round 4 part 3. A Fuobe Original is Fuobe's own open-weight rebuild of one of the parity studio's in-house models. It is one model on both engines: its ComfyUI routes run on the user's GPU, and its cloud routes run the same open weights hosted on fal or Replicate. No Original has a route on the retired provider; since round 4 part 5 Fuobe has no such provider at all, and a stored request for a model an Original replaced runs on that Original (see Retired models). Round 4 part 3 shipped five: fuobe-soul, fuobe-soul-hd, fuobe-soul-cinema (O2) and fuobe-dop, fuobe-dop-ltx (O4). Round 4 part 4 adds seven: fuobe-cinema (O6), and the Genjutsu Originals fuobe-genjutsu-motion, fuobe-genjutsu-motion-lite, fuobe-genjutsu-swap, fuobe-genjutsu-swap-lite, fuobe-genjutsu-restyle and fuobe-character-swap (O5). Soul ID (O3) trains LoRAs for the Originals' bases (see Training). Round 5 part 1 adds eight, 20 in all: fuobe-marketing-image and fuobe-tryon (O10), fuobe-mixed-media and fuobe-shorts (O9), fuobe-angles, fuobe-speak and fuobe-speak-motion (O11), and fuobe-evolution (O13). Since the decision of 2026-10-29 an Original gets a cloud half only where its model, or its base model with LoRA support, is hosted on fal or Replicate; otherwise it runs on the GPU only, with no stand-in recipe in the cloud. Since the decision of 2026-10-30 each engine also does all it can: the cloud runs only hosted models (no substitute) with what the hosted endpoint supports, the GPU keeps every capability it has (LoRAs, nodes, longer clips, references) even where the cloud can't match it, and the UI says plainly what each engine does (ModelDef.engineNote, shown under the model in Settings → Models & licences, and the model's menu line). Under it the earlier open cases are settled (the 2026-10-30 update): Fuobe Evolution's cloud route runs fal's hosted Wan 2.2 Fun VACE, the GPU recipe's model (LTX-2.3 before; below); the cloud Fuobe Speak runs fal's InfiniteTalk without the GPU recipe's FusioniX LoRA and settings, and its labels say so (no hosted InfiniteTalk takes a LoRA); and Fuobe Marketing Image's Standalone shot runs on the GPU only while its product-shot graph has no hosted copy: fal hosts BiRefNet and Qwen-Image-Edit 2509 with LoRAs by URL, but nothing hosted puts the cut-out on white (checked 2026-11-01), so in the cloud Marketing's Standalone format lists the Original last, greyed, as running on your GPU only (STANDALONE_CLOUD_NOTE), starts on a partner model, and refuses the Original if an API call asks for it there (no other model makes the shot under its name).

  • One model, two engines. ModelDef.engines lists both. original() in models.ts joins the Original's ComfyUI routes to its cloud half from ORIGINAL_CLOUD (written by gen-cloud-models.py from the research) and gives it its own options (SOUL_OPTIONS, DOP_OPTIONS). engineDefaults and engineOptions change them on one engine (Fuobe DoP: 480p on the GPU, 720p in the cloud; Fuobe DoP · LTX: no sound toggle on the GPU, whose graphs make silent clips). engines.ts is pure and used on both sides: onEngine(m, engine) is the model as it runs there (that engine's routes, defaults and options; the same object every time), and pickEngine chooses the engine asked for, else the engine mode's, else the first one connected (the GPU first), else the model's own; it throws when Settings → Engine mode rules out the engine asked for. On the server engineFor() wraps it, prepare() and createGenerations() plan an Original as onEngine(model, engineFor(…)), and the stored request_json keeps the engine, so a retry or a chained step stays on it. The engine comes from the composer's switch, POST /api/generations (engine; another value is a 400; the preview answers with it), POST /api/palettes/lock, fuobe generate --engine, Assist's generate (engine, else the user's engine) or a Canvas node (CanvasNodeData.engine). Lists show an Original once, on both engines: findModels and GET /api/models (a list for one engine, asked for or the install's only one, gets that engine's view, with its routes and price), modelsFor, the Models page (ModelRow.engines: "Open source + cloud", "Free · $… / megapixel"), ⌘K, the canvas (nodeEngine, nodeModel; convertEngine flips only the engine) and fuobe models (open+cloud).
  • Fuobe Soul: the looks. scripts/gen-soul-originals.py reads fuobe-originals-recipes-5.json (each look's template, LoRAs and strengths, grade, tail, base and overlay; Soul's tails, sizes and sampler; Soul Cinema's recipe) and parity-image-studios.json (each look's family and picker categories). It writes soul-originals.generated.ts, 139 looks (106 Soul, 33 Soul 2.0) with Fuobe ids (v1-general, v2-y2k-studio) and the legacy style id kept only as legacyStyleId, read for old requests and moodboard picks and never sent, plus the browser's slim soul-looks.generated.ts (cards, categories, the old-id map). It exits 1 when the research breaks a rule: a LoRA that isn't in the LoRA library (since round 4 part 4 a non-commercial or GPU-only LoRA is printed as a licence note instead); more than 3 LoRAs or one for another base; a bad template or trigger; an unknown grade or overlay; a size off the 16-pixel grid or above 2048; or a count other than 139.
  • Fuobe Soul: a run. planGeneration reads a Soul model's presetId as a look id and calls soulRecipe: the prompt is "{triggers}, {prompt}. {look}. {tail}"; the LoRAs go in slot order (the user's own, then the look's, then the core LoRA, which gives way first on a 3-slot API), scaled by the preset strength. A look made for the other base keeps only its words (Graffiti is the one look made for Soul HD's Qwen-Image 2512), and Soul Cinema has one fixed recipe (filmstill 0.7, moviewide 0.5, the cine tail, a teal-orange grade). Plan.soul carries the user's words, the triggers and the post steps; Plan.notes says what was left out. Sizes come from Soul's table: 7 shapes at 720p (about 1 MP) and 1080p (about 2 MP), sent to ComfyUI as params.extra width and height and to the cloud through FieldMap.size.table (fal's image_size object, through key; Replicate's width and height, capped at 1440). Soul Cinema's 21:9 is made at 16:9 and cropped afterwards. A megapixel is 1024×1024 (FAL_MEGAPIXEL). With Enhance prompt on, only the user's words are expanded (enhanceSoulWords in src/server/enhance.ts, an LLM only, no offline rewrite) and the look stays as it is. Routes: on the GPU, fuobe-soul makes new pictures on z-image-turbo-t2i and restyles one on the new z-image-turbo-i2i (denoise 0.6, megapixels 1 or 2); fuobe-soul-hd runs qwen-image-2512-t2i; fuobe-soul-cinema runs z-image-turbo-t2i. In the cloud, fal fal-ai/z-image/turbo (its /lora endpoint when the run carries LoRAs) or Replicate's pinned prunaai/z-image-turbo-lora make new pictures (priced at fal's $0.005 per megapixel, $0.0085 with LoRAs); fal fal-ai/z-image/turbo/image-to-image (/lora) restyles, keeping the picture's shape and fal's default strength; Soul HD is fal fal-ai/qwen-image-2512 (/lora), $0.02 per megapixel ($0.035 with LoRAs) on whole megapixels (Pricing.roundUp). A ComfyUI route has no numOutputs, so 4 pictures there are 4 jobs (prepare() now splits any route without that field).
  • Fuobe Soul: after the run. When the job succeeds, pollOne writes soulPostSteps into each image's meta (look, grade, overlay, crop). The browser does the rest: useSoulFinish (src/components/studio/soul-finish.ts, called by every studio feed) crops, grades with the Color grading tool's WebGL shader (src/lib/grade.ts, which gains Invert and Solarize) and draws the overlay (overlayLayout in src/lib/soul-post.ts: DigitalCam's date stamp, CCTV's caption, Vintage PhotoBooth's print). It uploads the PNG to POST /api/generations/[id]/finish (multipart file and index; a PNG by its magic bytes, 64 MB at most). finishOutput puts it in place of the raw picture, keeps the raw one as meta.original and sets meta.finished; the first copy wins (409 after that; 400 for an output with nothing to apply). A failed finish is tried again, up to 3 times. A run made through the API, the CLI or Canvas keeps the raw picture, with the meta, until a studio feed shows it. The viewer's Details show a Look row and a Finish row.
  • Fuobe Soul: the composer, HEX and moodboards. The Look chip is src/components/studio/look-chip.tsx (models with options.looks: Fuobe Soul and Soul HD; a Strength slider sends presetStrength). In palettes.ts, a picked palette goes into the prompt on both engines, and on the open engine a Soul model chains the palette lock after it unless it is turned off (locksByDefault); the lock route takes presetStrength and engine. Curated moodboards are Fuobe Soul looks (lookCard): the look itself on a model that takes looks, its words on any other. Moodboards no longer fetch the retired provider's preset list.
  • Fuobe DoP: the map. scripts/gen-oss-loras.py writes the preset → LoRA map v2 (oss-loras.generated.ts) from comfyui-oss.json (round-1 Wan LoRAs, matched by slug) and the research's motionsEffects (by preset id, so they win): each LoRA with its base and licence flags, and DOP_RECIPES per preset (its status, Fun Camera pose, LTX-2.3 cameraLora, LTX-2.5 cameraMotion, alias). Until round 4 part 4 a round-1 LoRA without a known commercial licence was left out, and the generator exited 1 when a row would make a non-commercial LoRA a default or send a LoRA that may not be hosted to the cloud; since then such a LoRA is kept with commercial: false (a commercial one for the same preset wins), and both cases are printed as licence notes.
  • Fuobe DoP: the routes. dopPreset() gives every motion and effect its routes. On the GPU: Fuobe DoP (Wan 2.2 14B with each LoRA on its expert) when it has Wan LoRAs, else Fuobe DoP · LTX (LTX-2.3 LoRAs), else oss-ltx25 (LTX-2.5 LoRAs; fal has no LTX-2.5 LoRA endpoint), else a Fun Camera pose on Fuobe DoP (params.extra.cameraMotion, which the ComfyUI provider moves to wan22-fun-camera-14b), else Fuobe DoP on the preset's words. In the cloud: LTX-2.5 Fast's own move (Focus Change's focus_shift on ltx-2-5-fast), LTX-2.3's built-in camera_lora on Fuobe DoP · LTX, the Wan or LTX LoRAs a host may run, Wan 2.2 on the words for a grade or relight effect, and otherwise the preset's old route marked partner: true (Kling 2.5 Turbo on the words, until the evaluation harness promotes Fuobe DoP). Until round 4 part 4 a LoRA whose licence doesn't allow hosting stayed on the GPU; now it rides along on a cloud route that is already Fuobe DoP (unless the admin keeps such LoRAs on the GPU), but doesn't make Fuobe DoP a preset's cloud default by itself (Wiggle keeps its partner route). fuobe-dop runs wan22-i2v-14b, wan22-flf2v-14b and the chained keyframe film on the GPU; in the cloud, fal fal-ai/wan/v2.2-a14b/image-to-video (/lora; interpolator_model none, 16 fps, 20 steps; start frame or start and end frame; $0.08 a second at 720p, $0.10 with LoRAs), with Replicate wan-video/wan-2.2-i2v-fast as a start-frame-only fallback that takes one LoRA per expert (the price before the run is fal's even when it goes to Replicate). fuobe-dop-ltx runs the new ltx23-i2v-lora and ltx23-flf2v-lora on the GPU, and fal fal-ai/ltx-2.3-22b/image-to-video in the cloud (/lora for the LoRA presets; camera_lora on the plain endpoint; prompt expansion off; sound off unless asked; $0.036 a second, $0.04 with LoRAs). Focus Change's ltx-2-5-fast is $0.09 a second; the relight step's qwen-image-edit-2509-cloud is $0.035 per megapixel, priced as a 1-megapixel still.
  • Fuobe DoP: effects as steps, Mix. The 15 colour-grade effects carry Preset.grade (DOP_GRADES; 14 of the grades are new in grade.ts). pollOne writes it as the clip's meta.grade, and the clip's first next step opens /color-grade?video=…&preset=<grade> (gradeOf in src/lib/output-actions.ts): a hand-off, not an automatic re-encode. The 6 relight effects carry a prestep that relights the start frame first (createRelitClip, see Pipelines), priced into the clip by withPrestepPrice and the composer's prestepCost. Mix stacks the second preset's LoRAs on either engine (mixLoras), scaled by the mix strength and deduplicated by file; a preset whose LoRA is for another model family joins as words only, with a note. The preset strength also sets camera_lora_scale. Cinema Studio's open camera route now takes LoRAs only from a preset whose open route is Fuobe DoP (Wan). Since round 5 part 1 the 32 Mixed Media effects (effect-sketch, effect-noir, effect-paper…) carry a prestep too (mixedPrestep): "Start frame as " on Fuobe Mixed Media in the studio look's default settings (about 1 MP and about $0.01 on fal, free on the GPU), then " clip" on Fuobe DoP, on both engines (createRelitClip with the step's params and labels). In the cloud these presets ran on the Kling 2.5 Turbo partner route before; the move was made before any eval, against this section's own rule that a preset keeps its partner route until the harness promotes Fuobe DoP. The owner kept it on 2026-10-30: the first evaluation run with paid keys compares it blind with Kling 2.5 Turbo, and the default goes back if Fuobe DoP clearly loses (queued).
  • Fuobe DoP: the composer. Picking a motion or effect, or arriving from /motions or /effects (?preset=), moves the studio to the preset's Original on that engine (presetOriginal, never a partner route) with its settings (presetParams). An engine switch takes a move to its model there (engineSwitchModel) and moves settings left at their default (followEngineParams). These helpers are pure, in src/lib/composer.ts, with followEngineDefault, which fixed a ?model= link on the open engine landing on the studio's default model in every studio.
  • Fuobe Cinema: the model (round 4 part 4, O6). fuobe-cinema in models.ts. On the GPU: Wan 2.2 14B Lightning (wan22-t2v-14b-lightx2v, wan22-i2v-14b-lightx2v) and wan22-flf2v-14b, graphs the library already had, no custom nodes; 3 or 5 s at 480p or 720p, no sound, several shots made one clip each and joined (engineOptions.open). In the cloud: LTX-2.3 22B on fal, fal-ai/ltx-2.3-22b/text-to-video, image-to-video (start and end frame through end_image_url), extend-video and video-to-video, each switching to its /lora endpoint only when a LoRA rides along; prompt expansion off, sound follows the toggle, 24 fps, num_frames 9–481 in steps of 8 (up to 20 s a call, CINEMA_MAX_SECONDS), video_size from a table per tier and shape, camera_lora and extend_direction from params.extra. It is priced per megapixel of video (Pricing.videoMegapixel: $0.001605, $0.001805 on /lora; about $0.18 for 5 s at 720p 16:9).
  • Fuobe Cinema: the Director compiler (cinema.ts). The Director's Panel now always compiles into words (compileDirector with target: "prompt"; the Cinema Studio 4.0 native target stays in the file, unused; since round 4 part 5 directorFieldWords turns a stored Cinema Studio 4.0 request's Director fields into the same words when migrateRequest moves it to Fuobe Cinema). planVideo turns the first camera move into a route with cinemaMoveRoute(slug, engine, hasStartFrame, {civitai}). In the cloud: LTX-2.3's built-in camera_lora where one of its seven fits (CINEMA_CAMERA_LORA: 14 of the 33 moves, a zoom taken as a dolly; no start frame needed); else, with a start frame, the move's Wan 2.2 LoRA moves the take to Fuobe DoP (16 fps, no sound, with a note), or Rack Focus runs on ltx-2-5-fast's focus_shift; else the move's words. On the GPU: the move's Wan 2.2 LoRA or a Fun Camera pose (both need a start frame), else words. The move picker shows each route as a badge on both engines. A cloud take over 20 s adds an "Extended to N s" extend step. Reference clips: Fuobe Cinema takes none yet, so a cloud take with clips runs on the first partner model that takes them (Seedance 2.5) with a note (clipModel); picking Fuobe Cinema in the menu leaves them out. Extend and prequel (videoModelFor): on the GPU, extend on Wan 2.2 Fun VACE and the prequel on Fuobe Cinema's start and end frame graph; in the cloud, the picked model when it does that on fal or Replicate, else Fuobe Cinema, whose prequel is one extend-video call with extend_direction: backward. Edit (planEdit): a take made on a partner model in the menu (Seedance 2.5, Kling 3.0, Veo 3.1) goes to Kling O3; any other to LTX-2.3 video-to-video with the take's scene and the change (editPrompt), video_strength 0.5 (CINEMA_EDIT_STRENGTH, a guess until measured) and audio_strength 1, the first 20 s of a longer take. The take's facts (model, prompt, length, size) come from the browser in the generate body's source; the server doesn't re-derive them. stepCost prices each step on the engine it runs on, at the LoRA rate when LoRAs ride along.
  • Fuobe Cinema: stills, Soul Cast, Soul Location. Stills default to Fuobe Soul Cinema on both engines (CINEMA_STILL_MODEL); Cinema's 1K / 2K / 4K tiers map to Soul's 720p / 1080p, and the Cinema feed and its builders run Soul's browser finish (useSoulFinish(items, ["cinema"])), so a 21:9 still is cropped from 16:9 and graded. Soul Cast (CAST_MODELS): in the cloud Fuobe Soul with the Realistic look (v1-realistic) and the 17-field compiler; on the GPU the Soul Cast sheet graph (oss-zimage-soul-cast) with that look's LoRAs and words, Fuobe Soul as the fallback. Soul Location (LOCATION_MODELS): Fuobe Soul with the Movie look (v1-movie) on both engines. Another view of a location (planLocationView) uses the Multiple-Angles LoRA: fal's hosted qwen-multiple-angles with the view's angles as fields in the cloud, Qwen-Image-Edit 2511 with the LoRA's <sks> words on the GPU. The project context (cinemaContext, returned by GET /api/cinema/projects/[id]) is {cloudAllowed, civitai}, and its has also asks isOffered.
  • Fuobe Genjutsu: the models (round 4 part 4, O5, genjutsu.ts). One Original per mode on both engines, Lite being the cheaper tier of the same Original (Maker.pair, picked as Quality: Standard / High): Motion (fuobe-genjutsu-motion[-lite]: Wan Animate 2 on wan-animate2; fal fal-ai/wan/v2.2-14b/animate/move), Object swap (fuobe-genjutsu-swap[-lite]: SAM 3.1 and Wan 2.1 VACE 14B on video-swap-wan-vace; fal fal-ai/wan-vace-14b/inpainting plus a SAM 3.1 mask track), Restyle (fuobe-genjutsu-restyle: video-restyle-wan22-fun-vace; fal fal-ai/wan-22-vace-fun-a14b/depth after a first-frame restyle) and Character swap (fuobe-character-swap, below); Insert has no Original yet. MAKERS lists every model per engine with its source (original, open or partner: SOURCE_LABELS) and licence line (makerLicence), and chooseMaker picks the mode's Original first, then other open weights, then partners, passing over models switched off. No maker is the retired provider's: old setup codes and model ids open the Original that replaced them (LEGACY_MAKERS, since round 4 part 5 built from REPLACED_BY for the retired Genjutsu ids), and Restyle's looks are Fuobe Soul's 139 (look kind soul). Katana's motion step and the Ad Multiplier's open recreation run fuobe-genjutsu-motion (RETIRED_MOTION_MODELS in src/lib/av/katana.ts maps the old open id; since round 4 part 5 currentMotionModel sends any other retired id through currentModelId).
  • Character swap (character-swap.ts, planCharacterSwap in genjutsu.ts; Openjutsu and Akatz Labs' H3 Character Swap, docs/research/openjutsu-6.md). The person in a 5–15 s part of one shot (up to 30 s) becomes the character in one image, keeping the performance and the clip's sound.
    • On the GPU: one video-swap step on video-character-swap-h3 (MiniMax H3 with the FL2V Turbo LoRA and Akatz Labs' swap LoRA, on the h3_character_swap pack). SAM 3.1 finds the person on the part's first frame (Largest, Leftmost, Rightmost, a detection number, words or clicks), and H3 regenerates only them in 124-frame windows with 18 frames of history, continuing window by window past 15 s. oss-h3-character-swap-relay runs the same swap on H3 Relay 2.0's graph (no anchor, no mask switch).
    • In the cloud: fal's minimax/h3/reference-to-video/lora with the swap LoRA loaded from its pinned Hugging Face URL (the route needs one: CLOUD_NO_LORA). It has no mask, so who to swap is said in words. A part over 15 s is cut into pieces (planCloudPieces), each trimmed, swapped on whole seconds and trimmed back, then joined under the clip's sound (joinWithSound); a silent clip gets a last mux to silence, since fal's H3 makes a soundtrack of its own.
    • The anchor step ("Make the first frame first", on by default). The part's first frame is taken (oss-extract-frame on the GPU, extract-frame per piece in the cloud) and an image edit puts the character in it (ANCHOR_MODELS: GPT Image 2.5 Sunburst at low quality or Nano Banana Pro in the cloud, Qwen-Image-Edit 2511 on the GPU), in the part's shape (anchorAspect). It reaches the swap through an optional chain slot (see Pipelines): when the anchor fails, the swap runs without it, with the fallback prompt and the notice "Couldn't make the first frame — swapped without it". Sunburst is billed by tokens, so the estimate leaves it out and says so.
    • Helpers. POST /api/genjutsu/describe writes "What your character looks like" from the image (the owner's cloud engine: describeCharacter, Claude or a local model, answered at once; the open engine and every account: describeRequest, the GPU describer oss-character-describe on the character-describe-qwen3vl graph, Qwen3-VL 8B through core TextGenerate, started as a Genjutsu step whose text the page reads; both tidied by src/lib/character-description.ts). POST /api/genjutsu/transcribe starts one transcription for "Use the clip's words" (TRANSCRIBERS: scribe-v2 or oss-qwen3-asr), with no estimate first. The browser looks for hard cuts by frame difference (components/genjutsu/use-cuts.ts), and the estimate repeats the warning.
    • Weights and licences. The H3 graphs' files (H3 Ref2VA INT8, the Qwen3-VL 32B NVFP4 text encoder, the video and audio VAEs, SAM 3.1, the FL2V Turbo LoRA, the swap LoRA) are pinned to Hugging Face revisions, and the provider downloads the LoRAs before a run (graphLoras). The licences are data (CHARACTER_LICENCES): MiniMax H3's Community License is classed "Restricted regions" and shown on the picker, in the estimate and in Settings → Models & licences, never as a gate.
    • H3 Person Removal (Remove object's open eraser oss-h3-person-remove, planPersonRemoval in remove-object.ts): fit the part (24 fps, H3's canvas) → its first frame → a clean first frame (Qwen-Image-Edit) → H3 Relay's Person Removal with the Person Remover LoRA → the clip's sound put back.
    • Character Swap Studio (round 4 part 5) takes the same recipe to whole clips, shot by shot, with a one-pass segment graph and a mask graph of its own on the GPU (see Studios).
  • Fuobe Mixed Media (round 5 part 1, O9; mixed-media.ts, mixed-media-looks.ts). Every frame is drawn again in the look by Z-Image Turbo under the frame's own outlines (its Fun ControlNet, canny), with the look's LoRA and one seed (FRAME_SEED, 424242). 14 of the 33 looks carry a Z-Image LoRA; three of those LoRAs are on civitai and are left out with a note when they can't be reached (see LoRAs). On the GPU the whole selection is one job on mixed-media-zimage-frames (16 GB; 1K only), and edit on z-image-turbo-i2i draws one frame in the look (the preview, Smooth's first frame, DoP's Mixed Media stills). In the cloud the one route is edit on fal's fal-ai/z-image/turbo/controlnet/lora (canny, prompt expansion off, control_scale 0.85 / 0.75 / 0.6 by intensity, image_size in the clip's shape at about 1 MP for 1K or 4 MP for 2K; $0.01 a megapixel), and planMixedFrames fans it out: cut → extract-frames → one draw per frame, each on its own (no lanes) → images-to-video in clips of up to 200 frames → join-clips → the cut's own sound, up to 240 frames, all submitted together once extraction finishes (fal's rate limits on that burst are untested). MIXED_MODES offers Per frame and the new Smooth on both engines and Fast (one partner video-to-video pass) in the cloud only. Smooth (planMixedSmooth) draws each piece's first frame on the Original, then Fuobe Shorts' Wan 2.2 Fun VACE carries it through by depth (on the GPU 81 frames at 16 fps, 480p; on fal up to 240 frames at the clip's rate, 720p). A single cloud edit is sized at about 1 MP from the local file's header (sizedMixedFrame with SIZED_EDITS in generations.ts, localHead in storage.ts). An API call that names oss-mixed-media on the open engine keeps the old model, with no LoRA and no fixed seed (MIXED_OPEN_LEGACY).
  • Fuobe Shorts (round 5 part 1, O9; shorts.ts, shorts-models.ts). Each segment's first frame is drawn in the look by Qwen-Image-Edit 2511 (up to 2 references), then Wan 2.2 Fun VACE carries it through every frame by depth, and the segments are joined under the clip's sound. On the GPU it is the old open chain pinned to the open engine (video-segment-resample at 81 frames, 16 fps, 480p → qwen-image-edit-2511 → video-restyle-wan22-fun-vace, 24 GB → join → mux); an API call naming oss-wan22-vace-restyle there now gets Fuobe Shorts. In the cloud (planOriginalTake): trim, crop to 9:16 or 16:9 if needed, extract-frame (first), qwen-image-edit-2511-cloud, then fal's fal-ai/wan-22-vace-fun-a14b/depth with preprocess: true, first_frame_url only and the input's frame count and rate; segments of up to 240 frames and 10 s, temporal_downsample_factor above 30 fps (vaceDownsample). fal bills frames ÷ 16 as video seconds ($0.10 a second at 720p, so about $0.19/s for a 30 fps clip; originalBilledSeconds), plus the first-frame edits. 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. preprocess: true is inferred from fal's schema, not a live run; fuobe-genjutsu-restyle now sends it too, and still sends its first frame twice (as first frame and as reference).
  • Engine pins (round 5 part 1, O9 and O10). A dual-engine Original step that names no engine could run on whichever engine connected first. Genjutsu's Original steps (planFuobeRestyle, the Soul-look first frame in lookFrameRequest) and its partner cloud restyle steps now name their engine, and Marketing's plans pin every dual-engine step to the studio's engine (onPlanEngine in src/server/marketing.ts, in the estimate and the launch), so a GPU run can't be billed on fal. appEngine() in generations.ts runs an app request that names no engine on the engine of the only route that names its Original (the AI Influencer app: Fuobe Soul in the cloud, the Soul Cast sheet graph on the GPU).
  • Fuobe Marketing Image (round 5 part 1, O10; MARKETING_IMAGE_MODEL in catalog/marketing.ts). Marketing Studio's every image format and Ads Studio's picture start on it on both engines. On the GPU: qwen-image-edit-2511-multi (up to 3 references: product, person, setting) or qwen-image-2512-t2i without a product photo (24 GB each); a Standalone shot from exactly one product photo runs product-shot-qwen-edit-2509 instead (BiRefNet cut-out, on white, relit by the White_to_Scene LoRA: PRODUCT_SHOT_GRAPH); the graph has no hosted copy (nothing hosted puts the cut-out on white), so the Standalone shot is the GPU's only: in the cloud the Standalone format's model menu lists the Original last and greyed with STANDALONE_CLOUD_NOTE (ModelChoice.unavailable, left out by pickable), starts on Bria's product shot, and planMarketing refuses the Original there in words. In the cloud: fal fal-ai/qwen-image-edit-2511 (/lora with LoRAs) or Replicate qwen/qwen-image-edit-2511 for an edit, fal fal-ai/qwen-image-2512 without a photo; one price, $0.03 a megapixel ($0.035 with LoRAs; a picture without a photo is really $0.02). The headline, CTA and logo are set over the picture in the browser in the brand fonts on both engines (wordsOnTop; before, only on the GPU), so a batch of N is N one-picture runs (runsFor) and the logo is no longer sent as a reference. Partners stay as choices in the cloud (Ads Studio's "Pictures by": AD_VISUAL_MODELS, adVisualModel). On the GPU it is the only Marketing image model, so switching it off leaves no fallback.
  • Fuobe Try-On and the casting look (round 5 part 1, O10; packs.ts, influencer.ts). Fuobe Try-On is FLUX.2 [klein] 4B with the try-on LoRA (xocialize's, Apache-2.0, trigger TRYON, its own instruction as defaultPrompt): tryon-flux2-klein-4b on the GPU (about 10 GB; the old outfit greyed out first by ClothesSegment), fal fal-ai/flux-2/klein/4b/edit/lora in the cloud ($0.03 a picture; the person photo is sent as it is). It is Fashion Factory's outfit default on both engines (FASHION_MODELS, fashionModel: FASHN and Nano Banana Pro stay in the cloud, Qwen edit on the GPU), and the photoset moves to hosted Qwen-Image-Edit 2511 in the cloud (PHOTO_EDIT), which Photodump and Instadump without a Soul ID use too. qwen-image-edit-2511-cloud gains an "auto" aspect that sends no size, so the input's shape is kept. The AI Influencer builder (cloud default), the AI Influencer app and Character Sheet's "From a description" draw on Fuobe Soul in the Realistic look (CAST_LOOK, v1-realistic) at 16:9 and 1080p, and the builder adds a face, reference or clothing with hosted Qwen edit 2511; on the GPU the Soul Cast sheet graph takes the same look's words and LoRAs.
  • Fuobe Angles (round 5 part 1, O11; open-tools.ts). Qwen-Image-Edit 2509 with dx8152's Multiple-angles LoRA, as its own beta app (app-fuobe-angles) next to the Angles app, which keeps its 2511 recipe. The camera is fal's own fields on both engines (rotate_right_left −90…90, vertical_angle −1…1, move_forward 0–10, wide_angle_lens). In the cloud they go to fal-ai/qwen-image-edit-2509-lora-gallery/multiple-angles as they are (LoRA scale 1.25, 6 steps, about 1 MP through SIZED_EDITS, $0.035 a megapixel; the route has no prompt, so a note of the user's is dropped with a plan note). On the GPU anglesWords turns them into the LoRA's own Chinese and English instructions for qwen-image-edit-2509-angles (Lightning 4-step LoRA, the angles LoRA at 1.25, 6 steps, cfg 1; 24 GB). A camera that doesn't move, with no note, is refused.
  • Fuobe Speak and Fuobe Speak · Motion (round 5 part 1, O11). Both join Lipsync on both engines; the defaults stay Kling Avatar 2 in the cloud and InfiniteTalk on the GPU. Fuobe Speak is InfiniteTalk: on the GPU infinitetalk-wanwrapper with the recipe's settings (ModelRoute.extra: SPEAK_GRAPH) and FusioniX in the graph's own LoRA slot (loraSlot), as long as the voice up to 40 s (16 GB); in the cloud fal's fal-ai/infinitalk, 41–721 frames at 25 fps (about 29 s), $0.20 a second, with none of the recipe's settings or LoRA (fal's endpoint takes no LoRA). The owner kept the name on 2026-10-30, with the UI to say that the cloud runs fal's InfiniteTalk without the LoRA (queued). Speak · Motion is Wan 2.2 speech-to-video: wan22-s2v-14b on the GPU (24 GB), fal fal-ai/wan/v2.2-14b/speech-to-video in the cloud (40–120 frames in fours, 2.5–7.5 s a call; $0.10 / $0.15 / $0.20 a video second at 480p / 580p / 720p, a second being 16 frames). A voice longer than a cloud call is cut, with a note. Every talking avatar, partners included, is priced on the voice's length: the Lipsync composer reads the voice (StudioConfig.voiceFacts), estimateCost uses avatarSeconds, and the server re-prices a cloud run once it reads the voice at submit. The existing infinitetalk-cloud now sends frames, not seconds.
  • Fuobe Soul: the face mosaic (round 5 part 1, O11). The PixeletedFace look now pixelates faces in a step after the picture (createMosaicRun, see Pipelines): on the GPU image-face-mosaic-sam3 (SAM 3.1 on "face" at threshold 0.4, mask grown 12 px, 25 px blocks; core nodes, 4 GB); in the cloud fal's SAM 3.1 masks (sam-3-1-face-mask, $0.01 a picture) and the server pixelates under them (mosaicOutput). A picture or mask the server can't decode is stored unpixelated with meta.mosaic, and a studio feed draws the mosaic in the browser (soul-finish.ts); until then the Library, share links and the API show the faces. The "Before the face mosaic" step keeps the unpixelated picture as its own result. The preview and the composer add the step's price (postStepCost).
  • Fuobe Evolution (round 5 part 1, O13; evolution.ts, src/server/evolution.ts). A 4–30 s clip and up to 40 references are taken further in a creative direction, at a Low, Medium or High change (INTENSITIES: denoise 0.45 / 0.65 / 0.85 on the GPU, the composer's Change control there, and on both engines the direction frame's instruction, directionFramePrompt). On the GPU, per segment of up to 81 frames at 16 fps (Shorts' segment, join and mux planners): Qwen-Image 2.1 Turbo turns the segment's first frame toward the direction with up to 3 references, then the new video-evolution-wan22-fun-vace re-renders the segment from the noised clip with depth control and that frame as its reference (24 GB). In the cloud (since the 2026-10-30 update, decided 2026-10-30; LTX-2.3 video-to-video before), the same model hosted on fal the way Fuobe Shorts runs it: per piece of up to 10 s and 241 frames as fal works them (cloudPieces, Shorts' originalSegmentSeconds), fal's trim (unless it is the whole clip) and extract-frame, hosted Qwen-Image-Edit 2511 (EVOLUTION.cloudFrameModel) with the GPU's frame instruction and up to 3 references, then fal-ai/wan-22-vace-fun-a14b/depth with the piece as video_url (preprocess on) and the direction frame as VACE's reference, ref_image_urls, the role it has in the GPU graph (WanVaceToVideo's reference_image; no first_frame_url, which would pin frame 0 where the GPU doesn't; the research records the choice in studios[evolution].original.cloud.frameRole), frames and rate matched (a clip above 30 fps worked at a fraction of its rate, temporal_downsample_factor), priced per video second at frames ÷ 16 ($0.10 at 720p, $0.075 at 580p, $0.05 at 480p). That endpoint has no strength field, so in the cloud the change level shapes only the direction frame; the page says so in one line (EVOLUTION_CLOUD_NOTE), and the composer's cloud half has no Change control. The direction is written by the text LLM from a frame of the clip and the first references, up to 8 pictures in all in the cloud and 4 on the GPU (writeDirection through llmText: Claude, or Ollama with a vision model when Ollama is the text backend, and always on the GPU), else by Fuobe's offline writer (offlineDirection: no key, Ollama not running, demo mode, the text model switched off); only the first 1,500 characters reach the model. Edit video lists fuobe-evolution too, where on the GPU the direction frame must be added by hand (the 3–5 s length is the GPU half's default only); in the cloud a clip sent whole renders its own frames, so it is priced on them (frames ÷ 16, a rate the header doesn't give counted as 30 fps) and held to the 17–241 frames fal's VACE takes (SOURCE_FRAMES in clip-windows.ts, which Fuobe Shorts and Genjutsu Restyle share).
  • Checked. Round 4 part 3: unit tests cover the cloud payloads (Fuobe DoP's through the fal adapter with fetch stubbed, Fuobe Soul's built from their field maps), the ComfyUI graph payloads, prices and routing; the browser checks ran in demo mode; every workflow part 3 added was accepted by a live CPU ComfyUI. Nothing has run on a GPU or with real fal or Replicate keys, so no look's picture or move's clip has been seen, and the evaluation harness hasn't measured any Original. Round 4 part 4: unit tests cover Fuobe Cinema's fal payloads (through the fal adapter with fetch stubbed), its prices, every move on both engines and the 30 s chain, and the Character swap's prompts, canvas, windows, the binding of the real H3 graphs (anchor removal, clicks, LoRA none) and the optional anchor slot on the database runner; browser checks of Cinema and of Genjutsu with Character swap pass in demo mode (the Cinema one failed once at 390 px while the folded Director panel re-rendered mid-click, then passed 3 times out of 3). Unverified: LTX-2.3's camera LoRAs and real bills, whether fal's extend-video returns the whole clip and honours a backward extend (the 30 s chain and the prequel rely on it), the edit strength, and every H3 graph, which no ComfyUI here has loaded (see the workflow library). Round 4 part 5: the Cinema and Genjutsu browser checks (tests/e2e/cinema-original.mjs, genjutsu-original.mjs) wait for closing dialogs, sheets, menus and select lists to finish before the next click, which removes the likely cause of that failure (it was never reproduced); both pass in PR #13's run, in demo mode with ComfyUI unreachable. Round 5 part 1: unit tests cover the eight new Originals' routes on both engines, their fal payloads (through the adapters with fetch stubbed), prices, plans and graph bindings (originals-marketing, mixed-shorts-originals, open-tools, evolution, evolution-api, evolution-comfy, popcorn-looks, effect-chains); the browser checks marketing-originals, mixed-shorts-original, open-tools and popcorn-evolution pass in demo mode with ComfyUI and Ollama unreachable, and open-tools also prices on a server holding a fake fal key (nothing is sent); the four new graphs and the ones the Originals reuse were accepted by a live CPU ComfyUI. No new Original has run on a GPU, with a paid key or, for the direction writer, with a live LLM, and no eval suite has run for real, so no new default is measured: not the image or clip quality, not the real bills, not Mixed Media's flicker or the seams between Smooth pieces and Shorts segments.

Retired models (build plan O7, src/lib/catalog/replaced.ts)

Round 4 part 5 (O7). Fuobe no longer calls the retired cloud provider's API; the parity studio stays only as what Fuobe is measured against (the research and the parity notes). Deleted: the provider's adapter, its generated catalog and that file's generator, its presets file and that file's generator, the live style lists (its presets route, the composer's provider style chip), its key setting and its value of cloudProvider, the provider id (ProviderId, the connection test, PROVIDER_NAME, the model-access providers) and Ads Studio's route that drew whole ads. Twelve models were retired with it, and 24 partner models lost their routes on it and keep their fal or Replicate ones.

  • What replaced what (replaced.ts, pure and browser-safe). REPLACED_BY maps each retired id to the model that does the job now: soul-1 and soul-2 → fuobe-soul, soul-cinema → fuobe-soul-cinema, cinema-studio-4 → fuobe-cinema (a take with references → seedance-2-5: withReferences: "ref2v" and ops), the five Genjutsu and Genjutsu Lite ids → the matching fuobe-genjutsu-* Original, and since round 5 part 1 (O10) marketing-studio-image and ads-studio → fuobe-marketing-image and ai-influencer → fuobe-soul, all three marked original (round 4 part 5 sent them to GPT Image 2.5 and Nano Banana Pro until O10 built their Originals), so a retry or Reuse lands on the Original at its price. Each entry keeps was (the name it ran under, "Soul 2.0 (earlier version)") and a note. A request moved to an Original (original) names no engine: it runs where the install runs Originals. TRAINING_REPLACED_BY points the two old Soul ID targets (soul-id-v2, soul-id-cinema) at fal-z-image, but nothing retrains by itself. OPS_REPLACED_BY covers the operations only the retired provider ran for current partner models: Seedance 2.5's video edit (v2v) → kling-o3, LTX 2.5's start and end frame clip (flf2v) → fuobe-cinema.
  • migrateRequest(req, {directorWords}) moves a stored request to the replacement's model and operation. A Soul style_id becomes the Fuobe look that replaced it (presetId, through lookCard). Cinema Studio 4.0's Director fields (DIRECTOR_FIELDS) become prompt words when directorWords is given: the server passes cinema.ts's directorFieldWords; the browser has none, so there they are dropped and the note says so. The retired API's own settings (style_id, custom_reference_id, preset_id, color_palette, template_id…) are dropped. A current model's request comes back as it is, so moving a request twice changes nothing. note says what changed.
  • Where stored references resolve. On the server through currentRequest() (generations.ts): previewGeneration and createGenerations (so POST /api/generations and its preview, createPipeline, the CLI and MCP calls), advanceDependents (a waiting chain step starts on the replacement, and its row's model_id and engine are updated), Photodump's retryPhoto (its chained step too) and Assist's toRequest (plans and MCP calls; the note isn't shown there). The generations API answers with the replacement's modelId and the note in notes. In the browser: studio Reuse (draftFromGeneration, then a toast), a ?model= link (currentModelId in studio-page.tsx), Canvas boards when read (withCurrentModels), Genjutsu setup codes (LEGACY_MAKERS) and Katana jobs (currentMotionModel). The Library keeps past runs and their files and names them as they ran (toGeneration's modelName falls back to was); its Engine row still shows the raw provider id.
  • In-flight work. A job stored under a provider Fuobe no longer has gets the stand-in adapter (provider() in src/server/providers/index.ts): its next poll fails it with RETIRED_PROVIDER_ERROR, and pollOne gives the same message for a job whose model was retired or whose provider is unknown. A training on a retired target fails by target (see Training).
  • Stored settings and ads. Migration 22 deletes the saved key, turns a Preferred provider Fuobe no longer offers into Automatic and marks the ads that provider drew baked (see Storage). Model-access switches saved for the retired provider or a retired model match nothing any more (see Models & licences).
  • Partner routes added. Happy Horse 1.1 (happy-horse-1-1), which only the retired provider hosted, gets fal's text, image and reference to video routes from the research's partnerEndpoints (fetch-hosted-schemas.py --partner, checked 2026-10-27; $0.14/s at 720p, $0.18/s at 1080p). The Ad Multiplier's cloud edits become Kling O3 (the default), Happy Horse video edit and Gemini Omni Flash (see Studios).
  • The guards. tests/neutral-names.test.ts reads every tracked path and every tracked text file, docs and research included, and fails on any spelling of the parity studio's name: it holds only a SHA-256 hash of the name, so the test never spells it (tests/helpers/retired-name.mjs, shared with the browser checks). CI runs the same check before every build (scripts/check-neutral-names.mjs, the first step of .github/workflows/deploy.yml), with the matcher and the interim list from that module; it prints only path:line. tests/retired-provider.test.ts keeps the O7 checks: no retired model or training id quoted in src or bin outside replaced.ts and db.ts, the catalog's providers, the settings, REPLACED_BY's targets and operations, the Director words, the API notes, retries, waiting steps, the in-flight error and the migration on seeded rows (its fixtures store an unknown provider id, old-provider, as rows from before O7 do).
  • Checked by the guard and the updated unit tests, in demo mode. No fal or Replicate call and no GPU run: Happy Horse 1.1 and the replacements' payloads are checked against the research schemas and planner tests only. Left over: browser Reuse drops Cinema Studio's Director fields (the toast says so), Soul 2.0's color_palette is dropped rather than turned into a palette lock, and Assist and MCP move a retired model without saying why.

Models & licences (src/lib/licences.ts, src/lib/model-access.ts, src/server/model-access.ts)

Round 4 part 4. Licences are information, not gates (decided 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 in round 5 part 2 and 52 since round 5 part 3, with h3_character_swap, h3-relay and, since round 5 part 2, ComfyUI-DBS, MIT). 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. Since round 5 part 2 the generated ModelDef.licence is read for a hosted open model (cloud routes only, open weights recorded): its row names the provider's terms, then a Weights line of its own (weightsLicence and ModelEntry.weights in src/server/model-access.ts; fal's MOSS-Image: Apache-2.0, with the safety checker's black image). ATTRIBUTIONS lists the credits a licence asks for (DBS's training data, DnR v2 under CC BY 4.0, and the MIT notices of the code DBS vendors), which CREDITS.md lists under Attributions (node scripts/credits.mjs writes it), as information.
  • The switches (ModelAccess in src/lib/model-access.ts): the models, licence classes, providers (fal, replicate, comfyui, llm, local; the retired provider's id 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". Since round 5 part 2 a licence note cut at two lines has More / Less, which the keyboard and touch reach (ClampedNote). 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 and ⌘K 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.
  • Round 5 part 3. licenceInfo learns the Corridor Key Licence 2.0 (any project, commercial ones included, but never resold or offered as a paid API), the Hi3D Open License 1.0 (a separate licence above 200,000 monthly users or US$1M monthly revenue, and "Powered by Hi3D 1.0" shown with its results) and NVIDIA's Software License Agreement (RTX Video's runtime), each "Commercial use with conditions"; the Qwen Research License of AuK's encoder as non-commercial; and weights recorded as unknown (FeyNoBg's) as "Not recorded". The eight new packs (ComfyUI-AuK, ComfyUI-Idol, ComfyUI-HyNomas, kandinsky6, kandinsky6-sr, Comfyui-Hi3d-T8, ComfyUI-CorridorKey2, ComfyUI_Nvidia_VFX_Nodes) each say what the weights they load are under (Kandinsky's sound decoder file CC BY-NC 4.0, the Hy-Nomas decoder NVIDIA non-commercial). A route on the WorldCast worker takes its model's ModelDef.licence (WorldCast Apache-2.0 with its SpatialVID note; Depth Pro and VGGT-Omega non-commercial). ATTRIBUTIONS adds Pika's notice for its adapters. Everything new is on by default: 16 open models, 4 cloud models, 8 packs and 3 LoRAs.
  • Not covered. Trainings (fal trainers and AI-Toolkit) and the Assist agent's and the AI helper's own Claude or local-model calls aren't under the switches, and the user's own LoRAs aren't listed. Since every hosted route is "Proprietary paid API", switching off Non-commercial doesn't reach the hosted FLUX [dev] models.

LLM provider (src/server/providers/llm.ts)

Text steps (translate, write) run inside the server and are polled like any job; cancel aborts the call and a restart fails the job as "Interrupted" (retryable). llmBackends(route) lists the backends in order: Claude (claude-opus-5-5, low effort, server-side fallback) when an Anthropic key is set and 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/statusname the server in use;llmMissing() adds the server's Since round 5 part 1 (fixes-5) every local server's check (refreshinsrc/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). probeOllamais kept as an alias ofprobeLocal. 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). 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 → LocalServers: 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)

Server: watchGenerations(db) installs TEMP SQLite triggers on generations that call a JS function (fuobe_generation_changed); changed ids are batched per event-loop turn (setImmediate) on an HMR-safe emitter (globalThis.__fuobeLive). The resolver in generations.ts turns each id into a generation event (the row through toGeneration(), the same JSON the list returns) or deleted (gone or trashed; trash and restore touch updated_at, so they fire too). GET /api/generations/stream (generationEventStream) sends retry: 2000, the events and : ping every 15 s, with no-cache, no-transform and X-Accel-Buffering: no; the listener is removed on abort.

Client: one stream per browser. Tabs elect a leader with navigator.locks (fuobe-generation-stream); only the leader reads the stream and re-broadcasts events and its connected state on a BroadcastChannel (fuobe-generations, messages event | state | hello). The next tab takes over when the leader closes; a tab hidden for 30 s lets go, and every reconnect after the first invalidates the caches. Without Web Locks each tab reads its own stream. State lives on globalThis.__fuobeClientStream; the decision logic (streamResponse, needsCatchUp, toChannelMessage) and the cache reducers are pure, in src/lib/generation-stream.ts. applyEvent() patches ["generations", filter], ["library", filter], ["assist", id] and ["canvases", id] (applyToCanvasView) by id, with id-based structural sharing (shareById). Other views subscribe with useGenerationEvents(cb) (Cinema, Layers, Shorts, Mixed Media, Marketing, Faceless, dub, Katana) instead of opening an EventSource. Polling slows to 10 s while connected (1.5 s otherwise); a 404 means no stream, retried every 5 minutes.

Notifications (round 4): src/components/job-notifications.tsx, with the decisions pure in src/lib/job-watch.ts and the per-browser opt-in in src/lib/notification-prefs.ts (Settings → Notifications). A job is a batch (a pipeline's steps count as one), and it counts as done only after it has stayed finished for 6 s, so steps a studio adds meanwhile belong to it. Only the stream's leader tab notifies, after asking the other tabs on the channel whether one is on screen. While notifications are on and a job hasn't had its notification yet, a hidden leader keeps its stream past the 30 s grace (keepStreamWhileHidden). The tab title counts running jobs ("(2) Library · Fuobe").

Library: Trash, folders, pins, review, bulk, zip (src/server/library.ts)

  • Trash is the generation_trash table (soft delete). Every reader (listGenerations, getGeneration(id, {includeDeleted}), and through them Assist, MCP, storyboards, studios) leaves trashed rows out; toGeneration fills deletedAt / folderId even for rows read without the join. trashGenerations cancels queued and running jobs; restoreGenerations brings rows back (to the root when their folder is gone). deleteForever / emptyTrash call deleteGeneration, which removes the row, its trash and folder entries and every output file that assetInUse() doesn't find in a table listed in ASSET_REFS (in generations.ts: generations, elements, trainings, Assist chats with their frozen context and project sources, Cinema, Canvas, Layers with its tools' inputs, Shorts, marketing, image studios, Faceless channels and episodes with their scripts and plans, dub sessions, Katana jobs, since round 4 part 2 Content Factory series with their reference clip, since round 4 part 4 Assist's scheduled tasks with their files, and since round 5 part 1 skills' files, skills.files_json, moved from ASSET_FREE, so a file a skill's recipe names survives Empty trash; the match is by asset id anywhere in a skill's text files). Each entry also says what a row is and how to name it, so assetUses() can say where a file is used ("2 results and the element “Maya”"). ASSET_FREE lists columns that look like file columns but never hold one (round 4 part 2 adds lora_mirrors' source URL, hosted URL and licence: a LoRA's download and the provider's copy, never Fuobe's files; round 4 part 4 adds shares' tags and items, a scheduled task's rule and mode, and a connector's URL and tools); a test checks that every _json, _url, url and _file column is in one list or the other. When a table starts storing file URLs, add it there. ensureTrashPurge() empties what has been in the Trash for 30 days, at startup and then daily.
  • Folders: folders + folder_items, one folder per generation. Since round 4 folders nest (folders.parent_id, up to MAX_FOLDER_DEPTH = 8 levels); names are unique among siblings, and a move into the folder itself or one of its subfolders is refused. Deleting a folder moves its results and subfolders up to its parent (to the root for a top-level folder). A folder's count and cover leave out the Trash and helper steps. GET /api/folders/[id]/zip zips a folder with its subfolders as paths (?check=1 asks first, ?steps=1 adds helper steps).
  • Pins and review: pinned_at on folders (pinned folders list first, in the order they were pinned) and on generations (pinned=1 lists the most recently pinned first, with the cursor on the pin time; the Library shows them in a Pinned section) and generations.review (in-progress, needs-review, approved, rejected, or none), set through PATCH /api/generations/[id] (pinned, review) and the bulk route.
  • Helper steps: a list that names no feature and no batch (the Library, the home feed, Assist's list_recent) leaves out chain steps (features ending in -step) and the helper features in HELPER_FEATURES (src/lib/library.ts; since round 4 part 2 also eval, the evaluation harness's jobs, and since round 5 part 1 skill-check, a skill check's dry run, whose rows also go to the Trash) unless steps=1; studio feeds that name their features still get them, and the facets count them apart.
  • Lists take kinds, models, statuses, since / until, folder (or folders, a subtree), trash, pinned, reviews, steps, q (also the request prompt) and a compound cursor before=<ts>:<id> (ordered by ts DESC, id DESC; deletedAt in the Trash), so rows sharing a timestamp are never skipped. libraryFacets() gives the tab counts.
  • Bulk: POST /api/generations/bulk (trash | restore | delete | favorite | unfavorite | move | pin | unpin | review), sent in batches of 500.
  • Zip: GET /api/generations/zip?ids= streams a stored zip (zipStream / zipSize in src/server/zip.ts: a CRC pass first, flat memory, refused over 4 GB). zipToFile writes one to disk from files that arrive one at a time (EXR frames).
  • Uploads: DELETE /api/assets/[id] deletes a stored file for good, its file on disk included, only when nothing uses it (deleteUnusedAsset); otherwise it answers 409 with where it is used. GET returns the uses.
  • Sharing (round 4 part 4): a folder's menu and a finished result's menu share them by link, the selection bar publishes a selection, and the Shared tab lists the links (see Share links and Publish). A share names generations, folders or projects, never files, so it keeps no file alive, and a result moved to the Trash drops off its page (a shared result's link answers 404).
  • Client: pure helpers in src/lib/library.ts (filters, date sections, batch stacks, cursorAfter, toggleAll for Select all and per-day select, describeUses), outputActions() in src/lib/output-actions.ts (one action list for tiles, viewer and Library; since round 5 part 1 every succeeded result that isn't an upload has "Make a skill from this…", and the Library's selection bar has "Make a skill": see Skills that run by themselves), ForeverConfirmProvider in src/components/studio/result-actions.tsx, and components/library/{folders,review,upload-delete}.tsx (folder tree with breadcrumbs and drag-and-drop, the review picker, the checked upload delete). GenerationRequest.title / .batchTitle (server-set) name results and Library stacks.

Share links and Publish (src/lib/share.ts, src/server/share-access.ts, src/server/shares.ts)

Round 4 part 4. A share link is an unguessable token that opens one public, read-only page and the files that page shows, nothing else. It names a result, a Library folder (with its subfolders), a Cinema project or a published selection (ShareKind), never files, so the page shows what still exists. It only ever shows the owner's own results: an account's run is never on a link, as a result, in a selection or in a folder (SHOWN and the result TARGET check that the run has no account).

  • Tokens (src/server/share-access.ts). newToken() makes a 12-character id (the row's key, for the lookup) and a 32-character secret, base64url, 44 characters in all. Only the SHA-256 of the whole token is stored (shares.token_hash); findShare compares in constant time (against a dummy hash when the id is unknown) and refuses an expired link, and revoking deletes the row. The owner gets the token once, in the answer to POST /api/shares; the browser that made it keeps the URL in localStorage (fuobe.shareLinks), so only that browser can copy it again. shareTargetExists checks with one lookup that the result (succeeded, not in the Trash), folder or project is still there.
  • The proxy's share routes (openShare in src/proxy.ts). After the host allowlist and the cross-site check, and before sign-in, a GET or HEAD on exactly /s/<token> or /s/<token>/f/<path> (shareRoute: a 44-character token, a stored path with no dot segments, at most 300 characters) passes without a session, password or not. An unknown, expired or revoked token, or a target that is gone, is rewritten to /s/gone with a 404. Wrong tokens count against ShareGuard: once per token per window; past a global budget of 100 a minute they get 429; only a client the server can tell apart (the last X-Forwarded-For hop with FUOBE_TRUST_PROXY=1) is locked out, for 60 s after 20 wrong tokens in a minute, its own working links included. Everyone else's live links keep opening, and the signed-in owner is never limited. Only the proxy decides what counts as a view (countsAsView: a browser's GET of the page, not a HEAD, a prefetch, an RSC request or a link-preview bot); it passes that on in the x-fuobe-share-view header, after deleting any copy the client sent, and the page records it (recordView). Share responses carry X-Robots-Tag: noindex, nofollow, noarchive and Referrer-Policy: no-referrer.
  • The share-scoped files route (src/app/s/[token]/f/[...path]/route.ts) checks the token again and serves a stored file only while that share's page shows it (shareServesFile: the page's file set, cached until the next database write), with Cache-Control: private, max-age=300. It goes through fileResponse (src/server/file-response.ts, which /api/files now uses too) with clean: src/server/media-clean.ts blanks the generation data embedded in the file as it streams, without changing its size or any offset (PNG text chunks with ComfyUI's prompt and workflow, JPEG and WebP EXIF and XMP, MP4 / MOV and WebM / MKV tags, FLAC, MP3 and Ogg comments, GLB extras, SVG metadata), so byte ranges work as on the stored file. A file whose metadata area can't be read gets a 404 (it fails closed). Patches are cached per path, size and modified time (500 entries). The owner's own /api/files copy is untouched.
  • The public page (src/app/s/[token]/page.tsx with src/app/s/share-page.tsx, outside the (studio) group so the page has one <main>; src/app/s/gone/page.tsx says "Link unavailable"). buildPublicShare builds what visitors see: the title, description and tags, the media at share-scoped URLs with each piece's model name, Download, and, with prompts shown, each prompt with "Recreate in your Fuobe" (which copies it). With prompts hidden, titles made from a prompt are replaced too. A result, folder or project shows as a grid (a folder or project its newest 200, SCOPE_LIMIT); a published page as Feature, Series or Carousel (up to 100 pieces, MAX_PUBLISH_ITEMS), with the cover placed by orderForLayout / coverSlide and used as the link preview's og:image. The page renders per request (connection()) and is never indexed.
  • Owner API and UI. GET / POST /api/shares list the links (with a signIn flag) and make one; GET / PATCH / DELETE /api/shares/[id] read, change (title, description, tags, layout, showPrompts, expiresInDays, or newLink: true for a new token) and revoke. The API takes 1–365 days or no expiry; the dialog offers Always, 1, 7 or 30 days. ShareProvider (src/components/share/share-provider.tsx) wraps every studio page and loads the dialogs on first open: "Share link…" in a finished result's menu (outputActions' share item, only for files Fuobe stores), in a Library folder's menu and in a Cinema project's header and menu (share-dialog.tsx, which warns on localhost and when no password is set); Publish from the Library's selection bar (publish-wizard.tsx: Details, Assets, Cover, Access); and Library → Shared (/library?tab=shared, shared-links.tsx).
  • Storage. Migration 19 adds shares (see Storage); shares.tags_json and items_json are in ASSET_FREE, so a share keeps no file alive.

Checked: unit tests (token storage and lookup, scopes, share-scoped files, the proxy's paths, ShareGuard, views, the cleaner over synthetic media) and a scripted live check against a dev server in demo mode with a password set and the visitor signed out, with real ComfyUI PNG and MP4 outputs in the data folder. Not checked: real fal or Replicate files through the cleaner. An MP4 track's handler name isn't blanked, and Canvas boards can't be shared.

Workers and Fuobe Connect (src/server/computer/, bin/lib/worker/, integrations/fuobe-connect/)

The "computer" routes (/api/gpu/computer/*) take a person's browser tab or a worker token (fuobe_wkr_…, relay_workers, only its SHA-256 kept). A personal worker (paired with Fuobe Connect, relay_pairings) acts as its person's own computer and gets only that person's tasks. A pool worker takes the owner's tasks for its pool: a task for workers keeps its principal and names pools, lane, needs_json, rank_at and not_after, and pool.ts claims in one transaction (pause, hours, lanes and delays, files and VRAM, the retry rule, sticky lanes), puts a silent worker's task back in line after 2 minutes, and fails it after 3 lost attempts. The proxy lets a worker token through only on those routes; validToken() never takes one. See gpu-workers.md. Since round 5 part 3 a MiniMax H3 2K draft keeps no latent on the owner's workers, which empty their output folder after each job (comfyPlace), so its finish redraws the clip there. The WorldCast worker is another thing: an HTTP service the owner runs beside ComfyUI, reached as a provider (see Providers).

Security (src/proxy.ts, src/server/auth.ts, src/server/remote-fetch.ts)

  • Sign-in is off until a password is set in Settings → Security or FUOBE_PASSWORD. State lives in SQLite, in fuobe.db's auth_* tables (AUTH_TABLES in src/server/db.ts, read and written through src/server/auth-store.ts): a scrypt password hash, an HMAC secret for 30-day session cookies (replaced when the password changes), API tokens stored as SHA-256 hashes, signed-out cookies by their SHA-256, and with public sign-up (below) the accounts: one row each with a unique lower-case email and a scrypt hash, and their GPU links and sealed keys in rows of their own. Every check is a lookup by primary key or by the unique email. An older install's data/auth.json moves in on the first start, in one transaction that is checked row by row before it commits; for 10 minutes the file is then kept in step for a server of the older build that may still be running on the same folder, then kept as auth.json.migrated-<time>, with a note in its place that every older build reads as "sign-in on, nobody can sign in" (JSON with unreadable: true and a password hash no scrypt result matches). Going back to an older build goes through scripts/auth-export.mjs, which writes auth.json from the tables and marks the store exported; the next start moves that file back in, with the older build's changes, and bridges again. Any other auth.json found after the move (a backup copied back, a file from elsewhere) is never read as sign-in data and the site keeps serving from the tables: under the database's write lock it is linked to auth.json.stray-<time> (0600, through the file itself, never a symlink's target; a symlink is kept as a symlink), the note replaces auth.json by a rename only while auth.json is still that file (so it is never missing for an older build), and a row in auth_stray_files holds its counts and the ids of accounts only it lists. The owner sees the name and counts in Settings → Accounts and signInNotices of GET /api/admin/accounts while the file is there; the account sweep keeps the files of those accounts meanwhile. FUOBE_AUTH_REIMPORT=1 moves such a file in instead (one whose data can't go in is set aside too). An auth.json that can't be read before the move keeps sign-in on with nobody signed in; one whose data can't go in, a database whose sign-in tables can't be used, or an export that comes back after the database changed make the proxy answer every request, /login too, with a calm "Back in a moment" page (503 with Retry-After, JSON for /api/), never the reason: the log has it. The proxy lets /login and /api/auth/login through (and, since round 4 part 4, GET and HEAD on a share link's page and files, checked by openShare: see Share links), answers other API calls with 401 and redirects pages to /login?next=… (safeNext() in src/lib/safe-redirect.ts keeps it on the same origin). Its matcher leaves out only build assets, samples/, previews/, vendor/, root SVGs and /api/uploads (which makes the proxy's checks itself: src/server/direct-gate.ts).
  • Public sign-up (the owner's, on main; docs/public-signup.md is the whole design). It is off by default and needs a password; FUOBE_PUBLIC_SIGNUP or Settings → Security turns it on. src/lib/guest-access.ts holds the path rules and src/proxy.ts applies them. Guests (signed out) read the pages and catalogs, and every change answers 401. Accounts see a guest view of the owner's library: a change to it or to a project answers 403 library (LIBRARY_CHANGES), and settings, keys and tokens are the owner's. Price checks stay open to both (isPriceCheck: the estimate routes in ESTIMATES, ?preview=1 on the run routes in PREVIEWS), and priceAs (src/server/visitor.ts) prices a visitor's run as it would go on its own GPU. The one run an account may start is POST /api/generations (ownGpuRun), on its own ComfyUI; without one connected, any run answers connect-gpu, and with one, every other tool answers own-gpu-tool. Round 5 part 2's tools follow these rules. /api/turnaround?preview=1 is in PREVIEWS and /api/turnaround/estimate in ESTIMATES. Split soundtrack and its remux (POST /api/audio-tools), the turnaround and Cinema's path and turnaround actions answer a guest 401, an account without a GPU connect-gpu, and an account with one own-gpu-tool. Export mix (POST /api/audio-tools/export) is in LIBRARY_CHANGES, since it saves into the owner's Library. MOSS-Image runs for an account through POST /api/generations on its own ComfyUI, the only new tool an account can run. A turnaround that names a character (elementId) answers any visitor 404 "Character not found", whether or not it exists (requestViewer, recordExists). tests/public-signup-tools.test.ts (12 tests) checks these answers through the API; the browser checks ran with public sign-up off. Round 5 part 3 leaves guest-access.ts as it was, and its routes fall under the rules above. The new run paths (POST /api/cinema/projects/[id]/items/[generationId]/finish, Finish in 2K; POST /api/shorts/sessions/[id]/segments/[index]/enhance; the Faceless episode action regenerate; the tool speech-edit on POST /api/audio-tools) answer a guest 401 and an account own-gpu-tool, and Edit speech's ?preview=1 stays a price check, priced for the account's own GPU on its own file. Cinema (World mode included), Storyboard's one sheet, Layers' re-render, every 3D run (Hi3D, Idol's mesh and views) and the WorldCast worker stay the owner's: worldcastContext is undefined for a visitor, the worldcast provider refuses an account's run, and only the owner's project read carries context.worldcast. Kandinsky 6.0, Kandinsky VSR, Pika H3 Flex (References and Talk from a voice clip included), the keyers and RTX Video run for an account through POST /api/generations as any model does: an open model on its own ComfyUI and its inputs through the run's own file checks (Pika H3 Flex's and RTX Video's refusals to an account name no Setting or script). The four new fal routes aren't on HOSTED_UNTESTED_ENDPOINTS (src/lib/catalog/hosted-untested.ts) yet, so an account with its own fal key can run them before a live call has passed. With hosted runs on (FUOBE_HOSTED_RUNS=1), an RTX run on the install's GPUs is refused before any quote when the install's last GPU check says its card can't run it or its ComfyUI lacks the nodes (poolCardRefuses in src/server/hosted-run.ts), and a 2K take's finishes are checked against the pool's policy with its main step (poolAllowsRun).
  • Admin tokens (src/server/admin-tokens.ts, docs/admin-api.md): fuobe_adm_… tokens with scopes, stored in SQLite (admin_tokens, SHA-256 only) and made in Settings → Security from the owner's signed-in browser. The proxy lets one through only on /api/admin/* (not /api/admin/tokens, except /self); every admin route checks it with adminAccess(request, scope), which checks a request by its admin token alone, and otherwise asks for the owner as before. validToken() never takes one. Per-token limits a minute (120 reads, 30 changes, 600 file views, each counted on its own) and a separate budget for wrong tokens. Changes, a token's reads and file views, and refusals go to admin_audit (kept a year). A worker token is made only with workers:tokens.
  • Host allowlist (hostAllowed), for every method when no password is set, before anything else: IP literals, localhost and *.localhost, single-label names, .local / .lan / .home.arpa / .internal / .localdomain, this machine's hostname, and FUOBE_ALLOWED_ORIGINS (* allows any). X-Forwarded-Host isn't read here.
  • Cross-site writes (crossSite): non-GET/HEAD/OPTIONS requests get 403 when Origin matches neither Host, X-Forwarded-Host nor FUOBE_ALLOWED_ORIGINS, when it is null, or when Sec-Fetch-Site is cross-site — with or without a password.
  • Login throttle (LoginGuard): 5 misses per client and 20 a minute overall, bounded map, Retry-After. Route handlers can't see the socket address, so the client key is the last X-Forwarded-For hop only with FUOBE_TRUST_PROXY=1 (then a 60 s lock per client); otherwise everyone shares a key that is slowed to one attempt every 4 s and never locked. 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, 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), 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 the retired provider 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

Each studio keeps its data and pure planner in src/lib/, its server module in src/server/, routes under src/app/api/, the page under src/app/(studio)/ and the UI in src/components/<studio>/. Every job is ordinary generations (so results survive restarts, show in the Library and run on either engine); the studio tables only remember what made them.

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 retired provider's model or key check (its list of provider-only moves 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). Round 5 part 2: the path action (N7-5, Fly path: planPath films the scene's still along the path on PATH_MODELS, cloud minimax-h3-max-camera for 3–15 s, open oss-uni3c-path for 81 frames at 16 fps from the browser's render; priced with stand-ins while the path isn't ready, then blocked; pathTake) on src/lib/camera-path.ts, the turnaround action (N7-6: planTurnaroundTake runs planTurnaround as a take), and withPlaceholders puts a slot with at in its place. Round 5 part 3: the world action (World mode: planWorld runs one turn of a WorldRun script on oss-hy-nomas-world, or joins the finished turns with oss-join-encoded, feature cinema-world); the Fly path on WorldCast while the owner's worker answers (planPathWorldcast, see Catalog's worldcast-plan.ts); MiniMax H3's 2K tier (videoResolutionsFor, held with Regenerate on the GPU); MiniMax H3's references on your GPU (a still is a reference, not the start frame, with Pika's limits) 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; since round 5 part 2 a path's keys, length, render and move, and a turnaround, TurnaroundSchema without the engine and consent); since round 5 part 2 generateInProject keeps a filmed path on its take (CinemaTakeInfo.path: the keys, the clip's real length and the move); cinemaContext() is {cloudAllowed, civitai, has}; since round 5 part 3 finishTake (Finish in 2K on a MiniMax H3 take, in the same folder, once per take: a fal take rendered again at 2K within the project's cost cap, a GPU take redrawn by Regenerate only while it is offered; finishedIn2k finds a finish under way or made by request_json's finishOf) /api/cinema/projects[/id[/folders[/folderId] | /items[/genId/retry | /tiles] | /generate | /director]] (generate takes action scene and recompose, and since round 5 part 2 path and turnaround; the project's context is {cloudAllowed, civitai}; since round 5 part 3 generate takes world, the owner's project read adds worldcast, and POST …/items/[generationId]/finish is Finish in 2K, with a requestId so a repeat gets the first answer) 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); since round 5 part 2 Fly path: scene-path.tsx (the keyframe chips with + Keyframe and Preview, the moves, length, quality, motion words and Film this path), scene-engine.ts's recordPath (the scene rendered along the path, 81 frames at 16 fps, as VP8 WebM with exact frame times through WebCodecs and muxWebM in src/lib/webm.ts, else MediaRecorder; the open engine's guide) and playPath (Preview), and Turnaround video on Soul Cast results (CastTurnaround in soul-builders.tsx); since round 5 part 3 world-panel.tsx (the World chip or /cinema?world=1: the opening, the turns with their moves, the path preview, Run turn, Redo from here and Export; src/lib/world-path.ts turns a move into Hy-Nomas's camera keys) and props in the 3D scene (scene-props.tsx: a Library splat, or one made from a picture with Idol 3D on your GPU, moved, turned and sized; scene-engine.ts draws them with the splat viewer's renderer in the scene's own graph, so captures, blockouts and the open Fly path render show them, each path frame sorted for its own camera; they are kept per scene in that browser's localStorage, sceneStateKey)
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). Round 5 part 3: an Upscale node entry "Quick upscale (RTX)" fixed to RTX Video Super Resolution, which like Open-H3 Regenerate has no cloud stand-in (GPU_ONLY_FIXED), a prompt port on a cut-out model that takes words (Bria's guided cut-out), and the Hi3D refine control on the open 3D models (see Pipelines) 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). Since round 5 part 3 the graph schema knows the Restore & colourise node, so a board with one saves again (it was refused on main) /api/canvases[/id[/duplicate | /run | /runs/[node]]] (PUT …/runs/[node]: a Kinetic node's run, rendered in the owner's browser, kept on the board; owner only, ids the owner's finished local-motion results). 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. Round 5 part 3: Remove background adds FeyNoBg fine hair on the GPU and Bria's guided cut-out in the cloud (its optional words go as the prompt), and Re-render from layers (N7-11, the tool rerender: MOSS-Image on both engines, Ideogram 4.5 and FLUX.3 in the cloud) repaints the document as one new top layer from a layout, layersLayout (each visible layer's box with its name or prompt, each line of text with its exact words, a layer that fills the canvas named as the backdrop in the caption; at most 32 layers and 16 lines) 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; since round 5 part 3 rerender with settings.layout), /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; 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); since round 5 part 3 (N7-10, held with Regenerate in the page only) enhanceSegment: a segment's chosen take brought to 24 fps by RIFE, then redrawn at 1080p by Open-H3 Regenerate from the segment's words, as a new take beside the others (POST /api/shorts/sessions/[id]/segments/[index]/enhance; Edit video results get the same Enhance, canEnhance in catalog/regenerate.ts) /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 the retired provider) 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 retired provider's 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: 88 templates (10 drawn by Kinetic Motion), 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 the retired provider 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; the animated end card (Kinetic Motion: five styles in src/lib/motion/scenes/end-card/, drawn and encoded in the browser by src/components/motion/, marketing/end-card-motion.tsx) sent as endCard.clip, which replaces the still and its push-in (cloud: its silent track, then join-clips; open: one oss-join-sound1 with the ad first)
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; since round 5 part 3 (N7-10, held with Regenerate in the page only) regenerateEpisode, the episode action regenerate: an open episode's scenes redrawn at 1080p by Open-H3 Regenerate (regeneratePlan in catalog/faceless.ts), then joined and mixed again in the episode's batch, reusing the steps it can (createPipeline's existing) /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; 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. Round 5 part 3: Idol 3D's two open graphs (IDOL_WORKFLOWS: the core one, and the clean one where ComfyUI has IDOL_PACK; idolExtra, idolGraphValues: "It's a photo" is the clean graph's real crop, Trim spikes its max_scale 0.05, IDOL_TRIM_SPIKES; idolCleanLine, the card's line), Idol 3D quick mesh last in From an image's open list (IDOL_MESH_MODEL), "Build the final with TRELLIS.2" on an Idol 3D draft from your GPU (FINAL_3D, finalBuildHref); lib/av/idol-views.ts (the four views and the sides they fill), lib/av/hi3d.ts, lib/av/splat-view.ts and lib/print3d.ts (see Catalog) 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. Since round 5 part 3 an open model with Refine detail runs as createRefinedModel (see Pipelines), and Idol 3D's views are a helper job (feature image-to-3d-views-step); the tab keeps the run for its picture (viewRunFor), so coming back to the same picture mid-run picks it up instead of paying twice 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 (passes the 3D models' names, Hi3D's included, so the client doesn't load the catalog), 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, and since round 5 part 3 "View in 3D" opens the splat viewer in its place; 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. Round 5 part 3: splat-viewer.tsx with splat-engine.ts draws a splat (.spz, .ply, .ksplat) with Spark (@sparkjsdev/spark 2.3.1, MIT, loaded only by a dynamic import when a splat opens) on cards, in the full-screen viewer and in the Library's 3D tab, with a haze slider; the orbit video stays where there's no WebGL2, the file is too big for the device, or the user prefers reduced motion until they ask. print-dialog.tsx (with glb-triangles.ts) exports any mesh as STL or 3MF in the browser, refine-option.tsx is Refine detail and "Refine this mesh", and other-sides.tsx is "Make the other sides from the front" in From several images on your GPU (Elements has "Add side and back views" too)
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 the retired provider'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, since round 5 part 2 audio/split, 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)
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, cloud pieces of up to 10 s, each with its own direction frame), cloudPieces, EVOLUTION_CLOUD_NOTE, 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 retired provider's 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 the retired provider's), 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 PlanSteps 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); 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). Round 5 part 3: Kandinsky VSR in Upscale → Video on both engines (factor tiers, factorTier, factorTierProblem, and sideMultipleProblem for fal's multiples of 16), and the three RTX Video models listed after each tool's own default (SeedVR2 stays Upscale → Video's; the "Quick · RTX" card beside Restore and Regenerate is hidden with Regenerate for now), never picked automatically on a card that isn't known to fit (offerOn) 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); since round 5 part 3 an upscaler's factor is made only from the clip's own header (a params.sourceSize the request states prices the run, nothing more), a clip longer than maxSourceSeconds is refused, never cut, and a cloud upscale billed per output frame is priced again on the clip's real size and length 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, Split soundtrack (/audio/loop, /audio/join, since round 5 part 2 /audio/split) 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); since round 5 part 2 (DBS D1) lib/av/split.ts: planSplit (one job on oss-dbs-separate, open engine only: DBS is hosted nowhere and no stand-in model was chosen, so the cloud engine says so, CLOUD_SPLIT_PROBLEM), planRemux (a mix put back on its video: oss-mux, or fal's merge-audio-video in the cloud), the host's pick and time (hostPick, splitTime from measured CPU speeds, since round 5 part 3 the separation suite's: DBS_SPEED 0.25x real time for Fast and 0.10x for Best), the mixer's maths (Dialogue, Music, Effects and Music & effects; levels −24 to +6 dB, solo, mute, five PRESETS) and Export mix's 16-bit WAV in 16 MB parts up to 2 GiB (mixPlan, mixPart) audio-tools.ts: each clip's length read from its own header, the plan priced step by step, one createPipeline run; since round 5 part 2 the tools split (refused on an install set to paid APIs only, and for a file whose header says it has no sound; its preview adds the host's device, the DBS models on its disk, its pick and the time, and refuses a model the host doesn't have; a visitor's preview calls no GPU: an account's device is what its last status check read, lastGpuDevice in account-gpu.ts, and its run checks the models) and remux, with headers read through main's storedMedia (storage.ts: only the header, cached by the file, and in a visitor's price check only the visitor's own files; Split soundtrack also asks it for WebM and AVI headers, otherHeaderInfo in media-facts.ts), never whole, so files over 2 GiB work; mix-export.ts (receiveMixPart) appends Export mix's parts to a scratch file without holding the mix in memory and turns the last part into an upload in the Library. The export route skips the sign-in proxy, which holds 4 MB of a body at most: like main's routes that take a file, it runs the proxy's checks itself (gateAsProxy) and reads no more than a part (readBodyWithin) POST /api/audio-tools (?preview=1 plans and prices; tools split and remux since round 5 part 2), POST /api/audio-tools/export (round 5 part 2: a part as the body, ?offset=, &id= from the first part's answer, &last=1&name= on the last, which answers 201 with the asset) components/audio-tools/* (since round 5 part 2 split-tool.tsx: the split, the mixer, Your splits, Export mix, Put back on the video); any audio result gets "Loop / extend" and, since round 5 part 2, "Split soundtrack", as does a clip, and a clip made with its sound (v2a, mux, lipsync, trim, captions) offers Split soundtrack instead of Add sound as a next step (SOUNDED_VIDEO_OPS in output-actions.ts)
Edit speech (/audio/edit-speech; round 5 part 3, nm10-speech-edit; your GPU only) lib/speech-edit.ts (see Catalog: planSpeechEdit turns an edited transcript, or an effect on a picked range, into one AuK speech-edit step on oss-auk with its windows in params.extra.speechWindows; for a video, the edited sound then goes back on the copied picture with oss-mux at the clip's own length; effects pitch, pace (audio only), volume, emotion, whisper, Clean up and Keep only this speaker; up to 20 minutes, SPEECH_EDIT_MAX_SECONDS), lib/av/speech-edit-graph.ts (the windows in one graph, stitched with core audio nodes at a lower level and brought back up once, so untouched parts come out as they went in), lib/speech-edit-handoff.ts (Captions' line to fix, carried in sessionStorage) audio-tools.ts, the tool speech-edit (refused on an install set to paid APIs only: AuK is hosted on neither fal nor Replicate, CLOUD_ONLY_SPEECH_EDIT_PROBLEM) POST /api/audio-tools with tool: "speech-edit" (?preview=1 plans and prices) components/audio-tools/speech-edit-tool.tsx (transcribe, edit the lines, Run; a video's result offers "Lipsync it"); "Edit speech" in a recording's or a sounded clip's ⋯ menu, "Fix this line" in Captions, Assist and MCP's edit_speech, and AuK's text to speech (oss-auk, tts) in Audio → Speech. The hub mode is selfHostedOnly: a guest or an account is told up front it isn't available here, and their menus and Captions don't offer it
Video tools: Green screen, Remove background (/video-tools/green-screen since round 5 part 3, nm10-keying; /video-tools) VIDEO_KEY_STUDIO (studios.ts: Remove background's studio with greenScreen, so it lists only the keyers, ModelOptions.greenScreen: CorridorKey 2.0 on your GPU, the default, and Bria green screen in the cloud; Remove background lists the others, now with Bria VRMBG 3.0 on your GPU); lib/av/keying.ts (the cut-out's formats, KEY_FORMATS: WebM with alpha, ProRes 4444, EXR; exportsCleanly: the mask and the clean foreground go to Export as they are) ordinary generations; the open key runs in passes (see Providers), an EXR key waits for its last pass and keeps every pass's frames POST /api/generations (matteOutput cutout, matte or foreground; format) the composer's Output and format pickers, and "Export as ProRes or EXR" on a mask or foreground. CorridorKey 2.0 needs an NVIDIA RTX 30-series card or newer and downloads about 5.1 GB the first time it runs
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; since round 5 part 2 its frames can come from earlier steps, as the turnaround's drawn sides do) 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)
Turnaround video (on a Character Sheet result, Cinema's Soul Cast results and a character's page; round 5 part 2, N7-6) catalog/turnaround.ts (see Catalog): planTurnaround draws the sides nobody has a picture of first, from the front, with the Angles app's route (and a front from a sheet that has none), then films: on the GPU Frames mode's Wan 2.2 14B chain with the views at 0, ¼, ½, ¾ and the end of the clip (the drawn sides placed with ChainSlot.at) and joined; in the cloud H3 Max reference to video (the views as Image 1…n, starting and ending on the front; the default with 2 or more views or a sheet), FLUX 3 Max keyframes, or H3 Max camera controls from the front alone (cameraWords) turnaround.ts: TurnaroundSchema and TurnaroundBodySchema, turnaroundRun (a character is a person whatever the client says: its run needs Soul ID's consent line unless its training recorded one, consentOnFile in training.ts), previewTurnaround (each step checked on this install: keys, demo, Settings → Models & licences, the engine mode; the GPU it needs), createTurnaround (a real person's steps all carry GenerationRequest.consentAt; one batch through runTurnaroundSteps; the answer names the film as final). No table: history is the feed POST /api/turnaround (?preview=1 plans and prices; once() on requestId), POST /api/turnaround/estimate (the evaluation harness's path); Cinema's generate with action turnaround components/turnaround/turnaround-dialog.tsx (TurnaroundButton: five picture slots, "Draw the missing sides", route, length, shape, price and consent) on a finished sheet (fashion/character-sheet.tsx), Soul Cast results (cinema/soul-builders.tsx) and as Fly around on a character's page (element-studio.tsx). Since round 5 part 3 (N7-9) the GPU's routes start with worldcast while the owner's WorldCast worker answers (TurnaroundContext.worldcast; the person's views go as its anchors), else Frames says what it films on; /api/turnaround, its estimate and /api/fly-around ask the worker first (worldcastContextNow), and Fly around's planner (catalog/fly-around.ts) does the same with Uni3C as the fallback
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). Since round 5 part 3 (N7-11) the body's sheet asks for One sheet (planOneSheet, see Catalog: no look, references or partner model), and the page cuts each panel out of the sheet in the browser and keeps it as a picture of its own (sheetCrop), each with Animate and Edit; owner only until a GPU render is recorded
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 " 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

Kinetic Motion (src/lib/motion/, src/components/motion/)

Motion graphics drawn by code, in the brand's own fonts and colours, with the words exactly as typed. A scene is a pure function of a recipe (JSON: scene, seed, size, fps, length, the typed fields, the brand, the person's own files, control values, export settings) and an absolute time: scene.plan(input) lays the text out once (layout.ts: balanced lines, never cut, never re-cased, never split mid-word; a field that doesn't fit is reported as overflow and blocks the render) and builds a timeline of cues (tween.ts, on the named curves in ease.ts: Bézier, closed-form springs), and plan.evaluate(t) gives a display list (display.ts: groups with transforms, clips, masks and blends; rects, ellipses, paths with stroke trim, text runs, images) in design units (1080 on the short side, sizes.ts). Randomness is a hash of the seed and a key (random.ts); there is no clock, DOM or Math.random in src/lib/motion, so any frame can be seeked in any order (tests/motion-scenes.test.ts). camera2d.ts is a 2.5D camera with parallax by depth. The browser half: draw.ts (drawDisplayList, the only code that draws a list, and SVG logo outlines read with the browser's SVG engine), fonts.ts (an export waits for the brand font or stops), player.tsx (the live preview: absolute time on animation frames, pauses off screen or in a hidden tab, rest frame for reduced motion, a smaller backing store on slow devices), render.ts (renderClip: frame i at i / fps, motion blur from shutter samples never across a cut, as many per frame as its fastest edge needs (listTravel in display.ts: one for a frame that barely moves, up to 48), WebCodecs H.264 MP4 from the canvas itself, else VP8 WebM, else the recorder) and save.ts (saveMotionResult: POST /api/uploads sent with x-fuobe-kinetic: 1, which any account may send for an MP4 or WebM clip or a PNG poster, within its space and upload limits, since no model makes them; then POST /api/generations/local with model local-motion, op motion and the recipe in params.extra.motion; nothing is downloaded from the page). Phase 1 ships the end card's five styles (scenes/end-card/: Draw-on, Rise, Iris, Split, Glint), whose rest frame is the still card's own layout (planEndCard and renderEndCard use the same endCardRest and drawer). The rest layout sizes type from the frame's short side, keeps a tall card's bottom fifth clear, and sets the words and pill in the kit colour that reads best on the brand colour (cardColours). Each style opens a few frames into its motion (lead), is readable by about 0.9 s of a 2.5 s card (settled), then a slow push-in (CAMERA_FROM, the drift curve) comes home on the last frame (rest, the poster); signature is the frame the style chooser shows. A saved clip carries its poster in output.meta.poster. Click to Ad joins the rendered card after the ad: in the cloud with its silent track and merge-videos, on the open engine with oss-join-sound1, which re-encodes the ad at 25 fps (the still card's oss-append-endcard copies the ad's picture instead); the open path has not yet been run end to end on a GPU.

The Kinetic page (/kinetic, src/app/(studio)/kinetic/page.tsx, src/components/kinetic/*). A static page whose studio runs in the browser (the address names a scene, an end card's style, or from=<result> to remix a saved one). src/lib/motion/kinetic-catalog.ts is the bundled scene list (the eighteen code templates, their slugs, which take a clip, and their motion groups from kinetic-groups.ts: every event of every scene in exactly one named group); edit.ts holds the editor's pure parts (shot windows, motion groups retimed by a monotone warp and a rate held inside their shot, the camera's clock, parameter tracks, the extra camera that always comes home on the last frame, presets worked out from the values, never stored); finish.ts the grade and seeded grain; video-layer.ts the person's own clip under the words (five scenes). The recipe gains optional motion, finish, camera, look, groups, tracks, layers.video, 60 fps and export.quality (v stays 1; a recipe without them draws exactly as before, tests/motion-identity.test.ts). The two scene wrappers (marketingScene, endCardScene) apply them, so no scene file changes. Saves: a clip (kinetic), a frame, a 9-frame contact sheet and versions (kinetic-frame, kinetic-sheet, kinetic-version, PNG pictures) through save.ts; undo and redo last the visit, a draft stays in the browser. /api/generations/local records each Kinetic result with its pixel size (a picture's own header must match its recipe). The Canvas "Kinetic" node (components/canvas/kinetic-node.tsx) renders in the owner's tab once per Table row and feeds Output nodes: it waits for the upstream nodes its run started, renders one node at a time per tab, skips a row that fails, keeps what it made even when stopped, and reuses a row by what it was made from.

Marketing templates drawn by code. Eighteen Marketing Studio templates are Kinetic Motion scenes instead of model prompts (render: "code" in catalog/marketing.ts, with their scene, typed fields and easy choices): Kinetic Headline, Line-Art Reveal, Logo Sting, Feature Cards, Dashboard Zoom, Retro Starburst, Offer Badge, Big Number, Five-Star Quote and Logo End Card (the five end-card styles as its Style choice), and the poster templates Midnight Drop, Nocturne, Season Finale, Prism Stage, Marquee, Runway Titles, Stat Stack and Kind Words. The scenes are in src/lib/motion/scenes/marketing/ (kit.ts: the light, dark and brand-colour looks from the kit with every word at 4.5:1 or more, the safe area, the pace, the tabular rolling counter, *stars* that mark a highlighted word and are never drawn); outline.ts traces a cut-out picture's edge from its transparency (marching squares, then Ramer–Douglas–Peucker) for Line-Art Reveal, and a photo without one gets a traced frame. template.ts turns what the template's panel holds (words, choices, size, length 5–15 s, brand, picture) into the recipe; showcase.ts holds the fictional brands each template opens with. The panel (components/marketing/kinetic-template.tsx with components/motion/{fields,easy-chips,brand-row,made-strip}.tsx) replaces the composer for these templates: anyone can type and play, Save renders in the tab and records the clip as feature: "marketing-kinetic" through save.ts (the same upload rule as any file; a guest gets the sign-up card and an account with neither its own GPU nor a key the Connect card before anything renders), and "Made with this template" lists the saved clips, which open in the result viewer. Their covers are rendered by the engine itself: scripts/kinetic/render-covers.mjs plays each showcase on the development-only page /dev/kinetic-covers and writes cover masters (meta.json rest: "end", or the seconds of the moment the words are all set), then pnpm eval:covers --templates versions them into public/previews/templates/marketing/.

ComfyUI workflow library (workflows/comfyui/, scripts/comfy/)

manifest.json lists 268 workflows, 191 of them validated: true (the others are validated: false, the five H3 graphs of round 4 parts 4 and 5 among them, below, and tests/comfy-library-4.test.ts names each one), each with its bindings (canonical key → node id + input), outputs (with stem and role), defaults, limits, required model files with download URLs and sizes, custom node packs, VRAM, licence, notes, autoDownloads, and since round 3 expand (captions or timeline: the provider rewrites the graph per request) and worker: "isolated". Round 4 adds expand: "videos" / "audios" (joins, one loader per clip), model files marked optional (FILM beside RIFE; the Workflows page leaves them out of the missing count), and output roles scene, depth, mask, cutout, matte, preview, frames, frame, lines, splat and brief (the graphs with frame, lines and brief got their models in round 4 part 2, for Layers' OCR and Content Factory, and the splat graph in round 4 part 3, for Image to 3D; round 4 part 5 adds master, Character Swap Studio's lossless take, and round 5 part 2 report, a node's own account of the run, with the stems music and effects). The pipeline in scripts/comfy/ exports the official templates through the real ComfyUI frontend (app.graphToPrompt()), applies documented transforms (library.spec.mjs, lib/graph.mjs), builds hand-written API graphs from hand-built/*.json, and validates every graph with POST /prompt against a live ComfyUI using zero-byte placeholder models.

Round 3 added 42 workflows (73 → 115), all hand-built: the 29 graphs of comfyui-oss-3 (layers, style references, palette, segments and restyle, Mixed Media, SFX, dub preparation, ASR captions, translation, lip re-sync, 3D, try-on, grids, Soul Cast) plus Fuobe's own video-mux-audio-replace, captions-burnin (chunked, constant memory) and selftest-meta-batch; then frame-extract, v2a-hunyuan-foley, product-shot-qwen-edit-2509, audio-timeline and video-concat-sound{1,2}-{2,3,4}. lipsync-latentsync16 and sfx-thinksound are isolated-worker workflows: their packs change process-wide state or pin old packages, so scripts/comfy/install-isolated-worker.sh sets up a second ComfyUI with its own code copy, base directory, HOME and virtualenv, sharing the main install's models read-only through extra_model_paths.yaml (port 8189). Since round 4 Fuobe routes them there itself (Settings → Isolated worker URL; see Providers). install-comfyui.sh installs 15 packs at pinned commits (round 4 added ComfyUI-ToSVG for VTracer, and round 5 part 2 ComfyUI-DBS; 14 before it). Since round 4 part 4 it also installs the non-commercial ComfyUI-Whisper (and openai-whisper) unless NC_PACKS=0 (before, only with NC_PACKS=1), and Akatz Labs' GPL-3.0 h3_character_swap pack, a sparse checkout of one folder of their H3 Character Swap tool at a pinned commit (H3_PACK=0 skips it; it needs ffmpeg and ffprobe on PATH, and the script warns when they're missing); H3 Relay 2.0 (h3-relay, GPL-3.0) registers its own HTTP routes when it loads, so it is opt-in (H3_RELAY=1). A failed fetch warns instead of stopping the install. The manifest names 19 packs in all (17 before round 4 part 4; 20 since round 5 part 2).

Round 4 added 24 hand-built workflows (115 → 139). Eighteen came first: object removal on Wan 2.1 VACE 14B by name (video-inpaint-wan-vace) or by a painted mask (video-inpaint-wan-vace-painted, which hands its last tracked mask to the next window), VOID on CogVideoX-5B (video-erase-void), VACE swap and insert with a reference image (video-swap-wan-vace, video-insert-wan-vace), a Ken Burns move over a still (kenburns-still), audio loop and join with crossfades (audio-loop-crossfade, audio-join-crossfade), ProRes / H.265 10-bit / FFV1 and EXR export (video-export-pro, video-export-exr), video-sdr-to-hdr, a MoGe 2 whole-scene mesh (scene-mesh-moge), a TripoSplat splat (image-to-splat-triposplat), OCR text lines (ocr-lines-qwen35), a Gemma 4 reference-video brief (reference-brief-gemma4), still-to-clip, a logo end card (video-append-endcard) and VTracer (image-vectorize-vtracer). wan21-vace-14b-ref2v swapped the template's CC-BY-NC CausVid LoRA for the Apache-2.0 lightx2v LoRA. Six more finish video in passes or join without re-encoding: interpolate-rife-fps, upscale-video-esrgan-chunked, upscale-video-seedvr2-chunked, video-export-pro-chunked, video-sdr-to-hdr-exr and video-concat-encoded. The chunked graphs use VideoHelperSuite's batch manager, which the provider tags per job. The models moved off interpolate-rife, upscale-video-seedvr2, upscale-video-esrgan and video-export-pro, which stay in the library unused. Round 4 part 2 adds no workflow (still 139) but gives four of them a catalog model: ocr-lines-qwen35 (Layers), reference-brief-gemma4 (Content Factory), still-to-clip and video-append-endcard (the Click to Ad end card).

Round 4 part 3 adds 6 hand-built workflows (139 → 145), all core nodes except video-fit-clip (VideoHelperSuite, already in the set of packs, so still 17): z-image-turbo-i2i (Fuobe Soul's image to image; the Z-Image Turbo files already listed; ~12 GB VRAM; a new megapixels binding key), ltx23-i2v-lora, ltx23-flf2v-lora and ltx23-t2v-lora (Fuobe DoP · LTX, from the official video_ltx2_3_flf2v template: LTX-2.3 22B distilled fp8, 29.53 GB, with the 9.45 GB Gemma 3 text encoder; LoRAs after the checkpoint loader; silent; 32 GB VRAM; LTX-2 Community License and the Gemma terms), image-to-3d-trellis2-multiview (TRELLIS.2 Multi-view, from the official 3d_pixal3d_multi_views template: one upload per side, pixal3d_multiview_int8_convrot 5.58 GB, the field of view measured on the front photo by MoGe 2, 0.66 GB; fovX sets it, 0 = estimate; 16 GB VRAM, not checked) and video-fit-clip (the Canvas concatenator: VHS loader in 64-frame passes, centre crop, 30 fps, no model). image-to-3d-trellis2 changes only its licence text: like the multi-view graph and TripoSplat, it encodes with DINOv3, so it names the DINOv3 License and its "Built with DINOv3" notice. object_info.subset.json gains five core node classes (271 → 276). image-to-splat-triposplat now has a catalog model (oss-triposplat); ltx23-t2v-lora has none yet, and the four graphs the models moved off in round 4 stay unused.

Round 4 part 4 adds 3 hand-built workflows (145 → 148) for Genjutsu's Character swap and Remove object: video-character-swap-h3 (capability video-character-swap: Openjutsu's graph, from Akatz Labs' H3 Character Swap graph, with a Video Slice for the part; pack h3_character_swap, used unpatched), video-character-swap-h3-relay (H3 Relay 2.0's example graph, no anchor; pack h3-relay) and video-person-remove-h3-relay (capability remove-object: H3 Relay's Person Removal with the Person Remover V1 LoRA, 22-frame windows; pack h3-relay). Their model files are pinned to Hugging Face revisions per workflow (spec.modelUrls): MiniMax H3 Ref2VA INT8 (20.97 GB), the Qwen3-VL 32B NVFP4 text encoder (15.69 GB), the H3 video VAE (5.21 GB) and audio VAE (0.61 GB), SAM 3.1 (1.75 GB, already listed), the FL2V Turbo 8-step LoRA (1.96 GB) and the swap or remover LoRA (0.16 GB each): about 45 GB of new files. vramGb is 24 for each (with offloading and 64–128 GB of RAM; 48 GB+ of VRAM advised for 768p). scripts/comfy/build-library.mjs learns spec.packs / PACK_CLASSES (a declared pack's node classes aren't lint errors when the pack isn't installed), spec.modelUrls and the new binding keys (quality, selection, subjectIndex, positiveCoords / negativeCoords, audioGuide, useMask, windowFrames, historyFrames); object_info.subset.json gains the core node classes the H3 graphs use. captions-whisper-burnin changes only its notes. Workflows → Copy install commands gave git clone …/tree/<commit>/… lines for the two H3 packs, which git can't clone. Since round 5 part 1 (fixes-5) the commands come from src/lib/comfy-install.ts (pinnedRepo, nodeInstall, installScript) and mirror install-comfyui.sh: H3 Relay is cloned (or an existing clone kept), fetched and checked out at its pinned commit, and h3_character_swap is copied out of a sparse checkout at its pin unless it is already there, so they can be pasted twice (tests/comfy-install.test.ts runs them twice against local repos). An older h3_character_swap copy isn't moved to the pin, as the script doesn't either.

Round 4 part 5 adds 2 hand-built workflows (148 → 150) for Character Swap Studio, on the h3-relay pack (pinned at e2a7665, installed with H3_RELAY=1) and files the library already pins, so no new node pack or model download: video-character-swap-h3-segment (capability video-character-swap, also on VideoHelperSuite: one H3 Relay 2.0 pass with the approved mask, an anchor and the previous take's FFV1 master as history; it saves the segment and a master; at most 30 s or 703 frames; vramGb 24) and video-mask-h3-relay (capability person-mask: SAM 3.1 finds the person on any frame of a shot from words, a selection or clicks, follows them and is spliced into the version it corrects; role matte; at most 150 s or 3,592 frames; vramGb 6). Each graph carries every branch a job can use, and the provider drops or adds branches per job (see Providers). scripts/comfy/build-library.mjs learns 8 binding keys (historyVideo, historyStart, historyLength, keyFrame, spanFrames, tailStart, tailFrames, prevMask).

Round 5 part 1 adds 4 hand-built workflows (150 → 154), with no new node pack (ComfyUI stays at 0.41.0 and install-comfyui.sh is unchanged): qwen-image-edit-2509-angles (Fuobe Angles: Qwen-Image-Edit 2509 fp8 with the Lightning 4-step LoRA and dx8152's Multiple-angles LoRA at 1.25, 6 steps, cfg 1; core nodes, 24 GB; the one new file is the angles LoRA, 0.24 GB, pinned and renamed qwen-edit-2509-multiple-angles-dx8152.safetensors), image-face-mosaic-sam3 (capability face-mosaic: SAM 3.1 on "face" at threshold 0.4, the mask grown 12 px, a block mosaic at scale 0.04 under it; core nodes, 4 GB; SAM 3.1 is already in the library), video-depth-vda-large (the small graph with the large model; the existing ComfyUI-Video-Depth-Anything pack downloads about 1.5 GB on first run; CC-BY-NC-4.0, recorded as information; 8 GB) and video-evolution-wan22-fun-vace (Fuobe Evolution: VideoHelperSuite loads the clip at 16 fps, capped at frames and cut to 4n+1; Depth Anything 3 for depth; WanVaceToVideo with the direction frame as its reference; sampling starts from the VAE-encoded clip, and the core ComfyMathExpression and ComfySwitchNode nodes work out the schedule, N = round(4·(5−4·d)/d) steps of which the last 4 run, giving Wan 2.2's high-noise expert only steps at σ ≥ 0.875, which none of the three intensities reaches; CreateVideo keeps the clip's audio; 24 GB; its 45.49 GB of weights are already in the library through the restyle graph). infinitetalk-wanwrapper (kijai's InfiniteTalk wrapper) becomes hand-built with the same graph and new bindings (lora, loraStrength, cfg, shift, scheduler, motionFrame, colormatch, audioCfg) and an optional FusioniX LoRA (0.37 GB); its defaults stay the fast lightx2v pass, and Fuobe Speak's route sends its own (see Providers). build-library.mjs learns the binding keys scheduler, motionFrame, colormatch, audioCfg, threshold and mosaicScale. O9 and O10 use only existing graphs.

Round 5 part 2 adds 3 hand-built workflows (155 → 158; main's Pixal3D graph, image-to-3d-pixal3d, made 155) and one node pack. separate-soundtrack-dbs (capability separate-audio; ComfyUI-DBS's DBSLoader and DBSSeparate, pinned at f656e53, MIT) reads a soundtrack or a video's sound and saves voice, music, effects and a background (the source minus the speech, AudioMerge), plus the pack's report; bindings separationModel and channels; its four DBS files (23 MB, in models/dbs/<model>/) are listed through the new spec.requiredModels, since the loader reads them by a folder name the graph scan can't see; it runs on a CPU (vramGb 0). moss-image-t2i (capability t2i, core nodes only: Comfy-Org's MOSS-Image template without its subgraph and box nodes) loads MOSS-Image SFT int8, the Qwen3.5-9B w4a8 encoder and the FLUX.2 small decoder, about 13 GB pinned to one revision, plus Spectrallic's optional 8-step DMD file (5.4 GB) for Fast; new binding keys sampler and unet; at most 2048 a side on the 16-pixel grid; vramGb 16 is a guess. Its int8 / w4a8 files use kernels that need a PyTorch built for CUDA 13 (cu130); without one ComfyUI warns and probably runs slower (untested). wan21-i2v-uni3c-path (capability camera-path, core nodes) starts Wan 2.1 I2V 14B 720P fp8 from the still while the core WanUni3CControlnetApply keeps its camera on the browser's render of the path (video); 81 frames at 16 fps; 30 steps, CFG 5, shift 5 (a guess); Kijai's Uni3C file in models/model_patches, which core ModelPatchLoader should load (inferred from its header, not run); 18.4 GB of new files, with the 480P fp8 drop-in pinned as optional; vramGb 48, the library's highest. install-comfyui.sh installs ComfyUI-DBS and, unless DBS_WEIGHTS=0, fetches the four DBS files at pinned revisions and checks their SHA-256 (a mismatch only warns). build-library.mjs learns spec.requiredModels, three decimals for sizes that would read 0 GB, and the binding keys separationModel, channels, sampler and unet; object_info.subset.json gains DBSLoader, DBSSeparate, SkipLayerGuidanceDiTSimple and WanUni3CControlnetApply (307 → 311). Workflows → Copy install commands now makes a file's subfolder first (installScript in src/lib/comfy-install.ts), as DBS's files need.

Round 5 part 3 (PR #16) adds 23 hand-built workflows (245 → 268; main's own merges took the library from 158 to 245) and 8 node packs (44 → 52, each pinned by commit in packs.json; ComfyUI-RMBG moves to a66a5e6; the ComfyUI versions don't change: the library is validated on 0.42.0, and install-comfyui.sh still defaults to v0.41.0-7). Video: kandinsky6-t2av and kandinsky6-i2av (Kandinsky Lab's kandinsky6 pack: the 6.4 GB Lite transformer by default, the 60.3 GB Pro one and the Prompt helper's 19 GB Qwen3.5 9B file optional, so a ComfyUI is asked for them only when a run picks them; vramGb 24, which Pro, at about 80 GB, doesn't fit), video-upscale-kandinsky6-vsr (kandinsky6-sr; bindings scale and upscalerScale), Pika H3 Flex's minimax-h3-flex-t2v, -i2v, -flf2v and -ref2va (the adapters on the int8 H3 base, 6 steps; ref2va with expand: "references"; vramGb 32, recorded, not measured), video-h3-t2v-2k (the 768p draft that saves its latent) and video-regenerate-h3-latent (Regenerate's finish from it; 48 GB), and world-hy-nomas-turn (ComfyUI-HyNomas, expand: "world"; 24 GB is a guess). Mattes: video-key-corridorkey (ComfyUI-CorridorKey2: 48-frame passes, a WebM, ProRes 4444 or EXR cut-out, the mask, or the clean foreground; it downloads its weights, about 5.1 GB, on its first run), video-matte-vrmbg3 and image-matte-feynobg (ComfyUI-RMBG; VRMBG 3.0's gated weights placed by hand). NVIDIA RTX Video: upscale-video-rtx, fps-rtx-framegen and sdr-to-hdr-rtx (Comfy-Org's ComfyUI_Nvidia_VFX_Nodes; the manifest's new gpu field says the card they need, nvidia-rtx or nvidia-rtx-40, and vramGb is 0 since none is published). Sound: speech-edit-auk (expand: "speech") and speech-tts-auk (ComfyUI-AuK, whose loader reads its about 19 GB of weights inside the AuK checkout, listed as autoDownloads). 3D: mesh-refine-hi3d (Comfyui-Hi3d-T8; binding model3d, the GLB to refine, through Hi3DLoadMesh's file input), image-to-splat-idol-clean and image-to-views-idol (ComfyUI-Idol), image-to-mesh-idol (core nodes: Idol's graph, then core SplatToMesh and SaveGLB) and image-person-mask-sam3 (core SAM3_Detect on the pinned SAM 3.1, for WorldCast). build-library.mjs learns the binding keys model3d, meshResolution, cpuOffload, cropMode, minOpacity, maxScale, latentPrefix, latent, despill, rtxQuality and upscalerScale, spec.runtimeNodes (classes the app adds per run, counted as the graph's) and spec.gpu, and a file that only a control's setting names is marked optional. install-comfyui.sh installs ComfyUI-CorridorKey2, ComfyUI-Idol, ComfyUI-HyNomas and the Kandinsky packs by default (K6_PACKS=0 leaves the last out), the RTX Video nodes on an x86_64 machine whose nvidia-smi names an RTX card (RTX_VIDEO=0 or 1 decides instead; no arm64 runtime, and they need a CUDA 13 PyTorch, which the script only warns about), and Hi3D and AuK only when asked (HI3D=1, which also fetches its weights unless HI3D_WEIGHTS=0; AUK=1, with AUK_WEIGHTS=1 for the weights).

The GPU pre-flight's index. Main's GPU pre-flight board (/connect, src/server/gpu/) reads requirements.json, which scripts/comfy/build-requirements.mjs writes from the committed library alone (no ComfyUI, no network), at the end of build-library.mjs or on its own: per workflow its core and pack node classes, model files, VRAM and first-run downloads; per pack its pin (packs.json); per file its folder, pinned URL, size and how a ComfyUI shows it is there (pins in model-pins.json). Round 5 part 2 only adds to it: 155 → 158 workflows, 151 → 161 files, 19 → 20 packs (ComfyUI-DBS, with the dbs folder), and 11 new pins (158 → 169). The board's rows (STUDIO_ROWS in src/server/gpu/tools.ts) gain Fly path (/cinema), Turnaround (/character-sheet) and Split soundtrack (/audio/split) through StudioRowDef.steps: a tool that runs open models' operations in steps, checked as their graphs and LoRAs together, with the LoRAs a step adds itself (the turnaround's Angles LoRA). MOSS-Image is listed under Image. Round 5 part 3 adds 245 → 268 workflows, 228 → 263 files, 44 → 52 packs, 22 → 25 folders and 236 → 271 pins, about 310 KB (38.8 KB gzipped) against the 320 KB / 40 KB budget of tests/gpu-requirements.test.ts. A workflow can carry gpu (the card its nodes need, checked against the GPU's name: gpuFits in src/lib/gpu/readiness.ts, state unsupported with gpuNeed; the run gate in src/server/gpu/gate.ts stops such a run even on the install's own ComfyUI) and runtimeNodes; a pack can register a folder under another name (listAs: kandinsky6's audio_vae as kandinsky6_audio_vae), model folders match whatever their case, and Hi3D's folder, which ComfyUI never lists, is read as unobservable rather than missing (UNLISTED_FOLDERS). An optional file is asked for only when the run picks it (a control's sets, Kandinsky 6.0's Prompt helper: PROMPT_HELPER_FILES), on the board and in the check before a run. The board gains Image to 3D refined, Image to 3D quick mesh, Other sides from one picture, Video from references (the Video row leaves out ref2v, StudioRowDef.skipOps), Video with dialogue, Lip re-sync with the voice cleaned, World mode, Edit speech, Quick upscale · RTX, Kandinsky VSR, FPS boost · RTX, SDR to HDR · RTX, Green screen and Captions, and MiniMax H3 in 2K while Regenerate is offered.

validated: true means a live ComfyUI accepted the graph through POST /prompt. Graphs that need no model weights also ran on a CPU ComfyUI; the heavy graphs the round-4 tools use (Wan VACE, VOID, Wan Animate 2, chunked SeedVR2, Wan 2.2 keyframe clips, the Qwen-Image-Edit re-render) have not run on a GPU. Nor have the graphs round 4 part 2 wires in that need weights (OvisOCR3, the Gemma 4 brief, FLUX.1 Fill [dev], the Soul Cast sheet and Qwen-Image-Edit 2511 for the AI Influencer builder), or any graph with LoRAs. video-append-endcard needs no weights and ran twice on a CPU ComfyUI during development (an ad with a sound track and one without); those runs aren't in the test suite. Round 4 part 3: all six new graphs and the rebuilt image-to-3d-trellis2 were accepted by a live CPU ComfyUI 0.41; none has run on a GPU. video-fit-clip with video-concat-encoded ran end to end on that CPU ComfyUI on PR #10's final code (tests/e2e/comfyui-canvas-concat.mjs: three clips with different sizes, frame rates and sound cut, framed to 9:16 at 30 fps and joined, sound only where kept). The multi-view graph's MoGe step ran on the CPU during development (scripts/comfy/README.md). Round 4 part 4: the three H3 graphs were built and sent to the CPU ComfyUI, which answered missing_node_type because their packs aren't installed there; they are recorded validated: false with that validationError (and in scripts/comfy/validation-state.json), the Workflows page shows them as unverified, and tests/comfy-library-4.test.ts allows exactly these three. None has loaded in a ComfyUI or run on a GPU. On PR #12's code a live CPU ComfyUI 0.41 accepts 141 of the 148 workflows; the other seven need packs that server doesn't have (sfx-thinksound, captions-whisper-burnin, lipsync-latentsync16, image-vectorize-vtracer and the three H3 graphs). Round 4 part 5: the two new graphs got the same missing_node_type answer (H3 Relay's nodes) and are recorded validated: false; tests/comfy-library-4.test.ts now allows these five. On PR #13's code the live CPU ComfyUI 0.41 accepts 141 of the 150 workflows; the other nine are the same four, the three H3 graphs of part 4 and the two new ones. The new graphs' per-job rewrites are tested through the real provider on the library files (tests/comfy-swap-studio.test.ts), but neither has loaded in a ComfyUI with H3 Relay or run on a GPU. The Canvas concatenator's live run (tests/e2e/comfyui-canvas-concat.mjs) passed on its first try on PR #13's code, where PR #12's needed re-runs because a busy ComfyUI was taken for an unreachable one. Round 5 part 1: the four new graphs and the rebuilt infinitetalk-wanwrapper were accepted by the live CPU ComfyUI 0.41 (validate-workflows.mjs), with no weights present; on PR #14's code it accepts 145 of the 154 workflows, every new one included, and the other nine are the same four plus the five H3 graphs. Evolution's per-segment binding and its schedule expressions are tested through the real provider on the library file (tests/evolution-comfy.test.ts). None of the new graphs has rendered on a GPU, so the Lightx2v 4-step LoRA starting below full noise, the Lightning LoRA run at 6 steps, InfiniteTalk's colour correction mapped to the wrapper's Reinhard match, and whether ComfySwitchNode keeps the unused 17 GB high-noise expert from loading are all unmeasured. The Canvas concatenator's live run passed again on PR #14's code. Round 5 part 2: moss-image-t2i and wan21-i2v-uni3c-path were accepted through /prompt by the live CPU ComfyUI with no weights present, and ComfyUI read the browser's 81-frame render of a path in a check. separate-soundtrack-dbs was accepted, and real splits ran with both DBS models (audio, video, stereo stems and a 5.1 source), on a separate CPU worker with ComfyUI-DBS; the shared validation ComfyUI doesn't have the pack, so a full re-validation there lists the graph as missing it, like the H3 graphs. Their bindings are tested through the real provider (tests/comfy-library-7.test.ts, tests/comfy-dbs.test.ts, tests/cinema-path.test.ts). Nothing new has rendered on a GPU: VRAM, speed, MOSS-Image's lettering and how it follows layouts, DBS on real films, whether core ModelPatchLoader loads the Uni3C file, and the fly path's sampler settings are unmeasured. Round 5 part 3: 6 of the 23 new graphs were accepted through /prompt by the live CPU ComfyUI with no weights present (the four Pika H3 Flex graphs, image-to-mesh-idol and image-person-mask-sam3), so the library's accepted count goes from 185 to 191. The other 17 are validated: false (image-to-views-idol among them: it passed /prompt once that server had ComfyUI-Idol, and stays unvalidated until a GPU run), most with that ComfyUI's missing_node_type answer in scripts/comfy/validation-state.json (it doesn't have their packs), and are named in tests/comfy-library-4.test.ts. Their inputs were checked against the packs' source and node definitions, and the per-run rewrites (references, Edit speech's windows, World turns, Idol's graphs, the key's formats, the 2K latent hand-off) are tested through the real provider on the library files. Edit speech's stitch ran on the CPU ComfyUI with core audio nodes and a stand-in for AuK. Nothing new has rendered on a GPU: Kandinsky 6.0's VRAM (Pro needs about 80 GB, but the pre-flight records 24 GB), Pika H3 Flex's 32 GB, and the speed and quality of every new graph are unmeasured.

Training: Fuobe Soul ID (src/lib/catalog/training.ts, src/server/training.ts)

A trainings row per job, polled by the same runner. Since round 4 part 4 (O3, Fuobe Soul ID) a training makes a LoRA for a family: a base and every model on it, on both engines (TRAINING_FAMILIES): Z-Image Turbo (Fuobe Soul and Soul Cinema, plain Z-Image Turbo), Qwen-Image 2512 (Fuobe Soul HD, Qwen-Image), FLUX.1 [dev] and Krea [dev], FLUX.2 [dev], FLUX.2 [klein] 4B, FLUX.2 [klein] 9B and Krea 2 (the last three families' LoRAs run only in the cloud, on the hosted LoRA models). There are 13 targets (TRAINING_TARGETS):

  • fal (8): the trainer endpoint with a zip of 001.jpg + 001.txt caption pairs uploaded to fal storage (falTrainingInput, falQueueUrl), priced before the run as steps × the trainer's price per step (trainers.generated.ts): Z-Image Turbo 2,000 steps ≈ $1.70 (characters) and Z-Image style 1,500 steps ≈ $3.39 (looks), Qwen-Image 2512 ≈ $1.50, FLUX portrait ≈ $6.00 (characters only), FLUX.2 [dev] ≈ $6.40 (asks for ComfyUI-named weights), klein 4B ≈ $5.00, klein 9B ≈ $4.30, Krea 2 ≈ $3.00. The LoRA comes back in the trainer's own output field (trainedLoraUrl). It is usable at once from fal's URL; Fuobe's own copy downloads in the background (keepInBackground → keepTrainedLora, meta.keep pending / kept / failed, restarted after a restart, never retried after a failure), and the fal URL is recorded as a mirror (recordTrainedMirror).
  • AI-Toolkit (5, on the user's GPU, through its job API at the AI-Toolkit URL setting): Z-Image Turbo (with ostris's training adapter), Qwen-Image 2512, FLUX.1 [dev], FLUX.2 [dev] and klein 4B (AITK_MODELS; AI-Toolkit downloads the base weights itself, the FLUX [dev] ones gated). aiToolkitJob writes the config: rank 32 for 20+ photos, else 16; a style element uses the style preset (captions " style", 1,500 steps). The finished LoRA is kept by Fuobe and copied into ComfyUI's LoRA folder. A LoRA trained by an AI-Toolkit on another machine has to be copied by hand. GET /api/elements/[id]/training-kit?family= downloads a kit for one of the five bases (config, dataset, README with the licence line) to train anywhere. Since round 5 part 1 (fixes-5) Settings → Training · AI-Toolkit (/settings#training, settings-form.tsx) puts the existing aiToolkitUrl (AI_TOOLKIT_URL; DEFAULT_AI_TOOLKIT_URL is http://127.0.0.1:8675), aiToolkitToken (AI_TOOLKIT_AUTH, secret) and aiToolkitDatasetDir (AI_TOOLKIT_DATASET_DIR, now a full path; blank means <data dir>/datasets) in the UI, each with Save & test (testAiToolkit: see Security); the section is dimmed in Paid APIs only mode. The element and moodboard Train dialogs' "Open Settings" goes to the section that lifts the blocker (trainingSettingsHref: #engine, #fal or #training).

Rules. A character trains only with consent: POST /api/elements/[id]/trainings takes {target, consent}, refuses a character without consent: true and stores consentAt in trainings.meta_json; styles don't need it. 5 to 80 photos (SOUL_ID_PHOTOS; elements hold up to 80). GET …/trainings lists the targets for the element's kind with each one's blocker, price, licence (information) and whether it would run as a demo. With no fal key or AI-Toolkit URL and Demo mode on "auto" (the default) or "on", a training runs as an 8-second demo (provider demo, demoTraining) that trains nothing and never replaces a real LoRA of the family; Settings → Engine mode still refuses. Trainings aren't under Settings → Models & licences. Since round 5 part 2 consentOnFile reads the consent time a character's latest training recorded, so a turnaround of that character shows the consent as given instead of asking (see Studios).

The LoRA on the element. addIdentity puts the trained LoRA on the element with its family, target, engine and file (fuobe/<handle>-<training id>.safetensors, one name per training), replacing only that family's earlier LoRA, so Fuobe Soul and Soul HD LoRAs live side by side. An @mention brings it to every model of the family on either engine (identityFor in applyMentions), scaled by the character strength; a trained element's studio opens on its family's lead model. Fuobe keeps every trained file in <data dir>/loras (TRAINED_DIR), copies it into ComfyUI's folder before an open run and sends it once to fal or Replicate for a cloud run (LoraRef.own; see LoRAs). POST /api/elements/[id]/lora attaches a LoRA trained elsewhere to a family. LoRAs from before O3 map to a family through their model id.

The retired provider's Soul ID. It stopped being a target in round 4 part 4, and an old Soul ID now shows "Older Soul ID" with "Retrain for Fuobe Soul". Since round 4 part 5 a training still queued or running on one of its two targets (soul-id-v2, soul-id-cinema: TRAINING_REPLACED_BY in replaced.ts) is failed by target on the next poll, with retiredTraining()'s message ("… was retired: train the character again for Fuobe Soul on the same photos"), and pollOne gives that message for those targets too; nothing retrains by itself. An old Soul ID's custom_reference_id reaches no model any more: applyMentions no longer sends it.

Moodboards and photo runs. "Train as a look…" trains a moodboard's style element on either engine (trainMoodboard); the board then runs as Fuobe Soul's own look (own-style). Photodump and Fashion run a character with a Soul ID on Fuobe Soul (see Studios). The Image studio gains the five hosted LoRA models (see Catalog).

Failed fal jobs (4xx, FAILED), a missing AI-Toolkit job, 8 h without a result and uploads cut off by a restart fail the training and settle the element back to ready. Checked: tests against a fake network (request bodies, AI-Toolkit configs, every open model of each family taking the LoRA, the background copy and restart, the demo rule, the retired provider's training) and the Train dialog in a demo-mode browser. No real training has run: likeness is unmeasured, the new AI-Toolkit configs are unchecked, and whether fal's FLUX.2 LoRA endpoint reads the ComfyUI-named files is unknown. No Replicate trainers. Keeping Fuobe's own copy of a trained LoRA (src/server/loras.ts, src/server/training.ts) gave next build three Turbopack "dynamic filesystem access" tracing warnings. Since round 4 part 5 those file calls carry /*turbopackIgnore: true*/ (as db.ts, auth.ts, storage.ts and skills.ts already did), and the About & licences page spells out the two files it reads (package.json and the workflow manifest), so next build prints none of the four warnings PR #12's build had. Round 5 part 1's photos-folder check (testDatasetDir) brought two back, as Turbopack traced the whole project; its file calls now carry the same hint and the build is warning-free again. Save & test has only met a stand-in that copies AI-Toolkit's API.

The training kit for Fuobe's own LoRAs (round 5 part 3, O12; scripts/train/, the logic pure in src/lib/training-kit.ts, the guide in scripts/train/README.md). It covers everything up to a training run for the LoRAs Fuobe trains itself, outside the app: a job spec per LoRA (specs/<id>.json: dataset size, caption rules, steps, rank, learning rate, trigger, the fal trainer's request built from trainers.generated.ts and the AI-Toolkit config, 13 of them), a data-licence log per LoRA (data-logs/<id>.json: every file with its SHA256, its source, which is own shoot, licensed with AI-training rights, CC0 or public domain, never another service's outputs, and a release where people appear), and node scripts/train/kit.mjs (list, check, job, motions, publish). A job doesn't start while its log is incomplete or doesn't match the dataset, and the fal route trains only on a zip the kit built from the checked files, accepted by its SHA256. publish puts a trained file and the public half of its log in a Hugging Face repository (--upload needs HF_TOKEN and an org) and writes the research's trained block, which gen-lora-library.py turns into a library entry; until then each LoRA is a planned entry no preset uses (see LoRAs). src/lib/catalog/motion-library.json lists driving clips for the sports moves that are better as motion transfer; a move picks one up only once a clip passes the check. Checked by unit tests and a dry run of publishing; nothing has been trained, uploaded or sent to fal.

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 (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; 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. Round 5 part 3 adds edit_speech (Edit speech's plan from the transcript's timed lines, on the open engine only) and world_film (World mode: an opening and its turns, joined into one film, on the open engine only; refused on an install set to paid APIs only), and generate takes mesh_resolution (Hi3D's refine at 512, 1024 or 1536: refine-3d on oss-hi3d-refine, or on an open image-to-3D model the refine step after it).
  • 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 (" ·
  • 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). A studio tool step on its own gets the plan check only; in a recipe that runs in stages (isStaged) the dry run is stagedDryRun (src/server/skill-runs.ts): every step on the demo provider, its studio steps inside runAsDemo (src/server/demo-scope.ts), then the studio records they made are deleted and their rows go to the Trash. 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 …" (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 the frame in StudioChrome (nav/studio-chrome.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 didn't exist then (W3 has since added it).

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 (since round 5 part 1 a recipe skill's prompt ends with its "Run it" section, and the skill runs through the run_skill tool). 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/)

fuobe (round 4) is a client of a Fuobe server, not part of it: plain Node 20+ with no dependencies, bin/fuobe.mjs (the bin entry in package.json) with the logic in bin/lib/*.mjs so tests drive it without a terminal. It finds the server and token in --url / --token, then FUOBE_URL / FUOBE_TOKEN, then the file fuobe login saves (~/.config/fuobe/config.json, written 0600; the saved token goes only to the server it was saved for). It uses the same REST API as the browser: GET /api/models (src/app/api/models/route.ts with src/lib/model-list.ts: what this install can run, with runs real / demo / refused worked out as chooseRoute would, and the studios' default picks; since round 4 part 4 only models Settings → Models & licences offers, each with its routes that are on, and a default switched off falls back to the next one that is on), POST /api/generations and its ?preview=1 (model, operation, jobs, outputs and cost, nothing created; since round 4 part 3 fuobe generate --engine also picks an Original's engine, --look and --look-strength send a Fuobe Soul look, and fuobe models shows an Original as open+cloud), POST /api/uploads, GET /api/generations[/<id>], the Assist skills routes, and POST /api/mcp for the studio tools (fuobe tool). Skills follow the Agent Skills format, so other agents can install them (.agents/skills/fuobe teaches one to drive Fuobe through MCP or the CLI). Since round 4 part 2, fuobe eval <command> is a passthrough command (it takes its arguments as they are): it imports the evaluation harness (scripts/eval/eval.mjs) from the checkout next to the CLI and refuses to run without one; the harness finds its server and token the same way, so a saved token still goes only to the server it was saved for. Commands, options and exit codes: docs/cli.md (it doesn't list --look and --look-strength yet; fuobe generate --help does).

Evaluation harness (scripts/eval/)

Round 4 part 2. A developer tool, not part of the app: it measures the Fuobe Originals (Fuobe's own open-weight versions of the parity studio'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.

  • 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; since the 2026-10-30 update dop-mixed-media, the first suite to run once paid keys exist: "runFirst": "paid-keys", with the default it decides) 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, dop-mix.json and dop-mixed-media.json are generated by gen-cases.mjs from parity-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. Round 5 part 2 adds turnaround (4 cases through /api/turnaround: four views, the front and the back, the front alone, a sheet alone; variants default, Frames on the GPU and H3 Max references in the cloud, keyframes and camera, the last two cloud only). 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. Round 5 part 3 adds separation (DBS D4, generated by gen-cases.mjs from dbs-separation-7.json: 7 synthetic 12 s mixes with known stems, made by fixtures/make-separation.py from speech whose licence is given, plus your own clip for the blind review; DBS-BSRNN and DBS-TIGER in mono and per channel, the dub's DBS and MelBand voice splits, and Clean up dialogue on the open engine; Demucs and main's hosted cleaners on the cloud), splat (idol-3: Idol 3D against TripoSplat on 11 single objects, the cloud's TripoSplat as a reference only), mesh (idol-7: Idol 3D quick mesh against a finer grid and TRELLIS.2) and idol-views (idol-8: Idol 3D's four views). A variant can name tags (it runs only on cases with one of them: the splat suite's photo crop) and a suite defaults.styleModel (clip or dinov2).
  • 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 skip for the retired provider (the skip list, the route check and the one for its 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. Round 5 part 3 adds the separation metrics (separation.py: each stem's SI-SDR against the mix's known part, the bed's level, peak and gain, the noise left in the voice, speed), a word error rate with Whisper base.en (pnpm eval:setup --asr, its own pinned requirements) and a splat's haze (splat.py, numpy: the share of Gaussians under opacity 0.05, read from the .spz or .ply).
  • 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; since round 5 part 1 the <route>/estimate paths of the new suites (/api/influencer/estimate, /api/evolution/estimate, /api/storyboards/estimate); since round 5 part 2 /api/turnaround/estimate, and final in /api/turnaround's answer, so a run measures the film, not the last step made (routeResult).

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). Round 5 part 2: the turnaround suite has not run for real; a run on a GPU or with paid keys is what picks each engine's default route and measures how the likeness holds round the back. Round 5 part 3: the separation suite ran for real on a CPU ComfyUI (DBS-BSRNN and DBS-TIGER, the dub's splits and Clean up dialogue: about 0.25x real time for Fast and 0.10x for Best, now the estimate's speeds; Clean up dialogue's −18 dB preset leaves the music and effects at about −12.6 dB, recorded in dbs-separation-7.md for the owner and left unchanged), while its cloud variants ran as dry runs only. The splat and mesh suites passed demo runs and idol-views passes eval validate; all three wait for a GPU, and no default changed.

Storage (src/server/db.ts, storage.ts, settings.ts)

SQLite (WAL). Migrations are an append-only list in db.ts, applied once each and recorded in _migrations:

# adds
0 generations, assets, settings, characters
1 elements: characters.kind, handle, loras_json
2 trainings
3 generations.depends_on (chained jobs)
4 assist_threads
5 generation_runs (submitted_at, started_at: the provider timeouts)
6 generation_trash, folders, folder_items
7 cinema_projects, cinema_folders, cinema_items
8 canvases (graph_json, runs_json; since round 4 part 3 graph_json holds {pages}, written without a migration: see below)
9 layer_projects, layer_versions
10 shorts_sessions, shorts_presets
11 brand_kits, products, ad_batches, ad_creatives, marketing_runs
12 palettes, moodboards, photodump_packs
13 faceless_channels, faceless_episodes
14 dub_sessions, katana_jobs
15 skills, skill_toggles, assist_projects, assist_project_sources, assist_memory, assist_thread_state
16 Library: folders.parent_id, folders.pinned_at, generations.pinned_at, generations.review (nested folders, pins, review status)
17 lora_mirrors (every LoRA copy: a download into ComfyUI's folder or a mirror on fal / Replicate, with source, version, SHA256, size and licence snapshot)
18 content_series (a Content Factory series: the reference, its style brief, the planned episodes and settings; the episodes are Faceless episodes in the series' channel)
19 shares (round 4 part 4: a share link or published page; id is the token's first 12 characters, token_hash the SHA-256 of the whole token; kind, target, title, description, tags, layout, items, cover, show_prompts, expires_at, views) and index shares_target
20 assist_schedules (round 4 part 4: a scheduled task's prompt, files, project, rule and time zone, approval, cap_usd, connectors, engine, mode, paused, next and last run), assist_connectors (name, unique slug, URL, token, allowed tools, enabled), and on assist_thread_state schedule_id, cap_usd, spent_usd and connectors (default 1)
21 swap_projects (round 4 part 5: a Character Swap Studio project as one document, data_json, beside name, engine, revision and waiting, the takes queued behind earlier segments) and indexes swap_projects_updated and swap_projects_waiting (partial, waiting > 0)
22 no table (round 4 part 5, O7): deletes saved API keys no setting reads (the retired provider's), resets a cloud.provider Fuobe no longer offers to auto, and marks ads drawn by the retired provider baked (ad_batches.route, and route in ad_creatives.meta_json where that is valid JSON)
23 main's GPU pre-flight: gpu_snapshots (what a ComfyUI had at its last check, per target, the install or an account's own GPU, and per way it was read; only the facts the requirement index asks about), gpu_audit (every check) with index gpu_audit_target, and generations.fix_json (what a failed run was missing, so its tile offers "Fix it")
24 main's public sign-up: assets.account_id (an account's uploads and the files of its runs carry its id, the owner's stay NULL; files made before go by the run that made them) and indexes assets_account, assets_rel and assets_generation
25 main's Design a voice: characters.voice_json (a designed voice on its element: the model, the words, what its clip says and, once the cloud has cloned it, its embedding file)
26 assist_schedules.skill_json (a task that runs a saved skill instead of a request, { name, values, sources }: one set of the recipe's inputs as text, a file as its /api/files/… URL, and the file inputs that take the newest upload of their kind when the run starts; NULL for a request). It only adds a column, so an older build can still open the database; the column is in ASSET_REFS, so a file a task names survives Empty trash
27 main's sign-in data: the auth_* tables (AUTH_TABLES, which data/auth.json held before; see Security). Also made on every open (ensureAuthTables), since other branches append migrations at the same place

Round 4 part 3 adds no migration. It changes what some existing columns hold: canvases.graph_json is written as {pages: [{id, name, graph}]} and a row saved before reads as page 1 (readPages) until it is saved again (an older build can't read a board after that save); runs_json's node runs gain out, rows and rowSigs; generations.request_json keeps the engine a Fuobe Original ran on; and output meta gains finished, original, grade, overlay and crop, with meta.formats and meta.preview now stored as local files.

Round 4 part 4 adds migrations 19 and 20 (above); they only add tables and columns, so an older build can still open the database. Other new state uses existing places: the Models & licences switches are the settings row models.access (JSON); a training's meta_json holds its family, photo count, consentAt, file and keep (provider demo for a demo training); an element's LoRAs gain family, target, own, demo and trainedAt inside its JSON; generation requests can carry chainSkipped and notice. ASSET_REFS gains assist_schedules.attachments_json; ASSET_FREE gains shares.tags_json, shares.items_json, assist_schedules.rule_json and mode_json, and assist_connectors.url and tools_json.

Round 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 retired provider's saved key is gone for good). Jobs and trainings still on the retired provider 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).

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.

Main's GPU pre-flight and public sign-up added migrations 23 and 24 (above). Round 5 part 2 adds none (still 25, numbered 0–24, and 45 tables), but repairs a data folder that ran PR #15's branch before the owner dropped its accounts packages (claude/fuobe-parity-4 up to f7c6d8e, claude/fuobe-r5-batch-7 up to c9cd489). There, places 23 and 24 are marked done for that branch's own migrations (acc-1's identity tables, acc-2's audit-log trigger), so main's two would be skipped without a word. forgetDroppedBranchMigrations (db.ts, called in open() before the loop) forgets a place when it is marked done, main's work is missing (gpu_snapshots; assets.account_id) and the dropped package's is there (users.auth_user_id; the audit_log_no_delete trigger), so the loop runs main's migration. The dropped tables stay, unused, and nothing is deleted; a folder that only ever ran main is untouched (tests/dropped-branch-migrations.test.ts). Other new state uses existing places: a filmed path's keys, length and move on its Cinema take (CinemaTakeInfo.path); a turnaround step's consentAt in generations.request_json; DBS's stems and report as a run's outputs; and an exported mix as an upload, put together from its parts in the scratch folder (mix-<id>.wav.part; parts nobody finished are removed when the next export starts, after 6 hours). No column gains file URLs, so ASSET_REFS and ASSET_FREE are unchanged.

Skills W5 to W7 add no numbered migration (W4's assist_schedules.skill_json is a numbered migration, in the table above): like the relay, billing and admin tables, their state is made on every start when it's missing (SKILL_TABLES in src/server/db.ts), so branches that add migrations never clash over a place in the list. skill_runs (W7) holds a run of a skill whose steps wait across studios: id (also the run's batch), skill, engine, status (running, done, failed), values_json (the run's input values) and state_json (each step's status, generation ids, the studio page it opened and why it failed, and the steps as filled). ASSET_REFS gains skill_runs.values_json / state_json. W6 keeps its suggestions in the settings row skills.suggestions (JSON: the day's sweep, and the chains put off or dismissed) and reads a skill's history from the stamp its runs carry (request_json $.skill), with no table of its own.

Round 5 part 3 (PR #16) adds no numbered migration (still 28, numbered 0–27). A data folder that ran this branch's earlier build of Skills across studios (its own skill_runs, with no engine column, at place 27) keeps that table as skill_runs_earlier, renamed on start before SKILL_TABLES makes main's (skillRunsFromEarlierBuild in db.ts); nothing is deleted. New state uses existing places: the WorldCast worker's address and token as settings rows (worldcast.url, worldcast.token); in generations.request_json the server-set finishOf, a one-sheet board's frame.sheet and the 2K hand-off's params.extra.latentDraft / latentFrom, with the draft's latentAt in its external_meta_json; the 2K draft's latent stays in ComfyUI's own output folder (output/open_h3_latents/), never in Fuobe's files; Idol's meta.pruned / kept and the views' meta.index / side on outputs. Cinema's 3D-scene props live in that browser's localStorage (fuobe.cinema.scene.<id>), and Captions' line to fix rides to Edit speech in sessionStorage. No column gains file URLs, so ASSET_REFS and ASSET_FREE are unchanged.

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 the retired provider's key setting (its environment variables aren't read either) and its 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). Round 5 part 2 adds no setting and no app environment variable; the install script gains DBS_WEIGHTS (default 1, fetch the four DBS files; 0 skips them, and Split soundtrack can't run without them). Round 5 part 3 adds worldcastUrl (key worldcast.url, WORLDCAST_URL: the WorldCast worker, in Settings → Open-source engine · ComfyUI beside the isolated worker, with its Save & test) and worldcastToken (key worldcast.token, WORLDCAST_TOKEN, secret: sent as a Bearer header; it has no field in Settings yet, so it is set by its environment variable); the install script gains K6_PACKS (default 1), RTX_VIDEO (default auto), HI3D and HI3D_WEIGHTS, AUK, AUK_WEIGHTS and AUK_BASE, and the pins RTX_VIDEO_REF, K6_REF, K6_SR_REF, HI3D_REF and AUK_REF. 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 look (serif headlines, pill composer) in a top-bar frame. StudioChrome (components/nav/studio-chrome.tsx) is the frame of every studio page and the root not-found page: from the md breakpoint up a sticky top bar (nav/top-bar.tsx), on a phone a bottom tab bar with its sheets (nav/phone-tabs.tsx, nav/phone-sheets.tsx), and the search palette everywhere. What the frame lists comes from one model, src/lib/nav-model.ts (top-level links, Create, the 28 studios plus Apps in five goal columns, the goals, settings, who may see each entry); components/nav-items.ts is derived from it. Covers are real preset stills resolved on the server (navCovers() in src/lib/nav-covers.ts, passed in by the layout). CHROME_STATE_SCRIPT in src/lib/nav.ts runs before paint and marks <html> (data-fullscreen-studio, data-viewer, and which bar pills this browser had), so the static shell doesn't shift when the viewer arrives. Branded not-found and error pages, and loading.tsx skeletons on studio and gallery routes (skeletons.tsx; /marketing has its own).

  • Shell. "Skip to content" is the first Tab stop, the bar (and on a phone the tab bar) is a <nav aria-label="Main">, and each page has one <main id="content">. Page geometry follows the frame through CSS variables in globals.css (--chrome-top, --chrome-bottom, --content-h; utilities h-content, min-h-content, top-chrome, bottom-chrome), so studio headers stick under the bar and phone composers sit above the tabs. Full-screen studios (fullScreenStudio() in nav.ts: a Cinema, Canvas or Layers project, and every Assist page) keep the bar on a desktop; on a phone they hide the tabs and their header's Menu button (nav/phone-nav-button.tsx, Search elsewhere) opens the menu sheet. intent-link.tsx prefetches a link on hover or focus instead of when it appears on screen (rows marked eager still prefetch on view); the routes the launcher, menus and sheets lead to are prefetched together once the person reaches for them (warmNav() in nav/top-bar.tsx). 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. StudioChrome wraps the shell in SkillBuilderProvider (see Skills that run by themselves).
  • Search palette (nav/search-context.tsx with the provider and the /, ⌘K and Ctrl+K keys; the dialog in nav/search-palette.tsx and nav/search-results.tsx, loaded on first use; also the bar's Search field, the launcher's search link and the phone header's Search, full screen on a phone): the nav model's entries ranked by searchNav (src/lib/nav-search.ts: typo tolerance, light stemming and a table of intents, so "ad for my perfume" leads with Marketing Studio), with Best matches, Also try, groups by kind, Jump back in (recent creations) and an Every studio grid with goal chips. Below them come 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 …" for every enabled recipe skill (skillEntries), and Settings lists "Training (AI-Toolkit)". It replaces global-shortcuts.tsx (⌘K used to go Home).
  • Home (src/app/(studio)/page.tsx): homeShowcase() in src/lib/home-showcase.ts (server only, "use cache") names the presets, studios, models and skills Home shows and computes every number it quotes from the catalog, the ComfyUI manifest (CREDITS.md's count), the skills folder and LLM_PROVIDERS; tests/home-showcase.test.ts checks each id has its cover and clip, shows once, and each number is the catalog's. HomeView keeps the composer and renders the wall right under it; the sections below (components/home/home-sections.tsx) are server components passed as children, with small client islands (showcase-tile.tsx, before-after.tsx, home-islands.tsx). Effect and app cards rest on their clip's peak frame (public/previews/presets/peak/, preset-peaks.generated.ts, cut by scripts/gen-preset-peaks.mjs from the published clips) and their clip starts from that frame (PresetPreview's rest). The before/after under Apps shows each app's HD stills (public/previews/presets/ba/1280/, ba/960/ and ba/512/, preset-before-after.generated.ts, made by scripts/gen-before-after.mjs from the reveal clips' masters for every app whose cover is one): each picture starts as its 512 px still, and the browser then picks the 960 or 1280 px copy the screen needs (srcset; a 1x desktop or 2x phone the 960, a 2x desktop or 3x phone the 1280), added only once the slider comes within a screen of view and the page has loaded, so it never competes with the page's first paint. The playback store gained auto: "touch" (studio cards wait for a hover where one is possible) and paused (Pause previews, kept in localStorage under fuobe:previews). Assist reads ?prompt= into a new chat without sending it (assistDraft).
  • 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; no demo card: placeholder results are a Settings switch, for a tour), 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. CREDITS.md (scripts/credits.mjs, src/lib/licences.ts) lists each open model's licence from the catalog and the workflow manifest; Settings links to it and 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 retired provider's key field and chip and its Preferred provider choice (PROVIDER_SETTINGS, CLOUD_PROVIDERS and connectionSummary in src/lib/connections.ts). Round 5 part 1 adds Training · AI-Toolkit (#training: three ConnectFields 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, the retired provider'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; round 5 part 1 adds /video-tools/evolution, and round 5 part 2 /audio/split (SplitSoundtrackTool in TOOLS).
  • 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). Since round 5 part 2 a price is read on the browser's day (useToday in src/hooks/use-today.ts: null on the server and while the page hydrates, so a launch-priced model shows no price until then, and it changes at UTC midnight): the composer's estimate, the model picker (pickerPrice) and the Models page (rowPrice with ModelRow.launch; GET /api/models answers the day's price and keeps launch). The slim studio catalog carries Pricing.promo as it is. A run with LoRAs on an endpoint with no published price shows "Price unknown", never free, in the composer and on Canvas nodes. The Image studio's controls chip reads "Options" (StudioConfig.controlsTitle), where MOSS-Image's Quality sits.
  • 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); 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 its first-frame poster with a muted <video> over it only while it plays (invisible until its first frame is ready, released when it stops). 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 Home's server-only showcase import it, so the manifest never ships in client code: the preset header builds the same preview from the slim covers map (coverPreview in src/lib/preset-covers.ts) (tests/preset-covers.test.ts checks the importers, and checks the real manifest against public/previews). Every cover URL the site gives ends in its file's content version (?v= and 8 hex digits of its sha256; a poster's also covers its 320 px copy in thumbs/, whose URL keeps it), written into the manifests by eval:covers and gen-preset-peaks.mjs (--versions on either hashes the files as they are; the covers' one first makes a poster's 320 px copy that's missing or older than its poster, and encodes nothing else), so a cover made again under its old name gets a new URL. Versioned covers are served as immutable, for a year in the browser and a day in the CDN (s-maxage, so a revert or rollback that gives an old version back never finds the wrong file pinned there); one asked for without its version keeps a day's cache and a week of background revalidation (next.config.ts). Both stay 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 came 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. Main's later cover work gave 43 apps a before/after reveal clip (Ideogram 4, then Qwen-Image 2.1 Edit), so 48 of the 480 now have a clip (the other 5 from MiniMax H3) and 432 are stills. preview-playback.ts decides which play: a clip card plays by itself while it's mostly in view, once scrolling stops, at most 6 at once (3 on a phone), the cards in full view and nearest the middle of the screen first; a procedural preview does so only where nothing can hover (phones), and the preset header plays whatever moves. Nothing plays by itself with reduced motion (turned on while the page is open, it stops at once), Save-Data, on 2G or in a hidden tab; a hover (after a short rest), keyboard focus, or a tap on the preset header still plays one (with reduced motion, only a clip).
  • Navigation. The bar: Create (a menu of the create tools), Studios (the launcher, nav/mega-launcher.tsx with its body in nav/mega-panel.tsx, the same grouped menu Apps, Motions & effects and Canvas open from their chevrons, each fed by a small file made at build time, src/lib/mega-menus.server.ts: every studio grouped by goal on one screen in six columns, Film & video, Social & shorts, Sell & advertise, People & fashion, Sound (Audio with Music, Sound effects, Clean up voice and Translate & dub) and Finish & convert, arrow keys across and down the columns), Apps, Motions & effects, Canvas, Assist, Library, a More menu for what doesn't fit, Search, New creation and the account menu (nav/account-menu.tsx; the owner's install status, a visitor's GPU, balance, Settings, the theme and Sign out, moved from the old sidebar's footer in nav/status-chips.tsx; Thanks & licences, the owner's Models & licences and the source on GitHub are in Settings → About, AboutLinks in owner-settings.tsx). Phones: Home, Create, Studios, Library and You tabs; Studios opens a sheet with every studio at once (nav/studios-sheet.tsx). Home has a goal row under the hero (nav/goal-row.tsx): each goal opens a band of its studios, one-tap presets and finishing tools. Under a finished result a "Keep going with this" row offers 3 to 5 next steps that open the next studio with the result attached (nav/next-steps.tsx, keepGoing in src/lib/next-steps.ts; in the studio feed, the Viewer and the 3D model card), and the account menu and You sheet show how much of Fuobe this browser has explored with a next one to try (nav/explore-progress.tsx, src/lib/nav-explore.ts, kept in localStorage only).
  • Models page (round 4 part 3; the page itself is gone, the rows still feed the model picker): 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.
  • Stand-alone views: color grading (color-grade-view.tsx, src/lib/grade.ts; since round 4 part 3 Invert and Solarize sliders, the Soul and DoP grade presets, and ?preset= to open with a grade picked), storyboard, elements + train dialog (since round 4 part 4 train-dialog.tsx: the photo rules and tips, the consent tick for characters, the options by family with where each runs, price, time estimate and licence, Train / Retrain / Upgrade, the demo note, "Train anywhere" with the training kit and attaching a LoRA; element cards show a Soul ID, Training, Retrain or Demo badge; moodboards/train-board.tsx for "Train as a look…"), library (library-view.tsx + components/library/*), Assist, and the studios above.
  • Round 5 part 3. The composer's References chip on MiniMax H3 on your GPU (studio/reference-tray.tsx: images, clips and voice or music clips in the order the prompt cites them, each clip's length read in the browser and Pika's limits checked before anything uploads; Lipsync & avatars' "Talk from a voice clip"), Kandinsky 6.0's placeholder that says quoted words are spoken, the splat viewer (model3d/splat-viewer.tsx, see Studios), Cinema's World panel and props, and Edit speech's page. On a card that can't run RTX Video, the GPU pre-flight's chips, guided fix and run gate say it needs an NVIDIA RTX card (for frame generation, an RTX 40 series card or newer: GPU_NEED_TEXT), naming the card but never a bare cpu or mps device (cardLabel); a card the name doesn't tell isn't blocked.

Generators (scripts/)

pnpm gen:catalog runs gen-cloud-models.py, gen-studio-packs.py (since round 4 part 5, in place of the two retired provider generators), 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). Since round 5 part 2 gen-cloud-models.py also reads the endpointRecords of new-models-7.json (MOSS-Image), takes exact_size (one {width, height} field on the grid and limits its schema's description states) and a slider's own step, writes FieldMap.promptExpansion for a model that reads layouts and FieldMap.cameraPath for a camera-path route (camera_path_slot), and marks a LoRA endpoint with no published price lorasUnknown, never free. 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 parity 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 parityEquivalent 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), and since round 5 part 3 gen-demo-splat.mjs the demo splat (public/samples/demo-splat.spz and .ply). Round 5 part 3's hosted endpoints are read by fetch-hosted-schemas.py --kandinsky6 and --keying into new-models-10.json's endpointRecords, which gen-cloud-models.py reads. 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 and one with round 5 part 2; new-models-10 came to main with its merges of 11-02 and 11-03, and hi3d-refine with round 5 part 3. They are plans, not features. What is built from them: Work2Skill W1 and W2 (round 5 part 1; see Skills that run by themselves), and since round 5 part 2 DBS D1 (Split soundtrack) and, from new-models-7, N7-1 (MOSS-Image and the layout compiler), N7-5 (the fly path and the camera-path library) and N7-6 (the turnaround video). Since round 5 part 3 every package of the round's queue is built: 24 reached main through its own merges and 27 came with PR #16 (where main had built the same thing, main's build was kept).

  • 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. N7-1, N7-5 and N7-6 were built in round 5 part 2 (see Catalog and Studios), and N7-2 to N7-4, N7-7 and N7-8 reached main through its merges. Round 5 part 3 adds N7-9 (the WorldCast worker, optional, on the owner's GPU), N7-10 (MiniMax H3 at 2K, Finish in 2K, Enhance and Faceless's Regenerate, held with main's Regenerate until it has run on a card that fits it) and N7-11 (MOSS one-sheet storyboards and Layers' Re-render). Since round 5 part 2 the note also records that core ComfyUI reads no GGUF and that H3 Max's reference to video takes at most 9 references.
  • 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. D1 was built in round 5 part 2 (Split soundtrack, open engine only; see Studios); D2, D3 and D5 reached main through its merges, and main's own builds of the features of D6–D9 (Clean the voice first, Original sound, the Canvas split node, split and remix in Assist and MCP) are the ones kept. Round 5 part 3 adds D4, the separation suite, whose CPU results are in the note (see Evaluation harness).
  • work2skill-7: the Work2Skill verdict, the recipe.json format and plan W1–W7. W1 and W2 were built in round 5 part 1, and W3 and W4 (skills run from Assist and MCP, schedules and the CLI) reached main through its merges. For W5–W7 (Canvas, suggestions, skills across studios) main's own build is the one kept: round 5 part 3 drops the branch's build of them, sets its earlier run table aside (see Storage), and has the evaluation harness price a saved skill's suite by its estimate's total, or say why it can't run.
  • 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. The owner dropped this plan on 2026-10-30: main's public sign-up stands (docs/public-signup.md; see Security), the plan's first two packages (acc-1 and acc-2), merged on the way to round 5 part 2, were reverted, and accounts beyond public sign-up will be planned again with the owner. The note stays as background research.
  • idol-9 (round 5 part 2): Idol, one picture of one object to a 3D Gaussian splat. It is TripoSplat's architecture with new Apache-2.0 weights, which ComfyUI's stock TripoSplat nodes load, so it can become a second open model in Image to 3D → Splat on a copy of the image-to-splat-triposplat graph. Its "~2 s" claim doesn't hold (about 22–26 s on an RTX 5090 in ComfyUI), and fal and Replicate don't host it, so it is planned for the GPU only, with no substitute: 9 packages (idol-1 to idol-9), queued as Idol 3D. fal has hosted it since (speridlabs/idol, a splat only: the cloud's idol-3d). idol-1 reached main through its merges, and round 5 part 3 adds idol-2 to idol-9 (clean splats and Trim spikes, the splat suite, the splat viewer, Build the final with TRELLIS.2, the quick mesh, the four views, Cinema's props); idol-5's "Make it 3D (quick)" is left out for main's "Make it 3D", which opens Photo to 3D. The note now holds the viewer's choice (Spark) and the suites' rules, with their results pending a GPU run.
  • new-models-10 (.md and .json): what was new in open and hosted media models in September and October 2026 and what Fuobe was missing, with a build brief per package: 13 packages (nm10-*). Seven reached main through its merges (Kling 4.0, FLUX 3 Klein, Qwen-Image 2.1's fast LoRAs, MiniMax Music 3, MiniMax H3 on smaller cards, the hosted catch-up and Design a voice) and round 5 part 3 adds the other six: Pika H3 Flex, Edit speech, the keyers, RTX Video, Kandinsky 6.0 and World mode. Its endpointRecords are what the generator reads for the hosted ones; fal's world models are recorded there as research only.
  • hi3d-refine (.json only, round 5 part 3): Hi3D 1.0 (Sparc3D's refine stage, released open): weights, licence, hardware (an Ampere GPU or newer, CUDA 12), ComfyUI support and hosting (nobody hosts the open refine), and why the refined mesh ships as geometry only (texturing it needs one more node, an owner step).

How the build continues (where things stand, the owner's binding rules and open questions, the queue with each package's brief, and how to run, save and cut a PR) is in docs/HANDOFF.md, with its data and scripts in docs/handoff/; AGENTS.md points every new session at it. Next there, and not in this branch: Lane F, the owner's follow-ups of 11-04 (Kandinsky 6.0 with both sound decoders and their licences, for the person to pick; Make it 3D through fal's hosted Idol on installs without a GPU; fal's world models under their own names; MiniMax H3 reference tokens past 4,096 priced; a Settings field for WorldCast's token; ComfyUI 0.43.1 with colour and depth control for MOSS one-sheets; and no Best or recommended label on model pickers for now, with an evaluation plan).