SKILL.md
$2b
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