The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Green screen: the clean foreground leaves through the cut-out's encoder, and the graph notes read as public notes
Claudef086a841dbdf
diff --git a/scripts/comfy/hand-built/video-key-corridorkey.json b/scripts/comfy/hand-built/video-key-corridorkey.jsonindex 9e9f0f04..63b20cb3 100644--- a/scripts/comfy/hand-built/video-key-corridorkey.json+++ b/scripts/comfy/hand-built/video-key-corridorkey.json@@ -8,6 +8,5 @@"7": {"class_type": "VHS_VideoCombine", "inputs": {"images": ["6", 2], "audio": ["1", 2], "frame_rate": ["3", 5], "loop_count": 0, "filename_prefix": "fuobe/video-key-corridorkey", "format": "video/webm", "pix_fmt": "yuva420p", "crf": 20, "profile": "4444", "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true, "meta_batch": ["2", 0]}, "_meta": {"title": "Cut-out: transparent WebM (yuva420p), or ProRes 4444 with alpha (format video/ProRes, profile 4444)"}},"8": {"class_type": "MaskToImage", "inputs": {"mask": ["6", 0]}, "_meta": {}},"9": {"class_type": "VHS_VideoCombine", "inputs": {"images": ["8", 0], "frame_rate": ["3", 5], "loop_count": 0, "filename_prefix": "fuobe/video-key-corridorkey-matte", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true, "meta_batch": ["2", 0]}, "_meta": {"title": "Alpha mask MP4"}},- "10": {"class_type": "VHS_VideoCombine", "inputs": {"images": ["6", 1], "audio": ["1", 2], "frame_rate": ["3", 5], "loop_count": 0, "filename_prefix": "fuobe/video-key-corridorkey-fg", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "trim_to_audio": false, "pingpong": false, "save_output": true, "meta_batch": ["2", 0]}, "_meta": {"title": "Clean foreground MP4 (green spill removed)"}},"11": {"class_type": "SaveImageAdvanced", "inputs": {"images": ["6", 2], "filename_prefix": "fuobe/video-key-corridorkey-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.mjsindex c51bee5b..4421ce25 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -1189,7 +1189,7 @@ export const SPEC = [autoDownloads: ['AILab_FeyNoBg downloads config.json, FeyNobg.safetensors (1.05 GB) and preprocessor_config.json from 1038lab/FeyNobg into models/RMBG/FeyNoBg/ on first run'],notes:'AILab_FeyNoBg (ComfyUI-RMBG 3.3.0): a 263M Swin-L matting model for hair, fur, glass and lace, no trimap; refine_foreground on (sub-pixel edge refinement), background Alpha -> RGBA PNG. ' +- 'Needs the nobg Python package (the pack\'s requirements.txt: nobg>=0.3.1). 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).',+ 'Needs the nobg Python package (the pack\'s requirements.txt: nobg>=0.3.1). The class is recorded from ComfyUI-RMBG\'s source at the pinned commit.',},{id: 'face-swap-reactor',@@ -2452,13 +2452,13 @@ export const SPEC = [vramGb: 6,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. ' ++ '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 once Bria grants access. ' ++ 'Each frame is read 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).',+ 'model.py is Bria\'s own model code, loaded by the node. The class is recorded from ComfyUI-RMBG\'s source at the pinned commit.',},{id: 'video-key-corridorkey',@@ -2477,13 +2477,12 @@ export const SPEC = [outputs: [{ node: '7', kind: 'video', role: 'cutout' },{ node: '9', kind: 'video', role: 'matte' },- { node: '10', kind: 'video', role: 'foreground' },{ node: '11', kind: 'image', role: 'frames' },],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, 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.',+ 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); its Hugging Face repo is tagged CC BY-NC-SA 4.0, the licence the added terms build on. 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',@@ -2493,10 +2492,11 @@ export const SPEC = ['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. ' ++ 'node 9 matte (the alpha as an H.264 MP4), node 11 frames (the RGBA as half-float OpenEXR, input sRGB -> scene-linear, one file a frame). ' ++ 'params.matteOutput keeps cutout or matte; "foreground" keeps node 7 fed from the keyer\'s despilled foreground (output 1) as H.264 with sound instead. ' ++ '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).',+ 'NVIDIA RTX 30-series or newer; Corridor gives 4 GB up to 1440p and 6 GB for 4K for 2.0. The wrapper\'s classes are recorded from its source at the pinned commit.',},{id: 'video-depth-da3',diff --git a/scripts/comfy/validation-state.json b/scripts/comfy/validation-state.jsonindex 36e1f58c..05db7cfb 100644--- a/scripts/comfy/validation-state.json+++ b/scripts/comfy/validation-state.json@@ -189,7 +189,7 @@"sha256": "1b466b50169056e40c59c629f9c74f041d57fc1da9f45d8bf7b2dacee8e6b296","validated": false,"error": "HTTP 400: missing_node_type: Node 'FeyNoBg fine-hair matte (foreground refine on)' not found. The custom node may not be installed. (Node ID '#2')",- "at": "2026-11-02T10:56:31.263Z"+ "at": "2026-11-02T11:07:46.548Z"},"image-to-3d-hunyuan3d-21": {"sha256": "275a30c4184a8728e919166e72d88913abcf61a85b051a897ecb7249db849a08",@@ -828,10 +828,10 @@"at": "2026-10-23T00:12:21.209Z"},"video-key-corridorkey": {- "sha256": "6366be8488f898a27bae86b107eeb10478a315efec29b6c38cbd59a436d7895b",+ "sha256": "4cf78bd97d1229965b745200c44d987664ef0bb7666655cdf22fbe2381955a25","validated": false,"error": "HTTP 400: missing_node_type: Node 'CorridorKey (v1.0 weights, downloaded on first run)' not found. The custom node may not be installed. (Node ID '#4')",- "at": "2026-11-02T10:56:31.303Z"+ "at": "2026-11-02T11:07:46.594Z"},"video-mask-h3-relay": {"sha256": "d5a3fc7046010b54ea070f45acc325602ed5ab5dbe403040e4d6591949084c84",@@ -843,7 +843,7 @@"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:58:42.274Z"+ "at": "2026-11-02T11:08:13.090Z"},"video-mux-audio": {"sha256": "68af795bae0c0e89749819173916044e4024a6ce3035f830b48c80e0b6899181",diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.tsindex b0b9eb14..96bd7085 100644--- a/src/server/providers/comfyui.ts+++ b/src/server/providers/comfyui.ts@@ -1604,7 +1604,9 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,loras = [];}// 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's clean foreground leaves through the cut-out's encoder (below), so the cut-out's node is kept.+ const keyForeground = ctx.op === "bg-remove-video" && input.matteOutput === "foreground";+ const keepRole: string | undefined = ctx.op === "bg-remove-video" ? (keyForeground ? "cutout" : 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";@@ -1836,6 +1838,13 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,}// 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 && !(keyExr && o.role === "frames")) delete wf[o.node];+ // The clean foreground (CorridorKey's despilled colours, output 1): the cut-out's encoder takes it as a plain H.264 with sound.+ if (keyForeground) {+ const keyer = Object.entries(wf).find(([, n]) => n.class_type === "CorridorKeyGreenscreen")?.[0];+ const cut = manifest.outputs.find((o) => o.role === "cutout")?.node;+ if (!keyer || !cut || !wf[cut]) throw new ProviderError(`${manifest.title} doesn't make a clean foreground — CorridorKey in Green screen does`, 400);+ wf[cut] = { ...wf[cut], inputs: { ...wf[cut].inputs, images: [keyer, 1], format: "video/h264-mp4", pix_fmt: "yuv420p", crf: 19 } };+ }// 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];diff --git a/tests/comfy-library-4.test.ts b/tests/comfy-library-4.test.tsindex b7c103f4..c8aa4ccf 100644--- a/tests/comfy-library-4.test.ts+++ b/tests/comfy-library-4.test.ts@@ -93,6 +93,9 @@ describe("round-4 ComfyUI workflows", () => {// 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",+ // Green screen and fine hair (nm10-keying): ComfyUI-RMBG 3.3.0 and the CorridorKey wrapper aren't on the validation+ // server (tests/keying.test.ts checks their classes against the packs' source).+ "image-matte-feynobg","minimax-h3-t2v","minimax-h3-i2v","minimax-h3-flf2v",@@ -105,6 +108,8 @@ describe("round-4 ComfyUI workflows", () => {"tts-qwen3-clone","tts-voxcpm2","tts-voxcpm2-clone",+ "video-matte-vrmbg3",+ "video-key-corridorkey","qwen-image-21-t2i","qwen-image-21-edit","qwen-image-21-turbo-edit",diff --git a/tests/gpu-requirements.test.ts b/tests/gpu-requirements.test.tsindex 42d60ca8..d511f301 100644--- a/tests/gpu-requirements.test.ts+++ b/tests/gpu-requirements.test.ts@@ -81,9 +81,9 @@ describe("requirements.json", () => {expect(files.filter(([, f]) => new URL(f.url).host === "github.com").map(([k]) => k)).toEqual(["text_encoders/adapter_v12.safetensors"]);});- it("marks exactly the LTX-2.5 files (the model's repo, and Lightricks' Restore and Detail Refine IC-LoRAs) and FLUX 3 Image Klein's as gated", () => {+ it("marks exactly the LTX-2.5 files (the model's repo, and Lightricks' Restore and Detail Refine IC-LoRAs), FLUX 3 Image Klein's and Bria VRMBG 3.0's as gated", () => {const gated = files.filter(([, f]) => f.gated).map(([k]) => k);- const gatedUrl = (u: string) => /\/Lightricks\/LTX-2\.5(\/|-22b-IC-LoRA-(Restore|Refine-Details)\/)/.test(u) || u.includes("/black-forest-labs/flux-3-image-klein-comfy/");+ const gatedUrl = (u: string) => /\/Lightricks\/LTX-2\.5(\/|-22b-IC-LoRA-(Restore|Refine-Details)\/)/.test(u) || u.includes("/black-forest-labs/flux-3-image-klein-comfy/") || u.includes("/briaai/VRMBG-3.0/");expect(gated.sort()).toEqual(files.filter(([, f]) => gatedUrl(f.url)).map(([k]) => k).sort());expect(gated.length).toBeGreaterThan(0);});diff --git a/tests/keying.test.ts b/tests/keying.test.tsindex b217e73f..e4d57bce 100644--- a/tests/keying.test.ts+++ b/tests/keying.test.ts@@ -39,7 +39,7 @@ const { licenceTerms } = await import("@/lib/licences");const { keyFormatValues } = await import("@/lib/av/keying");const GRAPHS = {- "video-key-corridorkey": { capability: "bg-remove-video", packs: ["ComfyUI-CorridorKeyWrapper", "ComfyUI-VideoHelperSuite"], roles: ["cutout", "matte", "foreground", "frames"] },+ "video-key-corridorkey": { capability: "bg-remove-video", packs: ["ComfyUI-CorridorKeyWrapper", "ComfyUI-VideoHelperSuite"], roles: ["cutout", "matte", "frames"] },"video-matte-vrmbg3": { capability: "bg-remove-video", packs: ["ComfyUI-RMBG", "ComfyUI-VideoHelperSuite"], roles: ["cutout", "matte", "frames"] },"image-matte-feynobg": { capability: "bg-remove", packs: ["ComfyUI-RMBG"], roles: [] },} as const;@@ -112,7 +112,7 @@ describe("the green-screen key on your GPU", () => {it("runs in passes: the loader and every encoder share one meta batch", async () => {const g = graph("video-key-corridorkey");const batched = Object.entries(g).filter(([, n]) => n.inputs.meta_batch).map(([id]) => id);- expect(batched.sort()).toEqual(["1", "10", "7", "9"]);+ expect(batched.sort()).toEqual(["1", "7", "9"]);const prepared = await prepareWorkflow("video-key-corridorkey", { video: "/clip.mp4", matteOutput: "cutout" } as GenInput, ctx("bg-remove-video"));expect(prepared.meta.metaBatch).toBe(true);expect(prepared.workflow["2"].inputs.frames_per_batch).toBe(32);@@ -120,16 +120,19 @@ describe("the green-screen key on your GPU", () => {it("keeps the output asked for, and writes the cut-out as WebM, ProRes 4444 with alpha or EXR frames", async () => {const webm = await prepare("video-key-corridorkey", { matteOutput: "cutout" });- expect(Object.keys(webm).filter((k) => ["7", "9", "10", "11"].includes(k))).toEqual(["7"]);+ expect(Object.keys(webm).filter((k) => ["7", "9", "11"].includes(k))).toEqual(["7"]);expect(webm["7"].inputs).toMatchObject({ format: "video/webm", pix_fmt: "yuva420p" });const prores = await prepare("video-key-corridorkey", { matteOutput: "cutout", format: "prores_4444" });expect(prores["7"].inputs).toMatchObject({ format: "video/ProRes", profile: "4444" });expect(prores["11"]).toBeUndefined();const exr = await prepare("video-key-corridorkey", { matteOutput: "cutout", format: "exr" });- expect(Object.keys(exr).filter((k) => ["7", "9", "10", "11"].includes(k)).sort()).toEqual(["11", "7"]);+ expect(Object.keys(exr).filter((k) => ["7", "9", "11"].includes(k)).sort()).toEqual(["11", "7"]);expect(exr["11"].inputs).toMatchObject({ format: "exr", "format.bit_depth": "16-bit float", "format.input_color_space": "sRGB" });+ // The clean foreground leaves through the cut-out's encoder: the keyer's despilled colours as H.264 with the sound.const fg = await prepare("video-key-corridorkey", { matteOutput: "foreground", extra: { despill: 2, screenColor: "blue" } });- expect(Object.keys(fg).filter((k) => ["7", "9", "10", "11"].includes(k))).toEqual(["10"]);+ expect(Object.keys(fg).filter((k) => ["7", "9", "11"].includes(k))).toEqual(["7"]);+ expect(fg["7"].inputs).toMatchObject({ images: ["6", 1], format: "video/h264-mp4", pix_fmt: "yuv420p", audio: ["1", 2] });+ await expect(prepare("video-matte-vrmbg3", { matteOutput: "foreground" })).rejects.toThrow(/doesn't make a clean foreground/);expect(fg["6"].inputs.despill_strength).toBe(2);expect(fg["5"].inputs.screen_color).toBe("blue");// ProRes and EXR carry the cut-out with its alpha, not the mask.diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex 40e15835..e3c3b74d 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -1,6 +1,6 @@{"version": 1,- "generatedAt": "2026-11-02T10:58:41.509Z",+ "generatedAt": "2026-11-02T11:08:12.191Z","comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597","comfyuiVersion": "0.41.0","workflowTemplatesVersion": "0.11.86",@@ -2585,7 +2585,7 @@"vramGb": 4,"license": "FeyNoBg weights: unknown (the Hugging Face repo 1038lab/FeyNobg has no card, no licence tag and no LICENSE file, checked 2026-11-02); ComfyUI-RMBG code GPL-3.0","validated": false,- "notes": "AILab_FeyNoBg (ComfyUI-RMBG 3.3.0): a 263M Swin-L matting model for hair, fur, glass and lace, no trimap; refine_foreground on (sub-pixel edge refinement), background Alpha -> RGBA PNG. Needs the nobg Python package (the pack's requirements.txt: nobg>=0.3.1). 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_FeyNoBg (ComfyUI-RMBG 3.3.0): a 263M Swin-L matting model for hair, fur, glass and lace, no trimap; refine_foreground on (sub-pixel edge refinement), background Alpha -> RGBA PNG. Needs the nobg Python package (the pack's requirements.txt: nobg>=0.3.1). The class is recorded from ComfyUI-RMBG's source at the pinned commit.","autoDownloads": ["AILab_FeyNoBg downloads config.json, FeyNobg.safetensors (1.05 GB) and preprocessor_config.json from 1038lab/FeyNobg into models/RMBG/FeyNoBg/ on first run"],@@ -9659,7 +9659,7 @@"vramGb": 6,"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 -> 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).",+ "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 once Bria grants access. Each frame is read 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. The class is recorded from ComfyUI-RMBG's source at the pinned commit.","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')"},{@@ -9714,10 +9714,6 @@"node": "9","input": "filename_prefix"},- {- "node": "10",- "input": "filename_prefix"- },{"node": "11","input": "filename_prefix"@@ -9735,11 +9731,6 @@"kind": "video","role": "matte"},- {- "node": "10",- "kind": "video",- "role": "foreground"- },{"node": "11","kind": "image",@@ -9769,9 +9760,9 @@}],"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, 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.",+ "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); its Hugging Face repo is tagged CC BY-NC-SA 4.0, the licence the added terms build on. 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).",+ "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 11 frames (the RGBA as half-float OpenEXR, input sRGB -> scene-linear, one file a frame). params.matteOutput keeps cutout or matte; \"foreground\" keeps node 7 fed from the keyer's despilled foreground (output 1) as H.264 with sound instead. 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. The wrapper's classes are recorded from its source at the pinned commit.","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/workflows/comfyui/video-key-corridorkey.json b/workflows/comfyui/video-key-corridorkey.jsonindex 2ca582d6..026632d5 100644--- a/workflows/comfyui/video-key-corridorkey.json+++ b/workflows/comfyui/video-key-corridorkey.json@@ -166,39 +166,6 @@"title": "Alpha mask MP4"}},- "10": {- "class_type": "VHS_VideoCombine",- "inputs": {- "images": [- "6",- 1- ],- "audio": [- "1",- 2- ],- "frame_rate": [- "3",- 5- ],- "loop_count": 0,- "filename_prefix": "fuobe/video-key-corridorkey",- "format": "video/h264-mp4",- "pix_fmt": "yuv420p",- "crf": 19,- "save_metadata": true,- "trim_to_audio": false,- "pingpong": false,- "save_output": true,- "meta_batch": [- "2",- 0- ]- },- "_meta": {- "title": "Clean foreground MP4 (green spill removed)"- }- },"11": {"class_type": "SaveImageAdvanced","inputs": {