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.

Merge branch 'claude/fuobe-parity-4' into o/archive-restore

Claudedc79656097df
diff --cc scripts/comfy/README.md
index 4fd2f59a,26851760..bd48fdff
--- a/scripts/comfy/README.md
+++ b/scripts/comfy/README.md
@@@ -354,32 -360,45 +360,69 @@@ node validate-workflows.mjs video-chara
- **Not run**: neither graph has loaded in a ComfyUI with H3 Relay, and nothing has run on a GPU.
`tests/comfy-swap-studio.test.ts` checks the provider's rewrites on the library files.
+ ### Round 5: open tools and Evolution (Originals O11 and O13, 2026-10-29)
+
+ Four hand-built entries and one rebuilt one, all `validated: true` (the library then: 154 workflows, 149 validated). No new
+ node pack and no new worker; ComfyUI stays at 0.41.0. Fuobe Mixed Media, Fuobe Shorts, Fuobe Marketing Image and
+ Fuobe Try-On (O9 and O10) run graphs that were already in the library.
+
+ ```bash
+ npm run build -- qwen-image-edit-2509-angles image-face-mosaic-sam3 video-depth-vda-large video-evolution-wan22-fun-vace infinitetalk-wanwrapper
+ node validate-workflows.mjs qwen-image-edit-2509-angles image-face-mosaic-sam3 video-depth-vda-large video-evolution-wan22-fun-vace infinitetalk-wanwrapper --shared
+ ```
+
+ | id | capability | what | validated here |
+ |---|---|---|---|
+ | `qwen-image-edit-2509-angles` | edit | Fuobe Angles on your GPU: the library's `qwen-image-edit-2509` (fp8, the Lightning 4-step LoRA) with dx8152's Multiple-angles LoRA after it at 1.25, 6 steps (fal's default for this LoRA; a guess until measured). The prompt is the LoRA's own camera words in Chinese with English, which `src/lib/catalog/open-tools.ts` writes from the app's controls. 24 GB | yes (/prompt only; no Qwen weights here) |
+ | `image-face-mosaic-sam3` | face-mosaic | Fuobe Soul's PixeletedFace look: SAM 3.1 finds every face from the words ("face" by default, `threshold` 0.4), the mask grows 12 px, and the picture is shrunk by `mosaicScale` (0.04: blocks of about 25 px) and blown back up only under the mask. No face: the picture comes back unchanged. Core nodes and SAM 3.1 (1.75 GB); 4 GB | yes |
+ | `video-depth-vda-large` | depth-video | `video-depth-vda-small` with Video Depth Anything's Large model. Its weights are CC-BY-NC-4.0 (information: Settings → Models & licences lists them as Non-commercial with a switch); Depth map's default stays the small model. It downloads about 1.5 GB on its first run (`autoDownloads`); 8 GB | yes |
+ | `video-evolution-wan22-fun-vace` | v2v | Fuobe Evolution, one segment of up to 81 frames at 16 fps: Wan 2.2 Fun VACE starts from the segment itself, noised to `denoise` (Low 0.45, Medium 0.65, High 0.85), with Depth Anything 3 depth on every frame as control and the direction frame (`image`, from `qwen-image-edit-2511`) as the reference. Any clip loads: `VHS_LoadVideo` resamples it to 16 fps and cuts it to 4n+1 frames. The graph computes the schedule so that the last 4 steps (the Lightx2v 4-step LoRAs) start within a few hundredths of the asked `denoise`, and Wan 2.2's high-noise expert only takes steps above its switch point. Same 45.49 GB of weights as `video-restyle-wan22-fun-vace`; 24 GB | yes |
+ | `infinitetalk-wanwrapper` (rebuilt) | lipsync | Now hand-built from the graph kijai's example 03 export gave, so it builds without a frontend export. New bindings `lora`, `loraStrength`, `cfg`, `shift`, `scheduler`, `motionFrame`, `colormatch` and `audioCfg` carry Fuobe Speak's settings (FusioniX at 1, 25 steps, cfg 5, audio cfg 5, shift 10, `unipc`, 15 motion frames, `reinhard` colour match); its defaults stay the fast lightx2v pass. FusioniX (0.37 GB) is an optional model; 16 GB | yes |
+
+ - **Weights**: two new files, both LoRAs Fuobe downloads into the LoRA folder before a run: dx8152's Multiple-angles LoRA
+ (0.24 GB, renamed from `镜头转换.safetensors` to `qwen-edit-2509-multiple-angles-dx8152.safetensors`) and FusioniX
+ (0.37 GB, optional). Both are pinned to a Hugging Face commit in `KNOWN_MODELS`.
+ - **Build**: `build-library.mjs` gains the binding keys `scheduler`, `motionFrame`, `colormatch`, `audioCfg`, `threshold`
+ and `mosaicScale`.
+ - **Licences, as information**: Apache-2.0 (Qwen-Image-Edit 2509, the Multiple-angles and Lightning LoRAs, Wan 2.2 Fun
+ VACE, lightx2v, Depth Anything 3 mono-large, InfiniteTalk); FusioniX has an Apache-2.0 card, but the LoRAs it merges
+ weren't checked; Meta's SAM License; CC-BY-NC-4.0 (Video Depth Anything Large).
+ - **Not run**: the validator posts each graph to `/prompt` on the CPU server and never lets it run, so none of these has
+ rendered anything. Nothing has run on a GPU: not the Lightning LoRA at 6 steps with the angles LoRA, not InfiniteTalk's
+ colour correction as `reinhard`, and not the Evolution intensities. `tests/open-tools.test.ts` and
+ `tests/evolution-comfy.test.ts` check the provider's bindings on the library files.
+
+### Restore & colourise (o/archive-restore, 2026-10-30)
+
+One hand-built entry for Video tools → Restore & colourise and the Canvas Restore node: Lightricks' Restore IC-LoRA on
+LTX-2.5 22B distilled with tiled latent fusion (docs/research/fuobe-originals-recipes-5.json, studio `archive-restore`):
+
+```bash
+npm run build -- video-restore-ltx25-tiled
+node validate-workflows.mjs video-restore-ltx25-tiled --shared
+```
+
+| id | capability | what | validated here |
+|---|---|---|---|
+| `video-restore-ltx25-tiled` | restore-video | One window of up to 97 frames (`windowStart`, `windowFrames`) scaled with lanczos to the card's canvas (1440x1088 for 4:3, 1920x1088 for 16:9), restored by `LTXVTiledFusionSampler` in 960x544 tiles at 50% overlap with the card's 8-step sigmas (euler, cfg 1). A later window takes the last 17 restored frames of the one before through `LTXVAddGuide` at frame 0 (`video2`, `prefixFrom`, `prefixFrames`) and drops them from its output; a reference picture goes in at `frame_idx` -1; deinterlacing keeps one field (`fieldWidth`, `fieldHeight`). Stage 2 (Restore to 4K) is the same graph with the Detail Refine IC-LoRA and 1024x576 tiles at twice the canvas. A whole clip in one run streams past 97 frames up to 481. The provider removes the unused branches (`src/lib/restore-graph.ts`); the pipeline joins the windows packet by packet and puts the sound back. 24 GB | no: `missing_node_type` (the ComfyUI-LTXVideo classes) |
+
+- **Node pack**: ComfyUI-LTXVideo (LTX-2 Community License, free below US$10M annual revenue: information, not a gate),
+ pinned in `install-comfyui.sh` at `220e1d45`. It is not installed on the
+ CPU validation server, so the build records its classes as unknown and the entry stays unvalidated.
+- **Weights**: the LTX-2.5 22B distilled transformer (int8), its VAE and the Gemma text encoder, plus the Restore IC-LoRA
+ (1.7 GB) and, for stage 2, the Detail Refine IC-LoRA (1.3 GB). Both LoRAs are gated on Hugging Face: accept the licence
+ there, add a token in Settings → LoRAs, and the provider downloads the one a run loads before it submits. LoRA files
+ are never committed.
+- **Not run**: the graph has not loaded in a ComfyUI with ComfyUI-LTXVideo, and nothing has run on a GPU.
+ `tests/restore-comfy.test.ts` checks the bindings and branch removal on the library file.
+
## DBS soundtrack separation (DBS D1)
+ PR #15 adds three hand-built graphs: this one, the fly path's and MOSS-Image's (below), all `validated: true` (the
+ library: 158 workflows, 153 validated; the five that aren't are the H3 graphs above, whose node packs the validation
+ server doesn't have). One new node pack, ComfyUI-DBS; the other two graphs use core nodes only. None of the three has
+ run on a GPU.
+
One hand-built graph splits a soundtrack into dialogue, music and effects (docs/research/dbs-separation-7.md §4.4, graph A):
```bash
diff --cc scripts/comfy/build-library.mjs
index 8008ae31,43e9461d..1db8b0e6
--- a/scripts/comfy/build-library.mjs
+++ b/scripts/comfy/build-library.mjs
@@@ -67,8 -68,8 +68,10 @@@ export const LOADER_FOLDERS =
// comfyui-oss-4 additions
OpticalFlowLoader: { model_name: 'optical_flow' },
LoadMoGeModel: { model_name: 'geometry_estimation' },
+ // archive-restore: Lightricks' IC-LoRA loader (ComfyUI-LTXVideo)
+ LTXICLoRALoaderModelOnly: { lora_name: 'loras' },
+ // MiniMax H3 video: larryvrh's turbo LoRA loader (ComfyUI-MiniMax-H3-Turbo) reads models/loras.
+ MiniMaxH3TurboLoRA: { lora_name: 'loras' },
};
// Nodes that fetch their own weights at runtime (no manual download needed; listed in the entry's autoDownloads).
const SELF_DOWNLOADING = new Set(['RIFE VFI', 'DownloadAndLoadWav2VecModel', 'RMBG', 'AILab_Qwen3ASRSubtitle', 'Apply Whisper', 'ClothesSegment', 'LatentSyncNode']);
@@@ -138,8 -137,8 +141,10 @@@ export const BINDING_KEYS = new Set(
'separationModel', 'channels',
// MOSS-Image (docs/research/new-models-7.md §4.6): the KSampler's sampler and the UNET file its Quality / Fast settings pick
'sampler', 'unet',
+ // archive-restore (Restore & colourise): the window, the canvas, the prefix hand-off, deinterlacing and the fusion tiles
+ 'windowStart', 'canvasWidth', 'canvasHeight', 'fieldWidth', 'fieldHeight', 'prefixFrom', 'prefixFrames', 'tileWidth', 'tileHeight', 'streaming', 'tileFrames',
+ // The owner's SOTA image families (2026-10-31): Ideogram 4's sampling preset
+ 'preset',
]);
// Sizes in GB: two decimals, and three where two would read 0 (a 4 MB DBS model), so no other entry's size changes.
diff --cc scripts/comfy/install-comfyui.sh
index e3bdbfbe,6432e06a..1ea803ba
--- a/scripts/comfy/install-comfyui.sh
+++ b/scripts/comfy/install-comfyui.sh
@@@ -36,10 -35,10 +35,14 @@@ declare -A NODES=
# reason; the code was read at this commit (no network, exec or download paths in the nodes). It needs einops and
# safetensors only, both already installed below. Weights: the DBS_WEIGHTS block at the end of this script.
[ComfyUI-DBS]="https://github.com/hiroki-abe-58/ComfyUI-DBS f656e53434b5485c148a2866fbd6ddc6b6152ed6"
+ # Lightricks' LTX nodes for Restore & colourise (package archive-restore): LTXICLoRALoaderModelOnly, LTXAddVideoICLoRAGuide
+ # and LTXVTiledFusionSampler (per-step tiled latent fusion). LTX-2 Community License (the repository's LICENSE: free below
+ # US$10M annual revenue). Read at this commit (2026-10-20); its requirements are installed below.
+ [ComfyUI-LTXVideo]="https://github.com/Lightricks/ComfyUI-LTXVideo 220e1d45aa0469f518e982102fca4dca92a61862"
+ # MiniMax H3 video (minimax-h3-t2v / i2v / flf2v): larryvrh's turbo LoRA loader and sampler (Apache-2.0, v1.2.3, no
+ # dependencies) and PlagueKind's SLA attention and AdaLN LoRA fix (MIT, v1.5.6; the SLA kernel imports triton, installed below).
+ [ComfyUI-MiniMax-H3-Turbo]="https://github.com/Larryvrh/ComfyUI-MiniMax-H3-Turbo 77bfa67575b14e3be6214f1747732e540c68b5dd"
+ [plaguekind-nodes]="https://github.com/PlagueKind/ComfyUI-PlagueKind-Nodes d58d006a4ea32c25c06499f2ff104f0852a045a6"
)
# Licences are information (Settings → Models & licences has the switches): every pack is installed, the
# non-commercial ComfyUI-Whisper (CC-BY-NC-SA-4.0, used by the captions-whisper-burnin workflow) included.
diff --cc scripts/comfy/library.spec.mjs
index f47fe30d,9b6e1c3a..f6ac2184
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@@ -152,8 -153,16 +153,18 @@@ export const CUSTOM_NODE_REPOS =
'h3-relay': 'https://github.com/akatz-ai/h3-relay/tree/e2a7665b6eb8ea37a88c0de2c9c6b69a8f7c9220',
// DBS soundtrack separation (docs/research/dbs-separation-7.md §4): pinned in install-comfyui.sh, not on the validation server.
'ComfyUI-DBS': 'https://github.com/hiroki-abe-58/ComfyUI-DBS/tree/f656e53434b5485c148a2866fbd6ddc6b6152ed6',
+ // Restore & colourise (package archive-restore): Lightricks' LTX nodes, pinned in install-comfyui.sh, not on the validation server.
+ 'ComfyUI-LTXVideo': 'https://github.com/Lightricks/ComfyUI-LTXVideo/tree/220e1d45aa0469f518e982102fca4dca92a61862',
+ // Owner's SOTA image families (2026-10-31): AusBoss's crop, pad and stitch nodes (Qwen-Image 2.1 inpaint and expand), MIT.
+ 'ausboss-nodes': 'https://github.com/ausboss/ComfyUI-AusBoss',
+ // Krea 2 edits (the owner's SOTA families, 2026-10-31): the Krea 2 Identity Edit nodes, and Ostris' edit nodes that
+ // Krea 2 Inpaint needs (not installed on the validation server: krea2-inpaint / krea2-outpaint list it with `packs`).
+ 'comfyui-krea2edit': 'https://github.com/lbouaraba/comfyui-krea2edit',
+ 'ComfyUI-Krea2-Ostris-Edit': 'https://github.com/ostris/ComfyUI-Krea2-Ostris-Edit',
+ // MiniMax H3 video (minimax-h3-t2v / i2v / flf2v): larryvrh's turbo LoRA loader and sampler (Apache-2.0, v1.2.3) and
+ // PlagueKind's SLA attention and AdaLN LoRA fix (MIT, v1.5.6; the SLA kernel needs Triton). Pinned in install-comfyui.sh.
+ 'ComfyUI-MiniMax-H3-Turbo': 'https://github.com/Larryvrh/ComfyUI-MiniMax-H3-Turbo/tree/77bfa67575b14e3be6214f1747732e540c68b5dd',
+ 'plaguekind-nodes': 'https://github.com/PlagueKind/ComfyUI-PlagueKind-Nodes/tree/d58d006a4ea32c25c06499f2ff104f0852a045a6',
};
// Node classes of the packs entries list in `packs` (packs the validation server doesn't have installed): the build
@@@ -162,7 -172,13 +174,14 @@@ export const PACK_CLASSES =
h3_character_swap: /^H3CharacterSwap/,
'h3-relay': /^(H3Relay|LabsH3)/,
'ComfyUI-DBS': /^DBS(Loader|Separate)$/,
+ 'ComfyUI-LTXVideo': /^(LTXICLoRALoaderModelOnly|LTXAddVideoICLoRAGuide|LTXVTiledFusionSampler)$/,
+ 'ausboss-nodes': /^AUSBOSS_NODES_/,
+ // Installed on the validation server, but a ComfyUI with comfyui-workflow-encrypt names that pack as these classes' module.
+ 'comfyui-krea2edit': /^Krea2Edit(ModelPatch|GroundedEncode)$/,
+ 'ComfyUI-Krea2-Ostris-Edit': /^(TextEncodeKrea2OstrisEdit|Krea2OstrisEditModelPatch)$/,
+ // MiniMax H3 video. The turbo classes need naming here: a ComfyUI with comfyui-workflow-encrypt reports that pack as their module.
+ 'ComfyUI-MiniMax-H3-Turbo': /^MiniMaxH3Turbo(LoRA|Sampler)$/,
+ 'plaguekind-nodes': /^H3(SLAAttention|AdaLNLoRAFix)$/,
};
// Model download locations for files that the source workflow does not annotate
@@@ -2230,60 -2764,9 +2769,60 @@@ export const SPEC =
license: 'LTX-2 Community License (LTX-2.3 22B: free under US$10M annual revenue); Gemma 3 text encoder (Gemma Terms of Use)',
notes:
'ltx23-i2v-lora without the start frame: the empty latent takes width x height directly. LoRAs injected after the CheckpointLoaderSimple. Silent (the audio is not decoded). ' +
- 'Not used by a catalog model yet (build plan O4 lists it for LTX camera LoRAs without a start frame).',
+ 'Suits LTX camera LoRAs when there is no start frame.',
},
+ // ---- Restore & colourise (package archive-restore): Lightricks' Restore IC-LoRA, tiled latent fusion --------------
+ {
+ id: 'video-restore-ltx25-tiled',
+ title: 'Restore & colourise archive footage: LTX-2.5 22B distilled + the Restore IC-LoRA, tiled latent fusion, one 97-frame window with the 17-frame prefix hand-off (stage 2: the Detail Refine IC-LoRA) (ComfyUI-LTXVideo pack)',
+ capability: 'restore-video',
+ handBuilt: 'hand-built/video-restore-ltx25-tiled.json',
+ packs: ['ComfyUI-LTXVideo'],
+ modelUrls: {
+ // The LTX-2.5 files ltx25-i2v / ltx25-t2v load (their template's links), and the Restore IC-LoRA at the researched commit.
+ 'ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors': 'https://huggingface.co/Lightricks/LTX-2.5/resolve/main/diffusion_models/ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors',
+ 'ltx-2.5-video-vae-bf16.safetensors': 'https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors',
+ 'gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors': 'https://huggingface.co/Lightricks/LTX-2.5/resolve/main/text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors',
+ 'ltx-2.5-22b-ic-lora-restore-1.0.safetensors': 'https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Restore/resolve/79245e197a6cd3251e77d178dc380b0e9f2d6563/ltx-2.5-22b-ic-lora-restore-1.0.safetensors',
+ },
+ optionalModels: ['ltx-2.5-22b-ic-lora-refine-details-1.0.safetensors'],
+ bindings: {
+ video: [b('source', 'video')], video2: [b('prefix_source', 'video')], image: [b('reference', 'image')],
+ prompt: [b('positive', 'text')], negativePrompt: [b('negative', 'text')], seed: [b('sample', 'seed')], cfg: [b('sample', 'cfg')],
+ fps: [b('conditioning', 'frame_rate'), b('video', 'fps')],
+ windowStart: [b('source', 'skip_first_frames')], windowFrames: [b('source', 'frame_load_cap'), b('empty', 'length')],
+ canvasWidth: [b('canvas', 'width'), b('empty', 'width'), b('reference_fit', 'width')],
+ canvasHeight: [b('canvas', 'height'), b('empty', 'height'), b('reference_fit', 'height')],
+ fieldWidth: [b('field', 'width')], fieldHeight: [b('field', 'height')],
+ prefixFrom: [b('prefix_source', 'skip_first_frames')], prefixFrames: [b('keep', 'batch_index')],
+ lora: [b('lora', 'lora_name')], loraStrength: [b('lora', 'strength_model')],
+ tileWidth: [b('sample', 'tile_width')], tileHeight: [b('sample', 'tile_height')],
+ streaming: [b('guide', 'use_streaming')], tileFrames: [b('sample', 'tile_frames')],
+ filenamePrefix: [b('save', 'filename_prefix')],
+ },
+ outputs: [{ node: 'save', kind: 'video' }],
+ defaults: {
+ lora: 'ltx-2.5-22b-ic-lora-restore-1.0.safetensors', windowStart: 0, windowFrames: 97, prefixFrames: 0, prefixFrom: 80, canvasWidth: 1440, canvasHeight: 1088,
+ fieldWidth: 640, fieldHeight: 240, tileWidth: 960, tileHeight: 544, streaming: false, tileFrames: 0,
+ },
+ limits: { maxWidth: 3840, maxHeight: 3840, maxFrames: 481, dimensionMultiple: 32, frameStep: 8 },
+ vramGb: 24,
+ license:
+ 'LTX-2.x Community License (LTX-2.5 22B distilled, its video VAE, and Lightricks\' Restore and Detail Refine IC-LoRAs, both gated on Hugging Face: free under US$10M annual revenue); ' +
+ 'Gemma 4 text encoder packaged by Lightricks; ComfyUI-LTXVideo nodes under the LTX-2 Community License (its LICENSE file)',
+ notes:
+ 'Built from the Restore IC-LoRA card\'s recipe (Hugging Face Lightricks/LTX-2.5-22b-IC-LoRA-Restore at 79245e1, read as data) and the node definitions of ComfyUI-LTXVideo at 220e1d4 ' +
+ '(its LTX-2.5_V2V_TiledFusion_Upscale example wires the same nodes): the window (windowStart, windowFrames: 8n+1, at most 97) read at the clip\'s own rate, lanczos to the canvas ' +
+ '(canvasWidth x canvasHeight: 1440x1088 for 4:3, 1920x1088 for 16:9), the frame-aligned IC-LoRA guide at downscale 1, LTXVTiledFusionSampler with 960x544 tiles at 50% overlap ' +
+ 'and the 8 distilled sigmas (euler, cfg 1), tiled decode, silent H.264 (the pipeline puts the sound back after the join). ' +
+ 'video2 = the window before\'s saved frames; its last 17 (prefixFrom) go in as LTXVAddGuide at frame 0, and prefixFrames (17) drops them from this window\'s output; absent on the ' +
+ 'first window (the provider removes that branch). image = an optional reference picture at frame_idx -1 (a second IC-LoRA guide; removed without one). deinterlace keeps one field ' +
+ '(fieldWidth x fieldHeight, nearest rows: no blending; ComfyUI has no fieldmatch/yadif/decimate node), removed when off. Stage 2 (Restore to 4K): the same graph on the restored clip ' +
+ 'with the Detail Refine IC-LoRA, a 2x canvas and 1024x576 tiles. A single generation of a whole clip past 97 frames streams: streaming on the guide and tileFrames 97 on the sampler ' +
+ '(the card\'s other long-clip path; no reference picture there). Needs the ComfyUI-LTXVideo pack. Not validated here: the pack is not installed on this server.',
+ },
+
// ---- Shorts Studio / Mixed Media: trim, segment, restyle ------------------------
{
id: 'video-trim',
diff --cc scripts/gen-cloud-models.py
index 2272b2ff,f86398d9..ed8e44bd
--- a/scripts/gen-cloud-models.py
+++ b/scripts/gen-cloud-models.py
@@@ -674,42 -678,23 +678,40 @@@ model("fuobe-shorts", "Fuobe Shorts", "
original=True, fit_values=True, pricing=("second", 0.1, f"720p; 580p $0.075, 480p $0.05 · {_FRAMES16}; the first frame's Qwen edit is priced on its own",
{"byResolution": {"720p": 0.1, "580p": 0.075, "480p": 0.05}}),
api_defaults=SHORTS_O["cloud"]["defaults"], defaults={"resolution": "720p"}, licence=SHORTS_O["licence"])
- # ----- Originals (O13): Fuobe Evolution's cloud half (research §8 evolution → studios[evolution].original): Higgsfield
- # Evolution's change intensity as LTX-2.3 22B video-to-video's video_strength (1 − the denoise the open graph uses; set by
- # src/lib/catalog/evolution.ts through params.extra), the LLM-written direction as the prompt, prompt expansion off. Silent
- # (the clip's own sound goes back on), 24 fps, at most 481 frames a call (Evolution cuts longer clips into pieces); the
- # tier's size for the clip's shape from Fuobe Cinema's table. Priced per megapixel of video like Fuobe Cinema.
+ # ----- Originals (O13): Fuobe Evolution's cloud half (research §8 evolution → studios[evolution].original.cloud): fal's
+ # hosted Wan 2.2 Fun VACE depth, the GPU recipe's own model (the owner's call of 2026-10-30; LTX-2.3 video-to-video until
+ # 2026-11-01). The piece as video_url (preprocess on, fal derives the depth), its direction frame (hosted
+ # Qwen-Image-Edit 2511, planned by src/lib/catalog/evolution.ts) as the VACE reference, ref_image_urls, the way the GPU
+ # graph feeds it to WanVaceToVideo's reference_image (`image`, fal's first_frame_url, is dropped: the GPU pins no first
+ # frame; research studios[evolution].original.cloud.frameRole), frames and rate matched to the piece, no aspect ratio
+ # asked (the clip keeps its shape).
+ # The endpoint has no strength field: the change level reaches the direction frame's instruction only. Silent: the clip's
+ # own sound goes back on.
EVOLUTION = next(s for s in ORIGINALS["studios"] if s["id"] == "evolution")["original"]["cloud"]
- EVOLUTION_MP = per_megapixel(EVOLUTION["endpoint"])
- EVOLUTION_MP_LORA = per_megapixel(EVOLUTION["loraEndpoint"])
- EVOLUTION_PER_SECOND = {t: round(s["16:9"][0] * s["16:9"][1] * EVOLUTION["fps"] / 1e6 * EVOLUTION_MP, 4) for t, s in CINEMA_SIZES.items()}
- EVOLUTION_PER_SECOND_LORA = {t: round(s["16:9"][0] * s["16:9"][1] * EVOLUTION["fps"] / 1e6 * EVOLUTION_MP_LORA, 4) for t, s in CINEMA_SIZES.items()}
model("fuobe-evolution", "Fuobe Evolution", "Fuobe Original", "fuobe-evolution", "video",
- "Takes your clip further in a direction an LLM writes from your references: LTX-2.3 video to video at a change intensity",
- [("v2v", EVOLUTION["endpoint"], "fal", {"loraEndpoint": EVOLUTION["loraEndpoint"], "fixed": EVOLUTION["fixed"]})],
- original=True, sizes=CINEMA_SIZES,
- pricing=("second", EVOLUTION_PER_SECOND["720p"],
- f"${EVOLUTION_MP} per megapixel of video (width × height × frames): about ${round(EVOLUTION_PER_SECOND['720p'] * 5, 2)} for 5 s at 720p; ${EVOLUTION_MP_LORA} with LoRAs",
- {"byResolution": EVOLUTION_PER_SECOND, "withLoras": EVOLUTION_PER_SECOND_LORA["720p"], "withLorasByResolution": EVOLUTION_PER_SECOND_LORA,
- "videoMegapixel": {"usd": EVOLUTION_MP, "withLoras": EVOLUTION_MP_LORA}}),
- defaults={"aspectRatio": "16:9", "duration": 5, "resolution": "720p"}, frame_step=8)
+ "Takes your clip further in a direction an LLM writes from your references: a direction frame per piece carried through it by depth (Wan 2.2 Fun VACE)",
+ [("v2v", EVOLUTION["endpoint"], "fal", {"drop": ["aspectRatio", "image"], "fixed": EVOLUTION["fixed"]})],
+ original=True, fit_values=True, pricing=("second", 0.1, f"720p; 580p $0.075, 480p $0.05 · {_FRAMES16}; each direction frame's Qwen edit is priced on its own",
+ {"byResolution": {"720p": 0.1, "580p": 0.075, "480p": 0.05}}),
+ options={"resolutions": EVOLUTION["resolutions"]}, api_defaults=EVOLUTION["defaults"], defaults={"resolution": "720p"},
+ licence={**SHORTS_O["licence"], "note": "Wan 2.2 Fun VACE A14B and Qwen-Image-Edit 2511 (the direction frames) are Apache-2.0"})
+# ----- Original (package archive-restore): Fuobe Restore's cloud half, Lightricks' Restore IC-LoRA on fal's LTX-2.3 22B
+# reference video to video (research studios[archive-restore].original.cloud). The archive clip is the reference video, the
+# LoRA (gated on Hugging Face) goes by Fuobe's mirror URL; fal's own IC-LoRAs and preprocessors stay out. One untiled pass a
+# call at the tier's size for the clip's nearest shape (Fuobe Cinema's table: the card's 1440x1088 / 1920x1088 at 1080p), as
+# many frames as the piece (src/lib/catalog/restore.ts cuts 97-frame pieces), at the clip's own frame rate. Priced per
+# megapixel of video like Fuobe Cinema; the endpoint is the /lora one, so its price is the LoRA price.
+RESTORE_O = next(s for s in ORIGINALS["studios"] if s["id"] == "archive-restore")["original"]["cloud"]
+RESTORE_MP = per_megapixel(RESTORE_O["endpoint"])
+RESTORE_PER_SECOND = {t: round(s["4:3"][0] * s["4:3"][1] * 24 / 1e6 * RESTORE_MP, 4) for t, s in CINEMA_SIZES.items() if t != "480p"}
+model("fuobe-restore", "Fuobe Restore", "Fuobe Original", "fuobe-restore", "video",
+ "Restore and colourise archive footage: Lightricks' Restore IC-LoRA on LTX-2.3, one untiled pass a piece",
+ [("restore-video", RESTORE_O["endpoint"], "fal", {"fixed": RESTORE_O["fixed"], "defaults": RESTORE_O["defaults"]})],
+ original=True, sizes={t: s for t, s in CINEMA_SIZES.items() if t != "480p"},
+ pricing=("second", RESTORE_PER_SECOND["720p"],
+ f"${RESTORE_MP} per megapixel of video (width × height × frames): about ${round(RESTORE_PER_SECOND['720p'] * 4, 2)} for 4 s of a 4:3 clip at 720p",
+ {"byResolution": RESTORE_PER_SECOND, "videoMegapixel": {"usd": RESTORE_MP}}),
+ defaults={"aspectRatio": "4:3", "resolution": "720p"}, frame_step=8)
# ----- Originals (O11): the rebranded open tools and Speak on hosted open weights (research studios[angles].original,
# studios[speak].original). Fuobe Angles is fal's LoRA-gallery route of Qwen-Image-Edit 2509 with dx8152's Multiple-angles
# LoRA: Higgsfield Angles' controls are its fields (rotate −90…90°, positive = left; vertical −1…1, −1 = bird's-eye;
diff --cc src/app/api/providers/test/route.ts
index 0e09b9ac,31f1d059..5ff96c1a
--- a/src/app/api/providers/test/route.ts
+++ b/src/app/api/providers/test/route.ts
@@@ -1,32 -1,24 +1,32 @@@
import { candidateValues, isTestProvider, PROVIDER_SETTINGS, settingProblem } from "@/lib/connections";
-import { testCivitaiKey } from "@/server/loras";
+import { testCivitaiKey, testHfToken } from "@/server/loras";
import { testAiToolkit } from "@/server/training";
import { PROVIDERS } from "@/server/providers";
+ import { hostedAddressRefusal } from "@/server/providers/comfy-address";
import { validateSetting, withCandidates, type SettingName } from "@/server/settings";
- import { rethrowAccess } from "@/server/access/errors";
- import { handler } from "@/server/access/route";
/**
* Test a provider's connection. With `value` (the provider's main setting) or `values` (by setting
* name), the test runs with those unsaved values instead of the saved ones, so Settings can check a
* key or an address before saving it. `field` names the setting being checked (else the first
* unsaved one), so a provider that reaches several servers tests that one: the Anthropic key is
- * checked with Anthropic even when text steps run on Ollama. Nothing is stored here.
+ * checked with Anthropic even when text steps run on Ollama. Nothing is stored here. `place: "hosted"` (the page isn't
+ * on this server's machine) refuses a ComfyUI address on this machine or its network without calling it.
*/
- export const POST = handler({ access: "perm:install.settings" }, async (request: Request) => {
- const body = (await request.json().catch(() => ({}))) as { provider?: unknown; value?: unknown; values?: unknown; field?: unknown };
+ export async function POST(request: Request) {
+ const body = (await request.json().catch(() => ({}))) as { provider?: unknown; value?: unknown; values?: unknown; field?: unknown; place?: unknown };
const provider = body.provider;
- // The civitai key isn't a model provider's (it downloads LoRAs), nor is AI-Toolkit (it trains them).
+ // The civitai key and the Hugging Face token aren't a model provider's (they download LoRAs), nor is AI-Toolkit (it trains them).
const adapter =
- provider === "civitai" ? { test: testCivitaiKey } : provider === "ai-toolkit" ? { test: testAiToolkit } : isTestProvider(provider) ? PROVIDERS[provider as Exclude<typeof provider, "civitai" | "ai-toolkit">] : undefined;
+ provider === "civitai"
+ ? { test: testCivitaiKey }
+ : provider === "huggingface"
+ ? { test: testHfToken }
+ : provider === "ai-toolkit"
+ ? { test: testAiToolkit }
+ : isTestProvider(provider)
+ ? PROVIDERS[provider as Exclude<typeof provider, "civitai" | "huggingface" | "ai-toolkit">]
+ : undefined;
if (!isTestProvider(provider) || !adapter?.test) return Response.json({ ok: false, detail: "Unknown provider" }, { status: 400 });
const values = candidateValues(provider, body.values, body.value) as Partial<Record<SettingName, string>>;
try {
diff --cc src/components/explainer/explainer-studio.tsx
index 7844d8cf,2a1d5aec..d0cc90d0
--- a/src/components/explainer/explainer-studio.tsx
+++ b/src/components/explainer/explainer-studio.tsx
@@@ -12,10 -12,9 +12,11 @@@ import { SidebarTrigger } from "@/compo
import { Skeleton } from "@/components/ui/skeleton";
import { Switch } from "@/components/ui/switch";
import { EngineSwitch } from "@/components/studio/engine-switch";
+import { grabFrames } from "@/components/restore/hooks";
+import { OldFootageOffer } from "@/components/restore/old-footage";
import { fileToSlot } from "@/components/studio/media-slot";
- import { useEngine } from "@/lib/api";
+ import { SelfHostNote } from "@/components/self-host-note";
+ import { useEngine, useLikelyVisitor } from "@/lib/api";
import {
ANIMATION_MODES,
AUTO_SECONDS,
@@@ -59,8 -59,8 +61,8 @@@ type Draft
| Exclude<ExplainerSource, { kind: "image" }>;
const STEPS = [
- { icon: Sparkles, title: "Choose Preset", text: "One of 22 looks: whiteboard, pixel art, paper diorama…" },
+ { icon: Sparkles, title: "Choose a style", text: "One of 22 looks: whiteboard, pixel art, paper diorama…" },
- { icon: Paperclip, title: "Attach a file or just prompt", text: "Images, a PDF, Word or text document, or a link — or only a topic." },
+ { icon: Paperclip, title: "Attach a file or just prompt", text: "Images, old footage, a PDF, Word or text document, or a link — or only a topic." },
{ icon: Download, title: "Download your result", text: "A narrated, subtitled video; fix any scene in the timeline." },
];
diff --cc src/components/lora-settings.tsx
index ec6e9cde,5c842135..c3128c2a
--- a/src/components/lora-settings.tsx
+++ b/src/components/lora-settings.tsx
@@@ -10,8 -10,9 +10,9 @@@ import { Label } from "@/components/ui/
import { ConnectField, type PublicSetting } from "@/components/connect-field";
import { radioKeys, radioTab } from "@/components/studio/radio-keys";
import { saveSettings } from "@/lib/api";
-import { CIVITAI_KEYS_URL } from "@/lib/connections";
+import { CIVITAI_KEYS_URL, HF_TOKENS_URL } from "@/lib/connections";
import { cn } from "@/lib/utils";
+ import { responseError, toastError } from "@/lib/refusals";
interface LibraryLora {
key: string;
diff --cc src/components/settings-form.tsx
index 9bbf25dd,5fed27c0..55b3ece4
--- a/src/components/settings-form.tsx
+++ b/src/components/settings-form.tsx
@@@ -339,7 -638,12 +638,12 @@@ export function SettingsForm({ prices }
title="LoRAs · looks, motions, effects and adapters"
description="Looks, camera moves and effects add LoRA files to open models, on your GPU and in the cloud; an adapter is the LoRA an Original always loads (Fuobe Try-On's). Fuobe fetches the pinned version a run needs and shows each file's licence; what may run where is your call in Models & licences."
>
+ {onComputer && (
+ <p className="flex items-start gap-1.5 text-[13px] text-muted-foreground">
+ <Info aria-hidden className="mt-0.5 size-3.5 shrink-0 text-brand-text" /> Your ComfyUI is on your computer: put LoRA files in its models/loras folder. Fuobe tells you which ones a run needs.
+ </p>
+ )}
- <LoraSettings folder={get("comfyLorasDir")} civitaiKey={get("civitaiKey")} />
+ <LoraSettings folder={get("comfyLorasDir")} civitaiKey={get("civitaiKey")} hfToken={get("huggingfaceToken")} />
</Section>
<Section
diff --cc src/components/shorts/shorts-studio.tsx
index 83c50904,9c65aa19..93c65a48
--- a/src/components/shorts/shorts-studio.tsx
+++ b/src/components/shorts/shorts-studio.tsx
@@@ -6,10 -6,10 +6,11 @@@ import { useDeferredValue, useEffect, u
import { toast } from "sonner";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";
import { SidebarTrigger } from "@/components/ui/sidebar";
+import { OldFootageOffer } from "@/components/restore/old-footage";
+ import { SelfHostNote } from "@/components/self-host-note";
import { EngineSwitch } from "@/components/studio/engine-switch";
import { VideoTrimmer } from "@/components/studio/video-trimmer";
- import { useEngine, useModelAccess } from "@/lib/api";
+ import { useEngine, useIsOwner, useLikelyVisitor, useModelAccess } from "@/lib/api";
import {
clipShapeProblem,
rangeProblem,
diff --cc src/components/studio/result-actions.tsx
index 6ba183c8,1d781fa4..0ee3baf8
--- a/src/components/studio/result-actions.tsx
+++ b/src/components/studio/result-actions.tsx
@@@ -18,7 -18,7 +18,8 @@@ import
Heart,
ImagePlus,
Layers2,
+ Palette,
+ LayoutDashboard,
Mic2,
MoreHorizontal,
Pin,
diff --cc src/lib/catalog/canvas.ts
index f04e5314,320b694a..4c723f4e
--- a/src/lib/catalog/canvas.ts
+++ b/src/lib/catalog/canvas.ts
@@@ -347,9 -344,8 +347,9 @@@ const PREFERRED: Partial<Record<Operati
sfx: { cloud: "elevenlabs-sfx" },
concat: { cloud: "join-clips", open: "oss-join-clips" },
frame: { cloud: "extract-frame" },
- "upscale-image": { cloud: "topaz-image", open: "oss-upscale-image" },
- "upscale-video": { cloud: "topaz-video", open: "oss-upscale-video-esrgan" },
+ "upscale-image": { cloud: "topaz-image", open: "oss-seedvr2-image" },
+ "upscale-video": { cloud: "topaz-video", open: "oss-seedvr2" },
+ "restore-video": { cloud: "fuobe-restore", open: "fuobe-restore" },
"bg-remove": { cloud: "birefnet-cloud", open: "oss-rmbg" },
"bg-remove-video": { cloud: "birefnet-video", open: "oss-video-matte-birefnet" },
write: { cloud: "text-llm", open: "oss-text-llm" },
diff --cc src/lib/catalog/models.ts
index 48d01881,5c5fb498..83a0cb65
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@@ -5,8 -4,7 +4,8 @@@ import { ASR_LANGUAGES, WHISPER_LANGUAG
import { loraEntry, loraRef } from "./loras";
import { ANGLES_LORA, MOSAIC_SCALE, MOSAIC_TARGET, SPEAK_GRAPH, SPEAK_LORA, SPEAK_PROMPT } from "./open-tools";
import { CINEMA_CROP, SOUL_ASPECTS, SOUL_TIERS } from "./soul";
+import { RESTORE, offlineRestorePrompt } from "./restore";
- import { CLOUD_SHAPES, denoiseFor, EVOLUTION, EVOLUTION_DEFAULT_RESOLUTION, EVOLUTION_RESOLUTIONS, INTENSITIES, videoStrengthFor, type Intensity } from "./evolution";
+ import { denoiseFor, EVOLUTION, EVOLUTION_DEFAULT_RESOLUTION, EVOLUTION_RESOLUTIONS, INTENSITIES, type Intensity } from "./evolution";
import { LAST_FRAME_CHAIN, type ModelDef, type ModelOptions, type ModelRoute, type Operation } from "./types";
/*
diff --cc src/lib/catalog/plan.ts
index 0f435124,f875772b..7684399e
--- a/src/lib/catalog/plan.ts
+++ b/src/lib/catalog/plan.ts
@@@ -9,11 -9,10 +9,10 @@@ import type
Operation,
Preset,
PresetRoute,
- Pricing,
} from "./types";
- import { sourceSeconds } from "./clip-windows";
+ import { billedClipSeconds, sourceSeconds } from "./clip-windows";
import { chainGapProblem, chainTiming, FIRST_AT_ZERO, frameTimes, keyframeChain, MAX_KEYFRAMES, spread } from "./keyframes";
-import { cloudPath, fitLoras, gated, localOnly, loraCapacity, needsToken, routeLoraField, triggerOf } from "./loras";
+import { cloudPath, fitLoras, localOnly, loraCapacity, needsToken, routeLoraField, triggerOf } from "./loras";
import { anglesPrompt, anglesWords, ANGLES_ORIGINAL } from "./open-tools";
import { askedSize, numFramesValue, sizeValue } from "./payload";
import { characterScale, CINEMA_CROP, soulKind, soulMegapixels, soulRecipe, soulSize, type SoulOverlay } from "./soul";
diff --cc src/lib/connections.ts
index c561bd68,dd3b346e..72d2093b
--- a/src/lib/connections.ts
+++ b/src/lib/connections.ts
@@@ -3,19 -3,62 +3,64 @@@
* connection test route: which settings each provider's test reads, what a well-formed key or
* address looks like, when to offer the first-run guide, and each connection's one-line status.
*/
+ import { LLM_PROVIDERS } from "./catalog/llm-providers";
-export type TestProvider = "fal" | "replicate" | "comfyui" | "llm" | "civitai" | "ai-toolkit";
+export type TestProvider = "fal" | "replicate" | "comfyui" | "llm" | "civitai" | "huggingface" | "ai-toolkit";
/** The settings each provider's connection test reads; an unsaved value for one of them can be tested before it's saved. */
export const PROVIDER_SETTINGS = {
fal: ["falKey"],
replicate: ["replicateToken"],
- comfyui: ["comfyUrl", "comfyToken", "comfyIsolatedUrl"],
- llm: ["anthropicKey", "ollamaUrl", "ollamaModel", "enhanceProvider"],
+ // comfyWhere "server": a server address tested while ComfyUI runs on the owner's computer is tested as a server.
+ comfyui: ["comfyUrl", "comfyToken", "comfyIsolatedUrl", "comfyWhere"],
+ // Claude, and the local model servers of Settings → AI helper (Ollama, LM Studio, Unsloth Studio, any OpenAI-compatible one).
+ llm: [
+ "anthropicKey",
+ "ollamaUrl",
+ "ollamaModel",
+ "enhanceProvider",
+ "llmProvider",
+ "lmstudioUrl",
+ "lmstudioModel",
+ "lmstudioToken",
+ "unslothUrl",
+ "unslothModel",
+ "unslothKey",
+ "llmUrl",
+ "llmModel",
+ "llmKey",
+ "llmContext",
+ // Assist's hosted providers: keys, regions and Qwen's workspace (src/lib/catalog/llm-providers.ts).
+ "openaiKey",
+ "openaiRegion",
+ "googleKey",
+ "xaiKey",
+ "xaiRegion",
+ "metaKey",
+ "mistralKey",
+ "cohereKey",
+ "deepseekKey",
+ "moonshotKey",
+ "moonshotRegion",
+ "zaiKey",
+ "zaiRegion",
+ "qwenKey",
+ "qwenRegion",
+ "qwenWorkspace",
+ "minimaxKey",
+ "minimaxRegion",
+ "openrouterKey",
+ "groqKey",
+ "cerebrasKey",
+ "togetherKey",
+ "togetherRegion",
+ "fireworksKey",
+ "huggingfaceToken",
+ ],
// Not a model provider: the key that downloads a recipe's civitai LoRAs (Settings → LoRAs).
civitai: ["civitaiKey"],
+ // Nor this: the token that downloads gated Hugging Face LoRAs once their licence is accepted (Settings → LoRAs).
+ huggingface: ["huggingfaceToken"],
// Not a model provider either: the trainer Soul IDs and Fuobe looks train on, on your GPU (Settings → Training).
"ai-toolkit": ["aiToolkitUrl", "aiToolkitToken", "aiToolkitDatasetDir"],
} as const satisfies Record<TestProvider, readonly string[]>;
diff --cc src/server/generations.ts
index 2da4a001,64f634bb..ec06f3d3
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@@ -42,18 -46,29 +46,30 @@@ import
type Preset,
type ProviderId,
} from "@/lib/catalog/types";
- import { asSystem, runAs, type Actor } from "./access/actor";
- import { AccountOffError, ownerActor, rowOwner, runAsOwner } from "./access/permissions";
import { db } from "./db";
import { listElements } from "./elements";
+ import { markStale } from "./gpu/snapshots";
+ import { BLOCKED_CARD_MESSAGE, looksBlocked } from "./safety-card";
import { pollTrainings } from "./training";
import { createExtendChain, createKeyframeFilm, createMosaicRun, createRelitClip, createShotFilm, createStillTo3d } from "./chains";
- import { enhancePrompt, enhanceSoulWords } from "./enhance";
+ import { enhancePrompt, enhanceSoulWords, ideogramCaption } from "./enhance";
+ import { carriesLayout } from "@/lib/layout-prompt";
import { setResolver, watchGenerations, type LiveEvent } from "./live";
import { provider, PROVIDERS, RETIRED_PROVIDER_ERROR } from "./providers";
- import { comfyLoraFiles, probeComfy } from "./providers/comfyui";
+ import { comfyLoraFiles, computerScope, onOwnGpu, outputFetch, outsideOwnGpu, OWN_OUTPUT_LIMITS, ownGpu, probeComfy, relayFile, type OwnGpu } from "./providers/comfyui";
+ import { accountById, accountGpu, gpuLink, type AccountGpu } from "./auth";
+ import { accountEngineMode, accountKey, paidAllowed } from "./account-keys";
+ import { addKeyMessage, isCloudProvider, keyRemovedMessage, type CloudProvider } from "@/lib/your-keys";
+ import { CONNECT_GPU_MESSAGE, GUEST_RUN_MESSAGE, OWN_GPU_TOOL_MESSAGE } from "@/lib/guest-access";
+ import { outsideTenant, runAsTenant, tenant, tenantAccount } from "./tenant";
+ import { generationAccount } from "./account-library";
+ import { ACCOUNT_LIMITS, ACCOUNT_MESSAGES, accountTotalBytes, accountUsage, diskHasRoom, filesFullMessage } from "./account-files";
+ import { checkAccountLoras } from "./account-loras";
+ import { missingFilesMessage, type MissingFiles } from "@/lib/missing-files";
+ import { Readable } from "node:stream";
+ import { pipeline } from "node:stream/promises";
-import { graphLoras } from "@/lib/catalog/character-swap";
+import { graphLoras as h3GraphLoras } from "@/lib/catalog/character-swap";
+import { restoreGraphLoras } from "@/lib/restore-graph";
import { ensureLorasOnComfy, prepareCloudLoras, withoutUnreachableCivitai } from "./loras";
import { ACCESS_PLACE } from "@/lib/model-access";
import { offeredLoras, offeredRoutes, requireOffered } from "./model-access";
@@@ -1276,9 -1598,9 +1602,10 @@@ async function submitNow
// file mirrored once to the provider's storage (the civitai key never leaves this server).
if (input.loras?.length && (providerId === "fal" || providerId === "replicate")) {
input.loras = await prepareCloudLoras(input.loras, providerId, (data, name) => adapter.prepareFile(data, "application/octet-stream", name, route), (message) => update(id, { message }));
- } else if (providerId === "comfyui" && (input.loras?.length || graphLoras(route.endpoint, input.extra).length)) {
+ } else if (providerId === "comfyui" && !req.account && !computerScope() && (input.loras?.length || graphLoras(route.endpoint, input.extra).length)) {
+ // (Not for an account's own ComfyUI, nor one on the owner's computer: the download writes to the install's LoRA folder.)
- // A graph that loads its own LoRAs (Genjutsu's Character swap: the Turbo and swap LoRAs) gets them downloaded too.
+ // A graph that loads its own LoRAs (Genjutsu's Character swap: the Turbo and swap LoRAs; Restore & colourise: the
+ // gated Restore or Detail Refine IC-LoRA) gets them downloaded too.
await ensureLorasOnComfy([...(input.loras ?? []), ...graphLoras(route.endpoint, input.extra)], await comfyLoraFiles(route), (message) => update(id, { message }));
}
const res = await adapter.submit({ generationId: id, model: plan.model, route, input });
diff --cc tests/comfy-library-4.test.ts
index fbfb185d,fefd5f46..386217c7
--- a/tests/comfy-library-4.test.ts
+++ b/tests/comfy-library-4.test.ts
@@@ -86,11 -86,35 +86,37 @@@ describe("round-4 ComfyUI workflows", (
it("keeps the whole library validated, and every output role is a typed role", () => {
expect(manifest.workflows.length).toBeGreaterThanOrEqual(132);
expect(new Set(manifest.workflows.map((w) => w.id)).size).toBe(manifest.workflows.length);
- // Only the MiniMax H3 graphs and Restore & colourise wait on node packs this server doesn't have (h3_character_swap,
- // H3 Relay, ComfyUI-LTXVideo): never installed here, so their /prompt check names a missing node
- // (tests/comfy-character-swap.test.ts, tests/restore-comfy.test.ts).
+ // The owner's SOTA image families (2026-10-31) wait for a /prompt check on a ComfyUI that isn't rendering, and the
- // MiniMax H3 graphs on node packs this server doesn't have (h3_character_swap, H3 Relay): never installed here,
- // so their /prompt check names a missing node (tests/comfy-character-swap.test.ts). MOSS-Image's graph too, since its
++ // MiniMax H3 graphs and Restore & colourise on node packs this server doesn't have (h3_character_swap, H3 Relay,
++ // ComfyUI-LTXVideo): never installed here, so their /prompt check names a missing node (tests/comfy-character-swap.test.ts,
++ // tests/restore-comfy.test.ts). MOSS-Image's graph too, since its
+ // encoder became the int8 file (the w4a8 one faulted the driver). MiniMax H3's video graphs wait for their first run.
expect(manifest.workflows.filter((w) => !w.validated).map((w) => w.id)).toEqual([
+ "moss-image-t2i",
+ "minimax-h3-t2v",
+ "minimax-h3-i2v",
+ "minimax-h3-flf2v",
+ "minimax-h3-t2v-hq",
+ "minimax-h3-i2v-hq",
+ "minimax-h3-flf2v-hq",
+ "minimax-h3-orbit",
+ "qwen-image-21-t2i",
+ "qwen-image-21-edit",
+ "qwen-image-21-turbo-edit",
+ "qwen-image-21-inpaint",
+ "qwen-image-21-outpaint",
+ "ideogram4-t2i",
+ "krea2-realism-t2i",
+ "krea2-turbo-t2i",
+ "krea2-edit-general",
+ "krea2-edit-identity",
+ "krea2-turbo-i2i",
+ "krea2-inpaint",
+ "krea2-outpaint",
+ "fibo2-dev-t2i",
+ "fibo2-dev-edit",
+ "fibo2-edit-turbo-edit",
+ "video-restore-ltx25-tiled",
"video-character-swap-h3",
"video-character-swap-h3-relay",
"video-person-remove-h3-relay",
diff --cc workflows/comfyui/manifest.json
index 8bfffef3,4aebe904..118ca45b
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@@ -9679,263 -12081,8 +12081,263 @@@
"vramGb": 32,
"license": "LTX-2 Community License (LTX-2.3 22B: free under US$10M annual revenue); Gemma 3 text encoder (Gemma Terms of Use)",
"validated": true,
- "notes": "ltx23-i2v-lora without the start frame: the empty latent takes width x height directly. LoRAs injected after the CheckpointLoaderSimple. Silent (the audio is not decoded). Not used by a catalog model yet (build plan O4 lists it for LTX camera LoRAs without a start frame)."
+ "notes": "ltx23-i2v-lora without the start frame: the empty latent takes width x height directly. LoRAs injected after the CheckpointLoaderSimple. Silent (the audio is not decoded). Suits LTX camera LoRAs when there is no start frame."
},
+ {
+ "id": "video-restore-ltx25-tiled",
+ "title": "Restore & colourise archive footage: LTX-2.5 22B distilled + the Restore IC-LoRA, tiled latent fusion, one 97-frame window with the 17-frame prefix hand-off (stage 2: the Detail Refine IC-LoRA) (ComfyUI-LTXVideo pack)",
+ "capability": "restore-video",
+ "file": "video-restore-ltx25-tiled.json",
+ "source": "hand-built (scripts/comfy/hand-built/video-restore-ltx25-tiled.json)",
+ "bindings": {
+ "video": [
+ {
+ "node": "source",
+ "input": "video"
+ }
+ ],
+ "video2": [
+ {
+ "node": "prefix_source",
+ "input": "video"
+ }
+ ],
+ "image": [
+ {
+ "node": "reference",
+ "input": "image"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "positive",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "negative",
+ "input": "text"
+ }
+ ],
+ "seed": [
+ {
+ "node": "sample",
+ "input": "seed"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "sample",
+ "input": "cfg"
+ }
+ ],
+ "fps": [
+ {
+ "node": "conditioning",
+ "input": "frame_rate"
+ },
+ {
+ "node": "video",
+ "input": "fps"
+ }
+ ],
+ "windowStart": [
+ {
+ "node": "source",
+ "input": "skip_first_frames"
+ }
+ ],
+ "windowFrames": [
+ {
+ "node": "source",
+ "input": "frame_load_cap"
+ },
+ {
+ "node": "empty",
+ "input": "length"
+ }
+ ],
+ "canvasWidth": [
+ {
+ "node": "canvas",
+ "input": "width"
+ },
+ {
+ "node": "empty",
+ "input": "width"
+ },
+ {
+ "node": "reference_fit",
+ "input": "width"
+ }
+ ],
+ "canvasHeight": [
+ {
+ "node": "canvas",
+ "input": "height"
+ },
+ {
+ "node": "empty",
+ "input": "height"
+ },
+ {
+ "node": "reference_fit",
+ "input": "height"
+ }
+ ],
+ "fieldWidth": [
+ {
+ "node": "field",
+ "input": "width"
+ }
+ ],
+ "fieldHeight": [
+ {
+ "node": "field",
+ "input": "height"
+ }
+ ],
+ "prefixFrom": [
+ {
+ "node": "prefix_source",
+ "input": "skip_first_frames"
+ }
+ ],
+ "prefixFrames": [
+ {
+ "node": "keep",
+ "input": "batch_index"
+ }
+ ],
+ "lora": [
+ {
+ "node": "lora",
+ "input": "lora_name"
+ }
+ ],
+ "loraStrength": [
+ {
+ "node": "lora",
+ "input": "strength_model"
+ }
+ ],
+ "tileWidth": [
+ {
+ "node": "sample",
+ "input": "tile_width"
+ }
+ ],
+ "tileHeight": [
+ {
+ "node": "sample",
+ "input": "tile_height"
+ }
+ ],
+ "streaming": [
+ {
+ "node": "guide",
+ "input": "use_streaming"
+ }
+ ],
+ "tileFrames": [
+ {
+ "node": "sample",
+ "input": "tile_frames"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "save",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "save",
+ "kind": "video"
+ }
+ ],
+ "defaults": {
+ "fps": 24,
+ "cfg": 1,
+ "loraStrength": 1,
+ "windowStart": 0,
+ "windowFrames": 97,
+ "prefixFrames": 0,
+ "canvasWidth": 1440,
+ "canvasHeight": 1088,
+ "tileWidth": 960,
+ "tileHeight": 544,
+ "tileFrames": 0,
+ "frameStep": 8,
+ "lora": "ltx-2.5-22b-ic-lora-restore-1.0.safetensors",
+ "prefixFrom": 80,
+ "fieldWidth": 640,
+ "fieldHeight": 240,
+ "streaming": false
+ },
+ "limits": {
+ "maxWidth": 3840,
+ "maxHeight": 3840,
+ "maxFrames": 481,
+ "dimensionMultiple": 32
+ },
+ "models": [
+ {
+ "file": "ltx-2.5-22b-ic-lora-restore-1.0.safetensors",
+ "folder": "loras",
+ "url": "https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Restore/resolve/79245e197a6cd3251e77d178dc380b0e9f2d6563/ltx-2.5-22b-ic-lora-restore-1.0.safetensors",
+ "sizeGb": 1.71,
+ "gated": true
+ },
+ {
+ "file": "gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors",
+ "folder": "text_encoders",
+ "url": "https://huggingface.co/Lightricks/LTX-2.5/resolve/main/text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors",
+ "sizeGb": 15.37,
+ "gated": true
+ },
+ {
+ "file": "ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors",
+ "folder": "diffusion_models",
+ "url": "https://huggingface.co/Lightricks/LTX-2.5/resolve/main/diffusion_models/ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors",
+ "sizeGb": 21.5,
+ "gated": true
+ },
+ {
+ "file": "ltx-2.5-video-vae-bf16.safetensors",
+ "folder": "vae",
+ "url": "https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors",
+ "sizeGb": 1.47,
+ "gated": true
+ },
+ {
+ "file": "ltx-2.5-22b-ic-lora-refine-details-1.0.safetensors",
+ "folder": "loras",
+ "url": "https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Refine-Details/resolve/4912c478b35dd96b6cdcc5f7c7ff9d72c2c57929/ltx-2.5-22b-ic-lora-refine-details-1.0.safetensors",
+ "sizeGb": 1.31,
+ "gated": true,
+ "optional": true
+ }
+ ],
+ "customNodes": [
+ {
+ "name": "ComfyUI-LTXVideo",
+ "repo": "https://github.com/Lightricks/ComfyUI-LTXVideo/tree/220e1d45aa0469f518e982102fca4dca92a61862"
+ },
+ {
+ "name": "ComfyUI-VideoHelperSuite",
+ "repo": "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"
+ }
+ ],
+ "vramGb": 24,
+ "license": "LTX-2.x Community License (LTX-2.5 22B distilled, its video VAE, and Lightricks' Restore and Detail Refine IC-LoRAs, both gated on Hugging Face: free under US$10M annual revenue); Gemma 4 text encoder packaged by Lightricks; ComfyUI-LTXVideo nodes under the LTX-2 Community License (its LICENSE file)",
+ "validated": false,
+ "notes": "Built from the Restore IC-LoRA card's recipe (Hugging Face Lightricks/LTX-2.5-22b-IC-LoRA-Restore at 79245e1, read as data) and the node definitions of ComfyUI-LTXVideo at 220e1d4 (its LTX-2.5_V2V_TiledFusion_Upscale example wires the same nodes): the window (windowStart, windowFrames: 8n+1, at most 97) read at the clip's own rate, lanczos to the canvas (canvasWidth x canvasHeight: 1440x1088 for 4:3, 1920x1088 for 16:9), the frame-aligned IC-LoRA guide at downscale 1, LTXVTiledFusionSampler with 960x544 tiles at 50% overlap and the 8 distilled sigmas (euler, cfg 1), tiled decode, silent H.264 (the pipeline puts the sound back after the join). video2 = the window before's saved frames; its last 17 (prefixFrom) go in as LTXVAddGuide at frame 0, and prefixFrames (17) drops them from this window's output; absent on the first window (the provider removes that branch). image = an optional reference picture at frame_idx -1 (a second IC-LoRA guide; removed without one). deinterlace keeps one field (fieldWidth x fieldHeight, nearest rows: no blending; ComfyUI has no fieldmatch/yadif/decimate node), removed when off. Stage 2 (Restore to 4K): the same graph on the restored clip with the Detail Refine IC-LoRA, a 2x canvas and 1024x576 tiles. A single generation of a whole clip past 97 frames streams: streaming on the guide and tileFrames 97 on the sampler (the card's other long-clip path; no reference picture there). Needs the ComfyUI-LTXVideo pack. Not validated here: the pack is not installed on this server.",
+ "validationError": "HTTP 400: missing_node_type: Node 'the archive clip as the frame-aligned IC-LoRA reference (downscale 1, untiled encode); use_streaming only for a whole clip past 97 frames' not found. The custom node may not be installed. (Node ID '#guide')"
+ },
{
"id": "video-trim",
"title": "Trim a clip by seconds (core Trim Video, keeps fps and audio)",