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.

Video tools: a Green screen mode keys green-screen footage with CorridorKey on your GPU or Bria's despill in the cloud, and Bria VRMBG 3.0 joins Remove background

Claude933f65f3177c
diff --git a/scripts/comfy/hand-built/video-matte-vrmbg3.json b/scripts/comfy/hand-built/video-matte-vrmbg3.json
index 614757b6..77e0a0de 100644
--- a/scripts/comfy/hand-built/video-matte-vrmbg3.json
+++ b/scripts/comfy/hand-built/video-matte-vrmbg3.json
@@ -2,7 +2,8 @@
"1": {"class_type": "LoadVideo", "inputs": {"file": "input_video.mp4"}, "_meta": {"title": "Source clip"}},
"2": {"class_type": "GetVideoComponents", "inputs": {"video": ["1", 0]}, "_meta": {}},
"3": {"class_type": "AILab_VRMBG", "inputs": {"images": ["2", 0], "reset_state": true, "mask_blur": 0, "mask_offset": 0, "invert_output": false, "unload_model": false, "background": "Alpha", "background_color": "#222222"}, "_meta": {"title": "VRMBG 3.0: each frame conditioned on the one before"}},
- "4": {"class_type": "SaveWEBM", "inputs": {"images": ["3", 0], "filename_prefix": "fuobe/video-alpha-vrmbg3", "codec": "vp9", "fps": ["2", 2], "crf": 24.0}, "_meta": {"title": "Save transparent WebM (VP9 alpha)"}},
+ "4": {"class_type": "VHS_VideoCombine", "inputs": {"images": ["3", 0], "audio": ["2", 1], "frame_rate": ["2", 2], "loop_count": 0, "filename_prefix": "fuobe/video-alpha-vrmbg3", "format": "video/webm", "pix_fmt": "yuva420p", "crf": 20, "profile": "4444", "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true}, "_meta": {"title": "Cut-out: transparent WebM (yuva420p), or ProRes 4444 with alpha (format video/ProRes, profile 4444)"}},
"5": {"class_type": "CreateVideo", "inputs": {"images": ["3", 2], "fps": ["2", 2], "bit_depth": "auto", "color_space": "sRGB", "codec": "none"}, "_meta": {}},
- "6": {"class_type": "SaveVideo", "inputs": {"video": ["5", 0], "filename_prefix": "fuobe/video-matte-vrmbg3", "format": "auto", "format.codec": "auto", "codec": "auto"}, "_meta": {"title": "Save matte MP4"}}
+ "6": {"class_type": "SaveVideo", "inputs": {"video": ["5", 0], "filename_prefix": "fuobe/video-matte-vrmbg3", "format": "auto", "format.codec": "auto", "codec": "auto"}, "_meta": {"title": "Save matte MP4"}},
+ "7": {"class_type": "SaveImageAdvanced", "inputs": {"images": ["3", 0], "filename_prefix": "fuobe/video-matte-vrmbg3-exr", "format": "exr", "format.bit_depth": "16-bit float", "format.input_color_space": "sRGB"}, "_meta": {"title": "OpenEXR frames with alpha (scene-linear, half float)"}}
}
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index 95b1ba08..c51bee5b 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -2441,19 +2441,22 @@ export const SPEC = [
handBuilt: 'hand-built/video-matte-vrmbg3.json',
packs: ['ComfyUI-RMBG'],
requiredModels: ['VRMBG-3.0/model.safetensors'],
- bindings: { video: [b('1', 'file')] },
+ bindings: { video: [b('1', 'file')], format: [b('4', 'format')], profile: [b('4', 'profile')] },
outputs: [
{ node: '4', kind: 'video', role: 'cutout' },
{ node: '6', kind: 'video', role: 'matte' },
+ { node: '7', kind: 'image', role: 'frames' },
],
+ defaults: { format: 'video/webm', profile: '4444' },
limits: { maxWidth: 2048, maxHeight: 2048 },
vramGb: 6,
- license: 'Bria VRMBG-3.0 licence (gated, manual approval on Hugging Face; the card says non-commercial use only, commercial use needs an agreement with Bria AI); ComfyUI-RMBG code GPL-3.0',
+ license: 'Bria VRMBG-3.0 licence: NON-COMMERCIAL (the card: non-commercial use only, commercial use needs an agreement with Bria AI; gated, Bria approves access by hand); ComfyUI-RMBG code GPL-3.0',
notes:
'AILab_VRMBG (ComfyUI-RMBG 3.3.0, 2026-10-20): Bria\'s VRMBG 3.0, the model behind fal\'s bria/video/background-removal/v3, so the open matte is the cloud\'s model when the owner has access. ' +
'Each frame is inferred at 1024x1024 paired with the previous frame\'s RGB times its alpha (reset_state true: the clip starts clean), and the alpha is scaled back to the frame. ' +
- 'Output 0 is the straight RGBA cut-out -> SaveWEBM (vp9, crf 24, fps = source): role cutout; output 2 (the matte as an image) -> CreateVideo -> SaveVideo: role matte. ' +
- 'params.matteOutput keeps one (the provider drops the other save node). The whole clip is decoded at once (GetVideoComponents): RAM grows with the length. ' +
+ 'Output 0 is the straight RGBA cut-out -> VHS_VideoCombine (video/webm yuva420p, crf 20, the source\'s fps and sound; params.format prores_4444 switches it to video/ProRes profile 4444, ' +
+ 'yuva444p10le with alpha): role cutout; output 2 (the matte as an image) -> CreateVideo -> SaveVideo: role matte; node 7 writes the RGBA as half-float OpenEXR frames (input sRGB -> scene-linear): role frames, ' +
+ 'kept only for params.format exr (zipped onto the cut-out). params.matteOutput keeps one of cutout / matte (the provider drops the other save node). The whole clip is decoded at once (GetVideoComponents): RAM grows with the length. ' +
'The weights are gated: request access at huggingface.co/briaai/VRMBG-3.0, then put config.json, model.safetensors, model.py and vrmbg3_config.py (revision 59716e19) in models/RMBG/VRMBG-3.0/. ' +
'model.py is Bria\'s own model code, loaded by the node. Not validated here: the server has ComfyUI-RMBG 3.2.0, so the class is checked against the pack\'s source (object_info.subset.json).',
},
@@ -2480,7 +2483,7 @@ export const SPEC = [
defaults: { framesPerBatch: 32, screenColor: 'green', despill: 1, format: 'video/webm', profile: '4444' },
limits: { maxWidth: 3840, maxHeight: 2160 },
vramGb: 6,
- license: 'CorridorKey v1.0 weights: Corridor Key Licence 1.0 (CC BY-NC-SA 4.0 with added terms: free for any lawful use including commercial projects, outputs are yours; no repackaging or resale, no paid API or inference service, a commercial software package needs a written agreement with Corridor Digital); the Hugging Face repo tags cc-by-nc-sa-4.0. The wrapper has no LICENSE file.',
+ license: 'CorridorKey v1.0 weights: Corridor Key Licence 1.0 (CC BY-NC-SA 4.0 with added terms: free for any lawful use including commercial projects, and what you make is yours; it may NOT be offered as a paid API or inference service, nor repackaged or sold; a commercial software package needs a written agreement with Corridor Digital); the Hugging Face repo tags cc-by-nc-sa-4.0. The wrapper has no LICENSE file.',
autoDownloads: [
'LoadCorridorKeyModel downloads CorridorKey_v1.0.pth (0.40 GB, nikopueringer/CorridorKey_v1.0) into models/corridorkey/ as CorridorKey.pth on first run',
'LoadCorridorKeyModel pip-installs Corridor\'s v1 engine (corridorkey @ git+https://github.com/nikopueringer/CorridorKey.git) the first time it loads, when it is missing',
diff --git a/scripts/comfy/validation-state.json b/scripts/comfy/validation-state.json
index 01bd68e0..36e1f58c 100644
--- a/scripts/comfy/validation-state.json
+++ b/scripts/comfy/validation-state.json
@@ -840,10 +840,10 @@
"at": "2026-10-27T11:01:36.148Z"
},
"video-matte-vrmbg3": {
- "sha256": "f806cd861886340d33fd1e1b6d54b94de93f83ab7aacd940a4143a0239ba7b3f",
+ "sha256": "bc8e7b99a0f2e29af5355f6fc2823966f18a0012acf2dac1f6c65fdf90b6591a",
"validated": false,
"error": "HTTP 400: missing_node_type: Node 'VRMBG 3.0: each frame conditioned on the one before' not found. The custom node may not be installed. (Node ID '#3')",
- "at": "2026-11-02T10:56:31.291Z"
+ "at": "2026-11-02T10:58:42.274Z"
},
"video-mux-audio": {
"sha256": "68af795bae0c0e89749819173916044e4024a6ce3035f830b48c80e0b6899181",
diff --git a/src/components/studio/mode-switch-studio.tsx b/src/components/studio/mode-switch-studio.tsx
index e8904c25..bfd3f534 100644
--- a/src/components/studio/mode-switch-studio.tsx
+++ b/src/components/studio/mode-switch-studio.tsx
@@ -16,6 +16,7 @@ import {
VIDEO_COLOR_MATCH_STUDIO,
VIDEO_DEPTH_STUDIO,
VIDEO_EXPORT_STUDIO,
+ VIDEO_KEY_STUDIO,
VIDEO_MATTE_STUDIO,
VIDEO_RELIGHT_STUDIO,
VIDEO_UPSCALE_STUDIO,
@@ -51,6 +52,7 @@ const CONFIGS: Record<HubKind, Record<string, StudioConfig>> = {
},
"video-tools": {
matte: VIDEO_MATTE_STUDIO,
+ "green-screen": VIDEO_KEY_STUDIO,
relight: VIDEO_RELIGHT_STUDIO,
depth: VIDEO_DEPTH_STUDIO,
join: JOIN_CLIPS_STUDIO,
diff --git a/src/components/studio/studio-context.tsx b/src/components/studio/studio-context.tsx
index 7a5378fb..25b430a8 100644
--- a/src/components/studio/studio-context.tsx
+++ b/src/components/studio/studio-context.tsx
@@ -81,6 +81,11 @@ export interface StudioConfig {
* seconds and the request carries them (params.sourceDuration). Not while a video is attached (lip re-sync).
*/
voiceFacts?: boolean;
+ /**
+ * Video tools → Green screen: the picker lists only keyers for green-screen footage (ModelOptions.greenScreen); every
+ * other Remove background studio leaves them out.
+ */
+ greenScreen?: boolean;
/** Offer every output format of the studio's models on this engine; picking one another model writes moves the request there (SDR to HDR, Export). */
formatPicker?: boolean;
/** The models' enum settings chip ("Director" by default; "Options" for a tool's settings such as Topaz's model). */
diff --git a/src/lib/av/keying.ts b/src/lib/av/keying.ts
new file mode 100644
index 00000000..f96359fc
--- /dev/null
+++ b/src/lib/av/keying.ts
@@ -0,0 +1,30 @@
+/**
+ * Green screen and fine hair (nm10-keying): what the open green-screen key writes for each format, and which results
+ * can be exported again for an edit. Pure (client and server).
+ */
+import type { GenParams, MatteOutput, VideoFormat } from "@/lib/catalog/types";
+import { FORMAT_INFO, formatList } from "./formats";
+
+/** The formats an open matte that takes a format writes its cut-out in (video-key-corridorkey, video-matte-vrmbg3), the default first. */
+export const KEY_FORMATS: VideoFormat[] = ["webm_alpha", "prores_4444", "exr"];
+
+/**
+ * The cut-out encoder's values for a format: VideoHelperSuite's WebM with alpha (yuva420p), or ProRes 4444, which it writes
+ * with alpha (yuva444p10le) for RGBA frames. EXR keeps the WebM as its preview; the frames are their own output. ProRes and
+ * EXR carry the cut-out only: the mask and the clean foreground are plain MP4s.
+ */
+export function keyFormatValues(format: VideoFormat | undefined, output: MatteOutput | undefined): { format: string; profile?: string } {
+ const f = format ?? "webm_alpha";
+ if (!KEY_FORMATS.includes(f)) throw new Error(`The cut-out comes as ${formatList(KEY_FORMATS)}, not ${FORMAT_INFO[f]?.short ?? f}`);
+ if (f !== "webm_alpha" && output && output !== "cutout") throw new Error(`${FORMAT_INFO[f].label} is for the cut-out: pick Cutout video, or WebM for the mask or the clean foreground`);
+ return f === "prores_4444" ? { format: "video/ProRes", profile: "4444" } : { format: "video/webm" };
+}
+
+/**
+ * Whether a Remove background or Green screen result can go to Export (ProRes 4444, EXR) as it is. The export reads a
+ * WebM's colour but not its transparency, so only the black-and-white mask (or a clip with no alpha) keeps everything there;
+ * a cut-out keeps its alpha only when the key writes ProRes 4444 or EXR itself.
+ */
+export function exportsCleanly(op: string | undefined, params: Pick<GenParams, "matteOutput"> | undefined): boolean {
+ return op === "bg-remove-video" && params?.matteOutput === "matte";
+}
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 399e6e39..4b508bfc 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -593,6 +593,18 @@ const open: ModelDef[] = [
routes: [comfy("bg-remove", "bg-remove-birefnet")],
options: {},
}),
+ // Image cut-outs, Fine hair (nm10-keying): FeyNoBg's matte for hair, fur, lace and glass, its edges refined.
+ o({
+ id: "oss-matte-feynobg",
+ name: "FeyNoBg fine hair",
+ vendor: "1038lab",
+ family: "feynobg",
+ kind: "image",
+ tagline: "Cut-outs that keep every strand of hair, fur and see-through edges",
+ badges: ["new"],
+ routes: [comfy("bg-remove", "image-matte-feynobg")],
+ options: {},
+ }),
// ---------------- Video
// MiniMax H3: text, image and start + end frame to video with its own sound, on the fl2va model. Fast runs larryvrh's
@@ -1001,6 +1013,41 @@ const open: ModelDef[] = [
routes: [comfy("bg-remove-video", "video-bg-remove-sam3")],
options: { keepsNamed: true, matteOutputs: ["cutout", "matte"] },
}),
+ // Bria's VRMBG 3.0 on your GPU (nm10-keying): the model behind the cloud's Bria matte, each frame following the one before.
+ // Its weights are gated (Bria approves access by hand) and placed by hand; the GPU check says so until they are there.
+ o({
+ id: "oss-video-matte-vrmbg3",
+ name: "Bria VRMBG 3.0",
+ vendor: "Bria",
+ family: "bria",
+ kind: "video",
+ tagline: "Steady, flicker-free cut-outs that follow the subject frame to frame — the same model as the cloud's Bria matte · needs Bria's approval for the weights",
+ badges: ["new"],
+ routes: [comfy("bg-remove-video", "video-matte-vrmbg3", "Bria VRMBG 3.0 (gated weights, placed by hand)")],
+ options: { promptless: true, matteOutputs: ["cutout", "matte"], formats: ["webm_alpha", "prores_4444", "exr"] },
+ defaults: { format: "webm_alpha" },
+ }),
+ // Video tools → Green screen on your GPU (nm10-keying): Corridor Digital's CorridorKey neural keyer on footage shot on a
+ // green or blue screen, in passes so long clips fit. The cut-out, its mask or the clean foreground; WebM, ProRes 4444 with
+ // alpha, or linear EXR frames. It runs the v1.0 weights: no ComfyUI node loads CorridorKey 2.0 yet.
+ o({
+ id: "oss-video-key-corridorkey",
+ name: "CorridorKey",
+ vendor: "Corridor Digital",
+ family: "corridorkey",
+ kind: "video",
+ tagline: "Neural green-screen keying: clean hair, motion blur and see-through edges, with the green spill taken out",
+ badges: ["new"],
+ routes: [comfy("bg-remove-video", "video-key-corridorkey", "CorridorKey v1.0 weights")],
+ options: {
+ promptless: true,
+ greenScreen: true,
+ matteOutputs: ["cutout", "matte", "foreground"],
+ formats: ["webm_alpha", "prores_4444", "exr"],
+ sliders: [{ param: "despill", label: "Spill cleanup", min: 0, max: 3, step: 0.1, default: 1 }],
+ },
+ defaults: { format: "webm_alpha" },
+ }),
o({
id: "oss-video-depth-da3",
name: "Depth Anything 3",
diff --git a/src/lib/catalog/plan.ts b/src/lib/catalog/plan.ts
index 79998352..ee7e59c2 100644
--- a/src/lib/catalog/plan.ts
+++ b/src/lib/catalog/plan.ts
@@ -1,4 +1,5 @@
import { FORMAT_INFO, formatList } from "@/lib/av/formats";
+import { keyFormatValues } from "@/lib/av/keying";
import type {
Engine,
GenerationRequest,
@@ -686,8 +687,16 @@ function checkVideoToolOptions(model: ModelDef, op: "bg-remove-video" | "depth-v
const clicked = !!params.points?.length && routesFor(model, op).some((r) => !!r.map?.points);
if (o.keepsNamed && !prompt && !clicked) throw new Error("Say what to keep, e.g. “the dog” or “the woman in red”");
const outputs = o.matteOutputs ?? ["cutout"];
+ // ProRes 4444 and EXR carry the cut-out with its alpha (CorridorKey, VRMBG 3.0 on your GPU): not the mask or the foreground.
+ if (params.format && o.formats?.length) keyFormatValues(params.format, params.matteOutput);
if (params.matteOutput && !outputs.includes(params.matteOutput)) {
- throw new Error(params.matteOutput === "matte" ? `${model.name} makes the cut-out only — pick BiRefNet or SAM for an alpha mask` : `${model.name} makes the alpha mask only — pick BiRefNet for a cut-out video`);
+ throw new Error(
+ params.matteOutput === "foreground"
+ ? `${model.name} doesn't make a clean foreground — CorridorKey in Green screen does`
+ : params.matteOutput === "matte"
+ ? `${model.name} makes the cut-out only — pick BiRefNet or SAM for an alpha mask`
+ : `${model.name} makes the alpha mask only — pick BiRefNet for a cut-out video`,
+ );
}
return;
}
diff --git a/src/lib/composer.ts b/src/lib/composer.ts
index 40f658a9..cd078e7d 100644
--- a/src/lib/composer.ts
+++ b/src/lib/composer.ts
@@ -132,6 +132,7 @@ export function videoToolNote(model: Pick<ModelDef, "name" | "engine" | "options
if (what === "matte") {
const outs = o.matteOutputs ?? ["cutout"];
if (outs.length > 1) return null;
+ if (outs[0] === "cutout" && o.greenScreen) return `${model.name} makes the cut-out only — CorridorKey on your GPU also makes the mask and the clean foreground.`;
if (outs[0] === "cutout") return `${model.name} makes the cut-out only — BiRefNet and SAM also make the alpha mask.`;
return model.engine === "cloud"
? "Name what to keep and get its mask, or cut out the whole subject."
diff --git a/src/lib/hubs.ts b/src/lib/hubs.ts
index 75c418d6..9625af8e 100644
--- a/src/lib/hubs.ts
+++ b/src/lib/hubs.ts
@@ -30,6 +30,7 @@ export const HUB_MODES: Record<HubKind, { id: string; label: string }[]> = {
],
"video-tools": [
{ id: "matte", label: "Remove background" },
+ { id: "green-screen", label: "Green screen" },
{ id: "remove-object", label: "Remove object" },
{ id: "remove-dialogue", label: "Remove dialogue" },
{ id: "evolution", label: "Evolution" },
diff --git a/src/lib/licences.ts b/src/lib/licences.ts
index c7a9494b..d9825092 100644
--- a/src/lib/licences.ts
+++ b/src/lib/licences.ts
@@ -111,7 +111,7 @@ export function licenceTerms(text: string): { flags: LicenceFlag[]; excludes?: s
const noWeights = /^(n\/a|no model)\b/i.test(text.trim());
const nonCommercial = /NON-COMMERCIAL/.test(text) || /^CC-BY-NC/.test(text.trim());
const excludes = /\bEXCLUDES\s+([^);]+)/.exec(text)?.[1].trim();
- const conditional = /Community License|Kommunity License|OpenRAIL|Model Use License|CogVideoX License|SAM License|DINOv3 License|Terms of Use|free below|below US\$/i.test(text);
+ const conditional = /Community License|Kommunity License|OpenRAIL|Model Use License|CogVideoX License|SAM License|DINOv3 License|Corridor Key Licence|Terms of Use|free below|below US\$/i.test(text);
const flags: LicenceFlag[] = [];
if (nonCommercial) flags.push("non-commercial");
if (excludes) flags.push("territory");
diff --git a/src/lib/palette-index.ts b/src/lib/palette-index.ts
index cc75698c..36e46c06 100644
--- a/src/lib/palette-index.ts
+++ b/src/lib/palette-index.ts
@@ -28,6 +28,7 @@ import {
VIDEO_COLOR_MATCH_STUDIO,
VIDEO_DEPTH_STUDIO,
VIDEO_EDIT_STUDIO,
+ VIDEO_KEY_STUDIO,
VIDEO_MATTE_STUDIO,
VIDEO_RELIGHT_STUDIO,
VIDEO_STUDIO,
@@ -56,6 +57,7 @@ const MODEL_STUDIOS: [string, StudioConfig][] = [
["/audio/music", MUSIC_STUDIO],
["/audio/video", FOLEY_STUDIO],
["/video-tools", VIDEO_MATTE_STUDIO],
+ ["/video-tools/green-screen", VIDEO_KEY_STUDIO],
["/video-tools/relight", VIDEO_RELIGHT_STUDIO],
["/video-tools/depth", VIDEO_DEPTH_STUDIO],
["/video-tools/join", JOIN_CLIPS_STUDIO],
@@ -83,7 +85,8 @@ const TOOL_PAGES: [string, Operation][] = [
export function modelHref(m: ModelDef): string {
const ops = new Set(m.routes.map((r) => r.op));
const pick = `?model=${encodeURIComponent(m.id)}`;
- const studio = MODEL_STUDIOS.find(([, c]) => c.kind === m.kind && (c.pickerOps ?? c.ops).some((op) => ops.has(op)));
+ // A green-screen keyer opens in Video tools → Green screen, the other mattes in Remove background (studioCatalog's split).
+ const studio = MODEL_STUDIOS.find(([, c]) => c.kind === m.kind && (c.pickerOps ?? c.ops).some((op) => ops.has(op)) && (!ops.has("bg-remove-video") || !!c.greenScreen === !!m.options.greenScreen));
if (studio && !m.hidden) return studio[0] + pick;
if (IN_3D.has(m.id)) return `/image-to-3d${pick}`;
const app = APPS.find((a) => a.cloud?.modelId === m.id || a.open?.modelId === m.id);
diff --git a/src/lib/studio-catalog.ts b/src/lib/studio-catalog.ts
index 0a1aba9a..3ebcbb42 100644
--- a/src/lib/studio-catalog.ts
+++ b/src/lib/studio-catalog.ts
@@ -33,8 +33,10 @@ export function slimModel(m: ModelDef): ModelDef {
};
}
-export function studioCatalog(config: Pick<StudioConfig, "kind" | "ops" | "pickerOps" | "defaultModels" | "preset" | "extraModels" | "appModels">): StudioCatalog {
- const list = modelsFor({ kind: config.kind, ops: config.pickerOps ?? config.ops });
+export function studioCatalog(config: Pick<StudioConfig, "kind" | "ops" | "pickerOps" | "defaultModels" | "preset" | "extraModels" | "appModels" | "greenScreen">): StudioCatalog {
+ // Green-screen keyers are listed in Video tools → Green screen only; Remove background lists the other mattes.
+ const keyers = config.ops.includes("bg-remove-video");
+ const list = modelsFor({ kind: config.kind, ops: config.pickerOps ?? config.ops }).filter((m) => !keyers || !!m.options.greenScreen === !!config.greenScreen);
const ids = new Set(list.map((m) => m.id));
// An app's models on both engines: the one its preview was made with and its own route's (withRecipe).
const own = [...(config.appModels?.cloud ?? []), ...(config.appModels?.open ?? [])];
diff --git a/src/lib/studios.ts b/src/lib/studios.ts
index 69c848d5..7710d97d 100644
--- a/src/lib/studios.ts
+++ b/src/lib/studios.ts
@@ -452,6 +452,21 @@ export const VIDEO_MATTE_STUDIO: StudioConfig = {
promptOptional: true,
};
+/**
+ * Video tools → Green screen (nm10-keying): footage shot on a green or blue screen, keyed with the spill cleaned off the
+ * edges. Its models are the keyers (ModelOptions.greenScreen): CorridorKey on your GPU, Bria's green-screen despill in the
+ * cloud. Remove background lists the others.
+ */
+export const VIDEO_KEY_STUDIO: StudioConfig = {
+ ...VIDEO_MATTE_STUDIO,
+ hero: "Key out a green screen",
+ subtitle: "Footage shot on a green or blue screen, keyed clean with the spill taken off hair and edges. Get the cut-out, its mask or the clean foreground.",
+ placeholder: "",
+ greenScreen: true,
+ defaultModels: { cloud: "bria-green-screen", open: "oss-video-key-corridorkey" },
+ hidePrompt: true,
+};
+
export const VIDEO_DEPTH_STUDIO: StudioConfig = {
...VIDEO_MATTE_STUDIO,
hero: "A depth map for every frame",
diff --git a/src/server/gpu/tools.ts b/src/server/gpu/tools.ts
index b4fb10cd..bd88f273 100644
--- a/src/server/gpu/tools.ts
+++ b/src/server/gpu/tools.ts
@@ -277,6 +277,8 @@ export const STUDIO_ROWS: StudioRowDef[] = [
{ href: "/upscale/hdr", label: "SDR to HDR", group: "Video tools", config: S.SDR_TO_HDR_STUDIO },
{ href: "/upscale/export", label: "Export", group: "Video tools", config: S.VIDEO_EXPORT_STUDIO },
{ href: "/video-tools", label: "Remove background", group: "Video tools", config: S.VIDEO_MATTE_STUDIO },
+ // nm10-keying: CorridorKey on footage shot on a green or blue screen (its own list: ModelOptions.greenScreen).
+ { href: "/video-tools/green-screen", label: "Green screen", group: "Video tools", config: S.VIDEO_KEY_STUDIO },
// DBS D2: the split, then the stream-copy mux (one stem in place of the sound, or the voice over the lowered bed).
{
href: "/video-tools/remove-dialogue",
@@ -351,8 +353,9 @@ export function studioOthers(row: StudioRowDef): Tool[] {
const c = row.config;
if (!c) return [];
const ops = c.pickerOps ?? c.ops;
+ const keyers = c.ops.includes("bg-remove-video");
return modelsFor({ kind: c.kind, ops, engine: "open" })
- .filter((m) => m.id !== c.defaultModels.open)
+ .filter((m) => m.id !== c.defaultModels.open && (!keyers || !!m.options.greenScreen === !!c.greenScreen))
.flatMap((m) => {
const op = modelOps(openModel(m) ?? m).find((o) => ops.includes(o));
const t = op ? modelTool(m.id, op) : null;
diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.ts
index 70a0fb2c..b0b9eb14 100644
--- a/src/server/providers/comfyui.ts
+++ b/src/server/providers/comfyui.ts
@@ -54,6 +54,7 @@ import { installedReuse, NO_REUSE_PACK, rateFor, reuseFileFor, STRENGTH_DB, type
import { expandAudioJoinWorkflow, expandVideoJoinWorkflow } from "@/lib/av/joins";
import { expandTimelineWorkflow, readTimeline } from "@/lib/av/timeline";
import { exportValues, framesPerPass, hdrColorSpace, upscaleShortSide, wholeClipProblem, wholeClipTool } from "@/lib/av/video-finish";
+import { keyFormatValues } from "@/lib/av/keying";
import { guessKind } from "@/lib/catalog/payload";
import { loraByFile, needsToken } from "@/lib/catalog/loras";
import { CHARACTER_SWAP, packResolution, samCoords, swapPrompt, SWAP_LORAS, windowPlan } from "@/lib/catalog/character-swap";
@@ -1604,6 +1605,16 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
}
// Matte graphs save a cut-out and a black-and-white matte: params.matteOutput keeps one.
const keepRole: string | undefined = ctx.op === "bg-remove-video" ? input.matteOutput : undefined;
+ // The green-screen key (video-key-corridorkey) writes its cut-out as a transparent WebM, ProRes 4444 with alpha, or EXR
+ // frames beside the WebM (params.format; src/lib/av/keying.ts).
+ const keyExr = ctx.op === "bg-remove-video" && !!b.format && input.format === "exr";
+ if (ctx.op === "bg-remove-video" && b.format) {
+ try {
+ Object.assign(values, keyFormatValues(input.format, input.matteOutput));
+ } catch (e) {
+ throw new ProviderError((e as Error).message, 400);
+ }
+ }
if (b.filenamePrefix) values.filenamePrefix = `fuobe/${ctx.generationId}`;
const cues = manifest.expand === "captions" ? captionCues(input, extra) : [];
@@ -1824,7 +1835,9 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
wf = injectLoras(wf, loras);
}
// The output not asked for isn't saved (nor encoded: ComfyUI runs only what an output node needs).
- if (keepRole && manifest.outputs.some((o) => o.role === keepRole)) for (const o of manifest.outputs) if (o.role && o.role !== keepRole) delete wf[o.node];
+ if (keepRole && manifest.outputs.some((o) => o.role === keepRole)) for (const o of manifest.outputs) if (o.role && o.role !== keepRole && !(keyExr && o.role === "frames")) delete wf[o.node];
+ // A key's EXR frames are written only when asked for (they ride on the cut-out, zipped).
+ if (ctx.op === "bg-remove-video" && !keyExr) for (const o of manifest.outputs) if (o.role === "frames") delete wf[o.node];
if (ctx.op === "remove-object" && !handOff) for (const o of manifest.outputs) if (o.role === "mask") delete wf[o.node];
const metaBatch = Object.values(wf).some((n) => n.class_type === "VHS_BatchManager");
return {
diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.json
index 9f626ae1..40e15835 100644
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@ -1,6 +1,6 @@
{
"version": 1,
- "generatedAt": "2026-11-02T10:56:07.240Z",
+ "generatedAt": "2026-11-02T10:58:41.509Z",
"comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597",
"comfyuiVersion": "0.41.0",
"workflowTemplatesVersion": "0.11.86",
@@ -9585,6 +9585,18 @@
"input": "file"
}
],
+ "format": [
+ {
+ "node": "4",
+ "input": "format"
+ }
+ ],
+ "profile": [
+ {
+ "node": "4",
+ "input": "profile"
+ }
+ ],
"filenamePrefix": [
{
"node": "4",
@@ -9593,6 +9605,10 @@
{
"node": "6",
"input": "filename_prefix"
+ },
+ {
+ "node": "7",
+ "input": "filename_prefix"
}
]
},
@@ -9606,9 +9622,17 @@
"node": "6",
"kind": "video",
"role": "matte"
+ },
+ {
+ "node": "7",
+ "kind": "image",
+ "role": "frames"
}
],
- "defaults": {},
+ "defaults": {
+ "format": "video/webm",
+ "profile": "4444"
+ },
"limits": {
"maxWidth": 2048,
"maxHeight": 2048
@@ -9626,12 +9650,16 @@
{
"name": "ComfyUI-RMBG",
"repo": "https://github.com/1038lab/ComfyUI-RMBG"
+ },
+ {
+ "name": "ComfyUI-VideoHelperSuite",
+ "repo": "https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite"
}
],
"vramGb": 6,
- "license": "Bria VRMBG-3.0 licence (gated, manual approval on Hugging Face; the card says non-commercial use only, commercial use needs an agreement with Bria AI); ComfyUI-RMBG code GPL-3.0",
+ "license": "Bria VRMBG-3.0 licence: NON-COMMERCIAL (the card: non-commercial use only, commercial use needs an agreement with Bria AI; gated, Bria approves access by hand); ComfyUI-RMBG code GPL-3.0",
"validated": false,
- "notes": "AILab_VRMBG (ComfyUI-RMBG 3.3.0, 2026-10-20): Bria's VRMBG 3.0, the model behind fal's bria/video/background-removal/v3, so the open matte is the cloud's model when the owner has access. Each frame is inferred at 1024x1024 paired with the previous frame's RGB times its alpha (reset_state true: the clip starts clean), and the alpha is scaled back to the frame. Output 0 is the straight RGBA cut-out -> SaveWEBM (vp9, crf 24, fps = source): role cutout; output 2 (the matte as an image) -> CreateVideo -> SaveVideo: role matte. params.matteOutput keeps one (the provider drops the other save node). The whole clip is decoded at once (GetVideoComponents): RAM grows with the length. The weights are gated: request access at huggingface.co/briaai/VRMBG-3.0, then put config.json, model.safetensors, model.py and vrmbg3_config.py (revision 59716e19) in models/RMBG/VRMBG-3.0/. model.py is Bria's own model code, loaded by the node. Not validated here: the server has ComfyUI-RMBG 3.2.0, so the class is checked against the pack's source (object_info.subset.json).",
+ "notes": "AILab_VRMBG (ComfyUI-RMBG 3.3.0, 2026-10-20): Bria's VRMBG 3.0, the model behind fal's bria/video/background-removal/v3, so the open matte is the cloud's model when the owner has access. Each frame is inferred at 1024x1024 paired with the previous frame's RGB times its alpha (reset_state true: the clip starts clean), and the alpha is scaled back to the frame. Output 0 is the straight RGBA cut-out -> VHS_VideoCombine (video/webm yuva420p, crf 20, the source's fps and sound; params.format prores_4444 switches it to video/ProRes profile 4444, yuva444p10le with alpha): role cutout; output 2 (the matte as an image) -> CreateVideo -> SaveVideo: role matte; node 7 writes the RGBA as half-float OpenEXR frames (input sRGB -> scene-linear): role frames, kept only for params.format exr (zipped onto the cut-out). params.matteOutput keeps one of cutout / matte (the provider drops the other save node). The whole clip is decoded at once (GetVideoComponents): RAM grows with the length. The weights are gated: request access at huggingface.co/briaai/VRMBG-3.0, then put config.json, model.safetensors, model.py and vrmbg3_config.py (revision 59716e19) in models/RMBG/VRMBG-3.0/. model.py is Bria's own model code, loaded by the node. Not validated here: the server has ComfyUI-RMBG 3.2.0, so the class is checked against the pack's source (object_info.subset.json).",
"validationError": "HTTP 400: missing_node_type: Node 'VRMBG 3.0: each frame conditioned on the one before' not found. The custom node may not be installed. (Node ID '#3')"
},
{
@@ -9741,7 +9769,7 @@
}
],
"vramGb": 6,
- "license": "CorridorKey v1.0 weights: Corridor Key Licence 1.0 (CC BY-NC-SA 4.0 with added terms: free for any lawful use including commercial projects, outputs are yours; no repackaging or resale, no paid API or inference service, a commercial software package needs a written agreement with Corridor Digital); the Hugging Face repo tags cc-by-nc-sa-4.0. The wrapper has no LICENSE file.",
+ "license": "CorridorKey v1.0 weights: Corridor Key Licence 1.0 (CC BY-NC-SA 4.0 with added terms: free for any lawful use including commercial projects, and what you make is yours; it may NOT be offered as a paid API or inference service, nor repackaged or sold; a commercial software package needs a written agreement with Corridor Digital); the Hugging Face repo tags cc-by-nc-sa-4.0. The wrapper has no LICENSE file.",
"validated": false,
"notes": "VHS_LoadVideo decodes framesPerBatch frames per pass (VHS_BatchManager, 32 by default) and the three VHS_VideoCombine encodes stay open across passes, so memory stays flat on a long clip. ChromaKeyPrepass makes a coarse alpha hint from the screen colour (screenColor green | blue; threshold 0.3, softness 0.1, erode 2, blur 5), then CorridorKeyGreenscreen (despill 1.0, refiner on, auto-despeckle 400 px, input sRGB) gives the alpha, the despilled sRGB foreground and the straight RGBA. Roles: node 7 cutout (the RGBA as a transparent WebM, VP9 yuva420p, with the clip's sound; params.format prores_4444 switches it to video/ProRes profile 4444, which VHS writes as yuva444p10le with alpha), node 9 matte (the alpha as an H.264 MP4), node 10 foreground (the despilled foreground as H.264 with sound), node 11 frames (the RGBA as half-float OpenEXR, input sRGB -> scene-linear, one file a frame). params.matteOutput keeps one of cutout / matte / foreground; node 11 stays only for params.format exr, with the cut-out as its preview, and Fuobe zips the frames onto it. CorridorKey 2.0 (nikopueringer/CorridorKey2.0, corridorkey_v2.safetensors 2.66 GB, cf44a8db) runs only in Corridor's own engine: no ComfyUI wrapper loads it yet (checked 2026-11-02), so this graph runs v1.0 and 2.0 waits for a wrapper. NVIDIA RTX 30-series or newer; Corridor gives 4 GB up to 1440p and 6 GB for 4K for 2.0. Not validated here: the server lacks the wrapper, so its classes are checked against its source (object_info.subset.json).",
"autoDownloads": [
diff --git a/workflows/comfyui/object_info.subset.json b/workflows/comfyui/object_info.subset.json
index 8655419a..7c1aa04c 100644
--- a/workflows/comfyui/object_info.subset.json
+++ b/workflows/comfyui/object_info.subset.json
@@ -13844,7 +13844,10 @@
"COMBO",
{
"multiselect": false,
- "options": [],
+ "options": [
+ "fuobe_validate.mp4",
+ "fuobe_validate.wav"
+ ],
"audio_upload": true
}
]
@@ -14052,7 +14055,10 @@
"input": {
"required": {
"image": [
- [],
+ [
+ "fuobe_validate.png",
+ "fuobe_validate_mask.png"
+ ],
{
"image_upload": true
}
@@ -14135,7 +14141,10 @@
"input": {
"required": {
"image": [
- [],
+ [
+ "fuobe_validate.png",
+ "fuobe_validate_mask.png"
+ ],
{
"image_upload": true
}
@@ -14233,7 +14242,9 @@
"COMBO",
{
"multiselect": false,
- "options": [],
+ "options": [
+ "fuobe_validate.mp4"
+ ],
"video_upload": true
}
]
@@ -25139,7 +25150,10 @@
"input": {
"required": {
"audio": [
- []
+ [
+ "fuobe_validate.mp4",
+ "fuobe_validate.wav"
+ ]
]
},
"optional": {
@@ -25200,7 +25214,9 @@
"input": {
"required": {
"video": [
- []
+ [
+ "fuobe_validate.mp4"
+ ]
],
"force_rate": [
"FLOAT",
diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.json
index b9c17bad..fb2ea027 100644
--- a/workflows/comfyui/requirements.json
+++ b/workflows/comfyui/requirements.json
@@ -1,6 +1,6 @@
{
"v": 1,
- "hash": "f69067c40e84f66b1bd3c04a92035d30fbb01483416a58d9735c65c0d7954750",
+ "hash": "448ac702e9fc6b0867977cbea296d3e1d4f70ed08edc8c1483b1acdb8e768ea2",
"comfyui": {"min":"0.41.0","testedCommit":"fc04da91"},
"folders": ["RMBG","audio_encoders","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","text_encoders","thinksound","upscale_models","vae"],
"sentinels": ["AILab_FeyNoBg","AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AILab_VRMBG","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","CFGOverride","ChromaKeyPrepass","ClothesSegment","ComfyMathExpression","CorridorKeyGreenscreen","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3SLAAttention","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","ImageBatchExtendWithOverlap","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadCorridorKeyModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","PasteBackFuobeLive","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","ReActorFaceSwap","RemoveBackground","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
@@ -164,7 +164,7 @@
"loras/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors": {"folder":"loras","file":"lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","url":"https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","pinnedUrl":"https://huggingface.co/Kijai/WanVideo_comfy/resolve/8260d429d19fd7a72304cad059160b95d843913f/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","sizeBytes":630697104,"gated":false,"presence":"loader","loaders":[["LoraLoader","lora_name"],["LoraLoaderModelOnly","lora_name"]]},
"loras/ltx-2-19b-distilled-lora-384.safetensors": {"folder":"loras","file":"ltx-2-19b-distilled-lora-384.safetensors","url":"https://huggingface.co/Lightricks/LTX-2/resolve/main/ltx-2-19b-distilled-lora-384.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2/resolve/64f65d09e0b76c96202b5bc09997673184cf9b5d/ltx-2-19b-distilled-lora-384.safetensors","sizeBytes":7674558424,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
"loras/ltx-2.5-22b-ic-lora-refine-details-1.0.safetensors": {"folder":"loras","file":"ltx-2.5-22b-ic-lora-refine-details-1.0.safetensors","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","pinnedUrl":"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","sizeBytes":1310000000,"gated":true,"presence":"list"},
- "loras/ltx-2.5-22b-ic-lora-restore-1.0.safetensors": {"folder":"loras","file":"ltx-2.5-22b-ic-lora-restore-1.0.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Restore/resolve/79245e197a6cd3251e77d178dc380b0e9f2d6563/ltx-2.5-22b-ic-lora-restore-1.0.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Restore/resolve/79245e197a6cd3251e77d178dc380b0e9f2d6563/ltx-2.5-22b-ic-lora-restore-1.0.safetensors","sizeBytes":1710000000,"gated":true,"presence":"list"},
+ "loras/ltx-2.5-22b-ic-lora-restore-1.0.safetensors": {"folder":"loras","file":"ltx-2.5-22b-ic-lora-restore-1.0.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Restore/resolve/79245e197a6cd3251e77d178dc380b0e9f2d6563/ltx-2.5-22b-ic-lora-restore-1.0.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5-22b-IC-LoRA-Restore/resolve/79245e197a6cd3251e77d178dc380b0e9f2d6563/ltx-2.5-22b-ic-lora-restore-1.0.safetensors","sizeBytes":1710000000,"gated":true,"presence":"loader","loaders":[["LTXICLoRALoaderModelOnly","lora_name"]]},
"loras/minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors": {"folder":"loras","file":"minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors","url":"https://huggingface.co/lightx2v/Minimax-h3-Turbo/resolve/3ec17a324ced54151364f24f8b5fb6bf7e26414f/minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors","pinnedUrl":"https://huggingface.co/lightx2v/Minimax-h3-Turbo/resolve/3ec17a324ced54151364f24f8b5fb6bf7e26414f/minimax_h3_fl2v_turbo_8step_v1.0_768p_comfyui_bf16.safetensors","sizeBytes":1956193000,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
"loras/minimax_h3_flf2v_lora_v1.safetensors": {"folder":"loras","file":"minimax_h3_flf2v_lora_v1.safetensors","url":"https://huggingface.co/pablodawson/MiniMax-H3-360-Orbit-LoRA/resolve/5ddbc2dbbe95edbbdaf5017c3e934b1d01791697/minimax_h3_flf2v_lora_v1.safetensors","pinnedUrl":"https://huggingface.co/pablodawson/MiniMax-H3-360-Orbit-LoRA/resolve/5ddbc2dbbe95edbbdaf5017c3e934b1d01791697/minimax_h3_flf2v_lora_v1.safetensors","sizeBytes":155111424,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
"loras/minimax_h3_turbo_v4_step600_ema.safetensors": {"folder":"loras","file":"minimax_h3_turbo_v4_step600_ema.safetensors","url":"https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/43a74557ac3f6539db8e0f2a959d03feb7a81480/minimax_h3_turbo_v4_step600_ema.safetensors","pinnedUrl":"https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/43a74557ac3f6539db8e0f2a959d03feb7a81480/minimax_h3_turbo_v4_step600_ema.safetensors","sizeBytes":779849816,"gated":false,"presence":"loader","loaders":[["MiniMaxH3TurboLoRA","lora_name"]]},
@@ -426,7 +426,7 @@
"video-insert-wan-vace": {"core":["CLIPLoader","CLIPTextEncode","ComfyMathExpression","CreateVideo","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","ImageToMask","InvertMask","KSampler","LoadImage","LoadImageMask","LoadVideo","LoraLoaderModelOnly","MaskToImage","ModelSamplingSD3","PrimitiveFloat","PrimitiveInt","RepeatImageBatch","SaveVideo","TrimAudioDuration","TrimVideoLatent","UNETLoader","VAEDecode","VAELoader","Video Slice","WanVaceToVideo"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["diffusion_models/wan2.1_vace_14B_fp16.safetensors","loras/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors","text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors","vae/wan_2.1_vae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"video-key-corridorkey": {"core":["MaskToImage","SaveImageAdvanced"],"packs":{"ComfyUI-CorridorKeyWrapper":["ChromaKeyPrepass","CorridorKeyGreenscreen","LoadCorridorKeyModel"],"ComfyUI-VideoHelperSuite":["VHS_BatchManager","VHS_LoadVideo","VHS_VideoCombine","VHS_VideoInfo"]},"files":[],"optional":[],"vramGb":6,"isolated":false,"firstRun":["LoadCorridorKeyModel downloads CorridorKey_v1.0.pth (0.40 GB, nikopueringer/CorridorKey_v1.0) into models/corridorkey/ as CorridorKey.pth on first run","LoadCorridorKeyModel pip-installs Corridor's v1 engine (corridorkey @ git+https://github.com/nikopueringer/CorridorKey.git) the first time it loads, when it is missing"]},
"video-mask-h3-relay": {"core":["CLIPTextEncode","CheckpointLoaderSimple","CreateVideo","GetImageSize","GetVideoComponents","ImageBatch","ImageFromBatch","ImageScale","LoadVideo","MaskToImage","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SaveVideo","Video Slice"],"packs":{"h3-relay":["H3RelayPrepareSource","H3RelayRecoverMasks","H3RelaySelectMask"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[]},
- "video-matte-vrmbg3": {"core":["CreateVideo","GetVideoComponents","LoadVideo","SaveVideo","SaveWEBM"],"packs":{"ComfyUI-RMBG":["AILab_VRMBG"]},"files":["RMBG/VRMBG-3.0/model.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[]},
+ "video-matte-vrmbg3": {"core":["CreateVideo","GetVideoComponents","LoadVideo","SaveImageAdvanced","SaveVideo"],"packs":{"ComfyUI-RMBG":["AILab_VRMBG"],"ComfyUI-VideoHelperSuite":["VHS_VideoCombine"]},"files":["RMBG/VRMBG-3.0/model.safetensors"],"optional":[],"vramGb":6,"isolated":false,"firstRun":[]},
"video-mux-audio": {"core":["AudioAdjustVolume","AudioMerge","ConcatenateVideo","EmptyAudio","LoadAudio","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
"video-mux-audio-replace": {"core":["ConcatenateVideo","LoadAudio","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
"video-person-remove-h3-relay": {"core":["BasicScheduler","CFGGuider","CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","CreateVideo","EmptyImage","EndLoop","GetImageSize","GetVideoComponents","GrowMask","ImageCompositeMasked","ImageFromBatch","ImageScale","KSamplerSelect","LTXVSeparateAVLatent","LoadImage","LoadVideo","LoraLoaderModelOnly","MiniMaxH3AddGuide","MiniMaxH3ReferenceToVideo","MiniMaxH3SigmaShift","ModelAttentionBackend","RandomNoise","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SamplerCustomAdvanced","SaveVideo","SelectCLIPDevice","StartLoop","ThresholdMask","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{"h3-relay":["H3RelayAppendWindow","H3RelayApplyHistory","H3RelayFinishWindows","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","loras/H3-Person-Remover-V1.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_fp16.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[]},
diff --git a/workflows/comfyui/video-matte-vrmbg3.json b/workflows/comfyui/video-matte-vrmbg3.json
index 66c5947a..53fa50b3 100644
--- a/workflows/comfyui/video-matte-vrmbg3.json
+++ b/workflows/comfyui/video-matte-vrmbg3.json
@@ -38,22 +38,33 @@
}
},
"4": {
- "class_type": "SaveWEBM",
+ "class_type": "VHS_VideoCombine",
"inputs": {
"images": [
"3",
0
],
- "filename_prefix": "fuobe/video-matte-vrmbg3",
- "codec": "vp9",
- "fps": [
+ "audio": [
+ "2",
+ 1
+ ],
+ "frame_rate": [
"2",
2
],
- "crf": 24
+ "loop_count": 0,
+ "filename_prefix": "fuobe/video-matte-vrmbg3",
+ "format": "video/webm",
+ "pix_fmt": "yuva420p",
+ "crf": 20,
+ "profile": "4444",
+ "save_metadata": true,
+ "trim_to_audio": false,
+ "pingpong": false,
+ "save_output": true
},
"_meta": {
- "title": "Save transparent WebM (VP9 alpha)"
+ "title": "Cut-out: transparent WebM (yuva420p), or ProRes 4444 with alpha (format video/ProRes, profile 4444)"
}
},
"5": {
@@ -88,5 +99,21 @@
"_meta": {
"title": "Save matte MP4"
}
+ },
+ "7": {
+ "class_type": "SaveImageAdvanced",
+ "inputs": {
+ "images": [
+ "3",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-matte-vrmbg3",
+ "format": "exr",
+ "format.bit_depth": "16-bit float",
+ "format.input_color_space": "sRGB"
+ },
+ "_meta": {
+ "title": "OpenEXR frames with alpha (scene-linear, half float)"
+ }
}
}