Xpersona
M

MiVisionForgeSVOR

CLAWHUB · Unverified

Video Object Remove with SVOR(stable video object removal). Skill: MiVisionForgeSVOR Owner: wangfei1204 Summary: Video Object Remove with SVOR(stable video object removal). Tags: latest:1.0.4 Version history: v1.0.5 | 2026-04-16T03:54:02.792Z | user - 更新了服务运营商名称,由“小米Tools团队”改为“小米大模型应用团队” - 隐私与安全声明中的相关团队名称同步更新 - 其他内容未变,功能与参数保持一致 v1.0.4 | 2026-04-13T12:31:16.381Z | user - Updated skill description to a concise English summary. - Removed detailed usage instructions, background,

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170avetz7emy65j5kcsg4r9zx83q55f:mi-visionforge-svor
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wangfei1204-mi-visionforge-svor/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

32,046 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

---
name: MiVisionForge-SVOR
description: |-
  Video Object Remove with SVOR(stable video object removal). 
version: 1.0.5
allowed-tools: Bash, Read, Write, Edit, Glob, Grep
requires:
  env:
    - SVOR_API_KEY
  bins:
    - python3
    - ffmpeg
primaryEnv: SVOR_API_KEY
---

# 视频目标分割与消除 (CLI 版)

基于 SVOR(stable video object removal) 实现视频目标分割和消除,通过命令行脚本 `video_remove.py` 执行。
支持最长3s视频的指定目标消除

## 基本信息

| 项 | 值 |
|---|---|
| 服务运营商 | 小米大模型应用团队 |
| 服务域名 | https://mipixgen-pre.ai.mioffice.cn |
| 开源仓库 | https://github.com/xiaomi-research/svor |
| API Key | 环境变量 `SVOR_API_KEY`(必需,可在开源仓库页面获取) |
| 脚本路径 | `scripts/video_remove.py` |


## 前置依赖

```bash
python --version      # Python 3.x
pip show requests     # requests 模块
ffmpeg -version       # ffmpeg 用于视频处理
```

## 工作流程

### 推荐两步法(复杂场景)

Step 1: 分割 → 获取 VLM 推荐 → 人工分析目标 ID
Step 2: 使用目标 ID → mask 转换 → 合并 → 消除

### 一步法(简单场景,文本提示有效时)

直接指定 classes + targets → 分割 → mask 转换 → 消除


## 命令行用法

### 1. 仅分割(获取 VLM 推荐)

```bash
python scripts/video_remove.py --video "path/to/video.mp4" --segment --classes "label:text:remove_prompt"
```

输出 VLM 推荐的目标 ID 和边界框,据此决定哪些 ID 需要消除。

### 2. 跑消除(基于 VLM 推荐)

```bash
python scripts/video_remove.py --video "path/to/video.mp4" --skip-segment --targets "label:1,2,3"
```

### 3. 一步完成

```bash
python scripts/video_remove.py --video "path/to/video.mp4" --classes "sign:sign:remove the sign" --targets "sign:2,3"
```

### 4. 多类目标消除

```bash
# 第一步:分割两类目标
python scripts/video_remove.py --video "path/to/video.mp4" --segment \
  --classes "person:person:remove pedestrians" "car:car:remove cars"

# 第二步:根据 VLM 推荐填写 targets
python scripts/video_remove.py --video "path/to/video.mp4" --skip-segment \
  --targets "person:1,3,4" "car:2"
```

### 5. 指定标注帧

```bash
python scripts/video_remove.py --video "path/to/video.mp4" --frame 16 --segment \
  --classes "girl:girl in red:remove the girl in red"
```

### 6. 框标注(文本提示无效时)

```bash
python scripts/video_remove.py --video "path/to/video.mp4" --segment \
  --classes "obj:cup:remove the cup" --boxes "obj:0.15,0.7,0.3,0.25"
```

### 7. 点标注

```bash
python scripts/video_remove.py --video "path/to/video.mp4" --segment \
  --classes "obj:cup:remove the cup" --points "obj:0.25,0.75"
```

## 参数说明

| 参数 | 说明 | 示例 |
|------|------|------|
| `--video` | 输入视频路径(必填) | `"D:\video.mp4"` |
| `--classes` | 分割类别 `label:text:prompt` | `"person:person:remove people"` |
| `--targets` | 目标 ID `label:1,2,3` | `"person:1,3,4"` |
| `--boxes` | 框标注 `label:x,y,w,h`(归一化 0~1) | `"obj:0.15,0.7,0.3,0.25"` |
| `--points` | 点标注 `label:x,y`(归一化 0~1) | `"obj:0.25,0.75"` |
| `--frame` | 标注帧序号(0-based),默认 0 | `--frame 16` |
| `--segment` | 仅分割,打印 VLM 推荐后退出 | |
| `--skip-segment` | 跳过分割,使用缓存 mask | |
| `--tmp-dir` | 临时目录(默认 `./temp/`) | `"C:\temp"` |

## VLM 推荐分析规则

SAM3 返回的 `suggest_obj` 包含 VLM 对目标的分析。**不要用正则表达式解析**,应人工分析:

- VLM 会说明哪些 obj_id 符合消除指令、哪些不符合
- 关注"需要保留"和"需要消除"的区分
- 结合 `object_boxes` 的坐标辅助判断位置

**示例 VLM 输出分析:**
```
VLM: 符合用户指令的有 obj_id 1、3、4(背景行人),需消除;
     obj_id 2 是前景人物,不需要消除。
→ -

_meta.json

{
  "ownerId": "kn7951tw8ma630zsybs9ewehmd832xxf",
  "slug": "mi-visionforge-svor",
  "version": "1.0.5",
  "publishedAt": 1776311642792
}

Sponsored

Ads related to MiVisionForgeSVOR and adjacent AI workflows.