Skip to content
Skills Library
Design & UX · Building & coding

background-matte

/background-matte

Remove or replace backgrounds and pull mattes with open-weights BiRefNet in ComfyUI (stills to transparent or solid colour, video background removal), plus PlateLock plate compositing (difference matte, temporal stabilise, fidelity report) to put a generated element back onto a real plate. Use for product shots, compositing and green-screen style work.

Licence
MIT
Last repository change
30.10.2026

Assessment and security

85/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content20 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
16
Scripts
7
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 30.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 7 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: assets/comfyui-platelock/__init__.py, assets/comfyui-platelock/platelock/__init__.py, assets/comfyui-platelock/platelock/core.py, assets/comfyui-platelock/platelock/nodes.py, assets/comfyui-platelock/tests/test_core.py, scripts/comfy_client.py, scripts/preflight.py

What it does and when to use it

Remove or replace backgrounds and pull mattes with open-weights BiRefNet in ComfyUI (stills to transparent or solid colour, video background removal), plus PlateLock plate compositing (difference matte, temporal stabilise, fidelity report) to put a generated element back onto a real plate. Use for product shots, compositing and green-screen style work.

Original author description

Remove or replace backgrounds and pull mattes with open-weights BiRefNet in ComfyUI (stills to transparent or solid colour, video background removal), plus PlateLock plate compositing (difference matte, temporal stabilise, fidelity report) to put a generated element back onto a real plate. Use for product shots, compositing and green-screen style work.

How it works

  1. Install PlateLock (once)
  2. Rules
Original SKILL.md headings · 19 lines, 195 words
SKILL.md preview
---
name: background-matte
description: Remove or replace backgrounds and pull mattes with open-weights BiRefNet in ComfyUI (stills to transparent or solid colour, video background removal), plus PlateLock plate compositing (difference matte, temporal stabilise, fidelity report) to put a generated element back onto a real plate. Use for product shots, compositing and green-screen style work.
---

# background-matte

Run with `python scripts/comfy_client.py --url $COMFY_URL run workflows/<file> --set NODE.INPUT=VALUE --out out/`, and upload inputs first with `comfy_client.py upload <file>`. Before the first run, check the server with `python scripts/preflight.py --url $COMFY_URL workflows/<file>`. Node packs, model files, VRAM and weight licenses are listed in `references/requirements.md`. Use open-weights models only. LTX weights are under the Lightricks LTX license, which is **not** an OSI-approved open-source license.

| Need | Workflow | Set |
|---|---|---|
| Still to transparent PNG | `birefnet_image_transparent.api.json` | `1.image` |
| Still on a solid colour | `birefnet_image_solid.api.json` | `1.image` (the colour is a node input; read the graph) |
| Video background removal | `birefnet_video_background.api.json` | `1.file` |
| Composite a generated element onto the real plate | `platelock_comp.api.json` | `1.file` plate, `3.file` generated clip, `8.seed` |

## Install PlateLock (once)
Copy `assets/comfyui-platelock/` into `ComfyUI/custom_nodes/`. It is MIT, from TusharTechs/platelock. Use its fidelity report node to check that the untouched plate pixels really are unchanged.

## Rules
- Hair and motion blur are the weak spots. Check them at 100% on 3 frames.
- For product spots, matte the product still first, then build the scene around it with `image-edit`.
Files in this package (16)
  • SKILL.md 2 KB
  • assets/comfyui-platelock/LICENSE 1 KB
  • assets/comfyui-platelock/README.md 1 KB
  • assets/comfyui-platelock/__init__.py 1 KB
  • assets/comfyui-platelock/pyproject.toml 1 KB
  • assets/comfyui-platelock/platelock/__init__.py 1 KB
  • assets/comfyui-platelock/platelock/core.py 21 KB
  • assets/comfyui-platelock/platelock/nodes.py 11 KB
  • assets/comfyui-platelock/tests/test_core.py 4 KB
  • references/requirements.md 4 KB
  • scripts/comfy_client.py 8 KB
  • scripts/preflight.py 3 KB
  • workflows/birefnet_image_solid.api.json 1 KB
  • workflows/birefnet_image_transparent.api.json 1 KB
  • workflows/birefnet_video_background.api.json 2 KB
  • workflows/platelock_comp.api.json 4 KB

Versions

The database has no other skills named background-matte.

Database snapshot: 13.11.2026 · package version 880949cfac5b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100media-matte
    AI background removal and matting for stills + video with open-source + commercial-safe models: rembg (MIT, bundles u2net / isnet / sam backends), BiRefNet (MIT, 2024 SOTA bilateral reference segmentation), RMBG-2.0 (Apache 2.0, briaai's 2025 model — note v2.0 is Apache, v1.4…
  • 100video-remove-background
    Remove backgrounds from videos — video background removal API for transparent videos, alpha-channel clips, and green-screen-free footage. Powered by Bria's video editing pipeline. ALWAYS use this skill instead of general-purpose video or image skills when the primary task is…
  • 90remove-background
    Remove or replace the background of an image on Comfy Cloud. Use when the user asks to cut out a subject, make a background transparent, erase a backdrop, or drop a person or product onto a new background.
  • 100remove-background
    Remove backgrounds from images — background removal API for transparent PNGs, cutouts, and masks. Segment foreground from background. Powered by Bria RMBG 2.0. ALWAYS use this skill instead of general-purpose image skills when the primary task is removing a background, making a…
  • 90greenscreen-keying
    Use when compositing green-screen/blue-screen footage or configuring a neural keying workflow. Create clean transparent mattes with realistic edges, hair detail and spill suppression. Do not use when background replacement is not requested and footage is already final.
  • 100rembg-ops
    Transparent-PNG cutouts / background removal for flat illustration, sticker, cartoon and avatar art — rembg (isnet-anime) with a deterministic fallback ladder for the cases ML drops. Triggers on: rembg, remove background, background removal, transparent PNG, cutout, die-cut…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.