Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Video subject cutout v1.0.0

Use this resource to separate a subject from a video background

New

  • 322 downloads
  • 123 likes
  • 228 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install video-subject-separation

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent scans your computer, picks the right SAM 2.1 model size, installs everything in a deletable folder, then separates the subject you point at. It tests a short range first, adjusts the click points, then processes the whole clip. You get the video with the subject highlighted in green and a PNG mask for every frame, ready for a new background or an effect. Nothing is uploaded.

Mostly picked by

Updated November 2, 2026

A video where the subject separated from the background is highlighted in green, with one mask per frame.

Details

Generates with
SAM 2.1
Uses
  • Python 3.10+
  • ffmpeg
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: the full method, from model choice to final render
  • A video with the subject highlighted in green and the original audio
  • One black and white mask per frame, reusable for further work
  • Cleanup instructions to remove everything afterwards

Good fit for

  • Cutting out a presenter to place on a new background
  • Isolating a product or a hand in a demo video
  • Preparing layers for an edit or a motion design

Not for

  • Cutting out very fine hair with soft edges
  • Processing long videos on a computer without a graphics card
  • Retouching a single still image

Tags

  • video
  • cutout
  • rotoscoping
  • mask
  • sam2

About

You say

"Use object-separation to separate the person from the background in clip.mp4."

A video where the subject separated from the background is highlighted in green, with one mask per frame.

Skill published by barty-bart under the MIT license.

Show more

Prerequisites

You bring
A constant frame rate video and A description of the subject to separate
Dependencies
Python 3.10+ and ffmpeg

How to use it

  1. Put the video in the project folder and describe the subject to separate.
  2. Let the agent scan the machine, choose the model and test a short range.
  3. Approve the green preview, then collect the video and the masks.

Content preview

Files

  • LICENSE1.3 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • SKILL.md9.4 KB

Origin and licence

Modified by PalateKit

Author
barty-bart
Source
github.com/barty-bart/motion-graphics/tree/3d83d987d658601d8a1269eb691622bdcd427335/skills/object-separation
Licence
MIT

Notice

Version modifiée de « object-separation » (barty-bart, MIT) : traduction française et fiche par PalateKit.

User reviews

–

No ratings yet

Loading reviews…

Delete your review?

Your rating and comment will be removed from the page.

Frequently asked questions

Do I need a graphics card?

No. On a CPU alone, expect about 5 seconds per frame: a 10 second clip at 30 fps takes close to half an hour. An NVIDIA card or Apple Silicon is much faster.

What do I need to install, and how do I remove it?

Python 3.10 or later and ffmpeg. Libraries go into a .object-separation folder that you delete when done, along with the downloaded model. Only the first run needs the internet.