sam2-cutouts

Track subjects in video clips and create alpha cutouts with Meta SAM 2.

3|1|Updated May 29, 2026
One-click install
npx skills add https://github.com/het8802/OpenNolan --skill sam2-cutouts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sam2-cutouts
Source: https://github.com/het8802/OpenNolan/tree/main/.agents/skills/sam2-cutouts
Command: npx skills add https://github.com/het8802/OpenNolan --skill sam2-cutouts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires meta/sam-2-video, and includes scripts (resource) components.

What problem does it solve?

The need for precise and automated subject cutouts from videos to overlay or restyle content separately, such as removing background noise or compositing.

Core Features & Use Cases

  • Subject Isolation: Isolate and track a subject in a video clip to create a transparent alpha cutout.
  • Multi-Object Tracking: Ability to track and cut out multiple objects simultaneously.
  • Fixing Tracking Drift: Option to fix tracking issues during post-processing.
  • Mask Types: Supports binary and highlighted (debugging/preview) mask types.

Quick Start

Isolate and track a subject in 'subject_video.mp4' using the 'object_cutout' tool from Meta SAM 2.

Frequently Asked Questions about sam2-cutouts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a transparent alpha cutout from a video?

Yes, you can track and cut out multiple objects simultaneously in a single video clip. The Skill supports multi-object tracking, allowing you to isolate several subjects at once to create separate transparent alpha layers for your video processing.

What is the best way to fix tracking drift during video subject isolation?

The best way to fix tracking drift during video subject isolation is using frame-specific adjustments. This Skill includes options to correct tracking issues during post-processing by manually adjusting the mask at problem frames to realign the subject.

Does Meta SAM 2 video cutout work with low-resolution clips?

Meta SAM 2 video cutout operates on clips of any length but performs best with clearly defined subjects in high-resolution video. Low-resolution footage may reduce subject isolation accuracy and increase tracking drift during the cutout process.

How do I preview a binary mask when isolating a subject from a video?

To preview a binary mask when isolating a subject from a video, select the highlighted mask type option. This debugging mode overlays the mask onto the video frames, allowing you to verify subject isolation accuracy before exporting the final alpha cutout.