video-inpainting

Object removal and region editing across video frames via prompt-driven spatial language. Routes across three models: Wan 2-7 Edit-Video (default, prompt-driven edits), Lucy Edit Restyle (identity-stable region swaps), and Seedream 4-0 Edit-Sequential (frame-stack treatment for short clips) Invoked via runcomfy run CLI with video URL and natural-language prompt describing the region and desired edit (e.g., "remove watermark in bottom-right") Handles watermark removal, object deletion, and region replacement with motion continuity; for pixel-precise mask propagation, directs to ComfyUI workflows with SAM2 segmentation tracking Triggers on phrases like "video inpaint," "remove from video," "clean up video," or explicit region-edit requests

INSTALLATION
npx skills add https://github.com/agentspace-so/runcomfy-agent-skills --skill video-inpainting
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

Video Inpainting

Region edits across video frames — remove an object that appears across many frames, clean up wires or watermarks, replace a region with motion that matches the rest of the clip. This skill routes across the prompt-driven video edit endpoints in the RunComfy catalog and gives the agent a clear default for each intent.

runcomfy.com · Wan 2-7 edit-video · CLI docs

Powered by the RunComfy CLI

# 1. Install (see runcomfy-cli skill for details)

npm i -g @runcomfy/cli      # or:  npx -y @runcomfy/cli --version

# 2. Sign in

runcomfy login              # or in CI: export RUNCOMFY_TOKEN=<token>

3. Edit a video (closest CLI-reachable approach)

runcomfy run wan-ai/wan-2-7/edit-video

--input '{"video_url": "...", "prompt": "..."}'

--output-dir ./out

CLI deep dive: [`runcomfy-cli`](https://www.skills.sh/agentspace-so/runcomfy-agent-skills/runcomfy-cli) skill.

---

## Pick the right model

Routes via prompt-driven region edits — the model resolves the targeted region from spatial language across all frames.

**Wan 2-7 Edit-Video** — `wan-ai/wan-2-7/edit-video` *(default)*

> Wan 2-7's video edit endpoint. Drive frame-by-frame edits via prompt + the source video.

> Pick for: "remove the watermark in the bottom-right", "replace the sky with a sunset" — prompt-driven region intent without an explicit mask.

> Avoid for: precise pixel-level region targeting — use a ComfyUI workflow.

**Lucy Edit Restyle** — `decart/lucy-edit/restyle`

> Identity-stable video restyle that handles region-aware edits.

> Pick for: lightweight outfit / object swap that needs to track across frames.

> Avoid for: surgical mask-driven inpaint — ComfyUI workflow.

**Seedream 4-0 Edit-Sequential** — [`bytedance/seedream-4-0/edit-sequential`](https://www.runcomfy.com/models/bytedance/seedream-4-0/edit-sequential?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-inpainting)

> Sequential still edits — feed a sequence of frames as inputs, apply the same edit instruction across each, useful if you're treating the video as a frame stack.

> Pick for: short, low-frame-rate sequences where each frame can be edited independently and a separate tool re-encodes to video.

> Avoid for: long clips, motion-coherent fills — temporal consistency degrades.

---

## Route 1: Wan 2-7 Edit-Video — closest CLI path

**Model**: `wan-ai/wan-2-7/edit-video`

**Catalog**: [Wan 2-7 edit-video](https://www.runcomfy.com/models/wan-ai/wan-2-7/edit?utm_source=skills.sh&utm_medium=skill&utm_campaign=video-inpainting)

### Invoke

runcomfy run wan-ai/wan-2-7/edit-video \

--input '{

"video_url": "https://your-cdn.example/source.mp4",

"prompt": "Remove the watermark in the bottom-right corner across all frames. Preserve all other content exactly. Match background where the watermark was."

}' \

--output-dir ./out

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card