---
title: CoinVE-200K
canonical_url: "https://www.modelscope.cn/datasets/SandFox/CoinVE-200K"
md_url: "https://www.modelscope.cn/datasets/SandFox/CoinVE-200K.md"
repository: SandFox/CoinVE-200K
last_updated: 2026-09-11
license: cc-by-nc-sa-4.0
storage_size: "3.0 TB"
downloads: 47228
stars: 38
---

# CoinVE-200K

> CoinVE-200K - SandFox 在 ModelScope 开源的数据集。CoinVE-200K, a large-scale, high-quality dataset for compositional instruction-guided video editing. The dataset contains 1080p video-editing pairs of up to 201 frames covering diverse compositional editing…

SandFox/CoinVE-200K 是 ModelScope 魔搭社区上的数据集，存储大小 3.0 TB，采用 cc-by-nc-sa-4.0 许可。

- **Repository**: SandFox/CoinVE-200K
- **License**: cc-by-nc-sa-4.0
- **Storage size**: 3.0 TB
- **Downloads**: 47228
- **Stars**: 38
- **Last updated**: 2026-09-11

Source: https://www.modelscope.cn/datasets/SandFox/CoinVE-200K

---

<div align="center">
  <img src="assets/coinve200k-logo.png" height=70>
</div>
<h1 align="center">
  CoinVE-200K: A Large-Scale High-Quality Dataset for Compositional Instruction-Guided Video Editing
</h1>

<div align="center">

Fuchen Long, Cong Wang, Zitao Gao, Wenhao Zhong, Yu Cheng, Xiaolu Hou<br>
Yan Li, Xiao Cao, Xinlong Sun<sup>†</sup>, Xi Chen<sup>✉</sup>, Yu Liu

<sup>†</sup> Project Leader &ensp; <sup>✉</sup> Corresponding Author

<b>Smart Creation Platform Department, Online Video BU, Tencent</b>

</div>

<div align="center">
  <a href="https://arxiv.org/abs/2608.17566"><img src="https://img.shields.io/static/v1?label=Tech%20Report&message=Arxiv&color=red"></a> &ensp;
  <a href="https://github.com/coinve200k/CoinVE-200K"><img src="https://img.shields.io/static/v1?label=GitHub&message=CoinVE-200K&color=blue"></a>
</div>

---

## 🌍 Introduction

Instruction-guided video editing has witnessed rapid progress recently, driven by large-scale datasets and diffusion-based video generation models. However, existing open-source datasets (e.g., ReCo-Data, OpenVE-3M) primarily focus on **single-instruction editing** — applying one editing operation (e.g., replace, add, remove, or stylize) to a source video at a time. This limits the practical capability of trained models in real-world scenarios where users often issue **multiple editing instructions simultaneously** for a single video. To bridge this gap, we introduce **CoinVE-200K**, a large-scale, high-quality dataset for **compositional instruction-guided video editing**. Each sample in CoinVE-200K contains **multiple instructions** applied to the same source video, along with **per-instruction region masks** and a **combined mask** indicating all edited regions. The dataset is constructed through a meticulously designed data pipeline with rigorous quality filtering, ensuring diversity in instruction combinations, editing types, and video content.

**Key features of CoinVE-200K:**
- **Compositional Instructions**: Each sample contains 2~5 instructions covering different editing operations (Replace, Add, Remove, Background Change, etc.) on different regions (subject, object, background).
- **Region-Aware Masks**: Per-instruction masks indicate the spatial region of each edit, and a combined mask aggregates all edited regions for holistic supervision.
- **Large Scale & High Quality**: 200K+ video-edit pairs with ~1.18M video files and 376K key-frame images, totaling ~3.3 TB, sourced from diverse open-source video collections.
- **Key-Frame Pairs**: Each editing sample additionally provides a pair of key frames (source frame and edited frame) extracted at the same timestamp, enabling efficient image-level editing inspection and training.
- **Rich Annotations**: Each sample includes structured fields — instruction text, operation type, object type, and corresponding mask video paths.

<div align="center">
<img width="1080" alt="CoinVE-200K Demo" src="assets/coinve200k-data.png">
<p><b>Demonstration of compositional instruction-guided video editing cases from CoinVE-200K.</b></p>
</div>


## 📊 Dataset Statistics

### Overview

| Metric | Value |
|--------|-------|
| Video source | Subset of [OpenVid-1M](https://github.com/NJU-PCALAB/OpenVid-1M) (i.e., [OpenVidHD](https://huggingface.co/datasets/nkp37/OpenVid-1M/tree/main/OpenVidHD)) |
| Total editing samples | 200,916 |
| Total video files | ~1.18M |
| Total Key-frame files | 376,458 |
| Total size | ~3.3 TB |
| Video resolution | 1080P |
| Max edited frames | 201 |
| Instructions per sample | 2~5 (avg. 2.55) |

### File Distribution

| Type | Directory | Shards | Files | Size |
|------|-----------|--------|-------|------|
| Source video | `src_videos/` | 74 | 194,450 | ~1.56 TB |
| Edited video | `tgt_videos/` | 41 | 200,916 | ~873 GB |
| Combined mask | `combined_masks/` | 8 | 223,773 | ~158 GB |
| Instruction mask | `instruction_masks/` | 10 | 558,717 | ~189 GB |
| Key-frame edit | `key_frame_edits/` | 25 | 376,458 | ~477 GB |


## 📁 Dataset Structure

### Directory Layout

```text
CoinVE-200K/
├── src_videos/
│   ├── src_video_000.tar
│   ├── src_video_001.tar
│   └── ...
├── tgt_videos/
│   ├── tgt_video_000.tar
│   └── ...
├── combined_masks/
│   ├── combined_masks_000.tar
│   └── ...
├── instruction_masks/
│   ├── instruction_masks_000.tar
│   └── ...
├── key_frame_edits/
│   ├── src_frames_000.tar
│   └── ...
└── metadata_coinve200k.jsonl
```

### Tar Archive Structure

Each tar archive contains video files with relative paths:

```text
src_video_000.tar
├── src_video_000/
│   ├── UWPBxW-hVEY_3_28to136.mp4
│   ├── VRWPztEQZwQ_67_0to117.mp4
│   └── ...

instruction_masks_003.tar
├── instruction_masks_003/
│   ├── UWPBxW-hVEY_3_28to136_86c7745f/
│   │   ├── instr_mask_01.mp4
│   │   ├── instr_mask_02.mp4
│   │   └── instr_mask_03.mp4
│   └── ...

src_frames_011.tar
├── src_frames_011/
│   ├── UWPBxW-hVEY_3_28to136.png
│   └── ...

tgt_frames_011.tar
├── tgt_frames_011/
│   ├── UWPBxW-hVEY_3_28to136_86c7745f.png
│   └── ...
```

### metadata_coinve200k.jsonl Format

Each line is a JSON object representing one editing sample:

```json
{
  "source_video_path": "src_videos/src_video_067/UWPBxW-hVEY_3_28to136.mp4",
  "edited_video_path": "tgt_videos/tgt_video_039/UWPBxW-hVEY_3_28to136_86c7745f.mp4",
  "instruction": [
    "Replace the white styrofoam takeout container with a brown cardboard clamshell burger box.",
    "Add a large silver metal fork resting on top of the french fries in the right side of the container.",
    "Replace the outdoor concrete sidewalk background with a dark wooden table surface."
  ],
  "instruction_operation": ["Replace", "Add", "Replace"],
  "instruction_object": ["subject", "object", "background"],
  "instruction_mask_video_paths": [
    "instruction_masks/instruction_masks_003/UWPBxW-hVEY_3_28to136_86c7745f/instr_mask_01.mp4",
    "instruction_masks/instruction_masks_003/UWPBxW-hVEY_3_28to136_86c7745f/instr_mask_02.mp4",
    "instruction_masks/instruction_masks_003/UWPBxW-hVEY_3_28to136_86c7745f/instr_mask_03.mp4"
  ],
  "combined_mask_video_path": "combined_masks/combined_masks_004/UWPBxW-hVEY_3_28to136_86c7745f_combined_mask.mp4",
  "source_frame_path": "key_frame_edits/src_frames_011/UWPBxW-hVEY_3_28to136.png",
  "edited_frame_path": "key_frame_edits/tgt_frames_011/UWPBxW-hVEY_3_28to136_86c7745f.png"
}
```


## 📥 Download

### Full Dataset

```bash
# Download all files from ModelScope
modelscope download --dataset SandFox/CoinVE-200K --local-dir ./CoinVE-200K
```

### Partial Download

You can download specific files to save bandwidth:

```bash
# Download metadata only
modelscope download --dataset SandFox/CoinVE-200K metadata_coinve200k.jsonl --local-dir ./CoinVE-200K

# Download specific src_videos shards
modelscope download --dataset SandFox/CoinVE-200K \
  src_videos/src_video_000.tar src_videos/src_video_001.tar \
  --local-dir ./CoinVE-200K
```


## 🔧 Usage

### Load Metadata

```python
import json

with open("CoinVE-200K/metadata_coinve200k.jsonl", "r") as f:
    samples = [json.loads(line) for line in f]

print(f"Total samples: {len(samples)}")
print(f"First sample instructions: {samples[0]['instruction']}")
```

### Extract Tar Archives

The dataset is distributed as `.tar` shards. Extract them before loading:

```bash
# Extract all source video shards
for tar in src_videos/*.tar; do tar -xf "$tar" -C src_videos/; done

# Extract all other types similarly
for tar in tgt_videos/*.tar; do tar -xf "$tar" -C tgt_videos/; done
for tar in combined_masks/*.tar; do tar -xf "$tar" -C combined_masks/; done
for tar in instruction_masks/*.tar; do tar -xf "$tar" -C instruction_masks/; done
for tar in key_frame_edits/*.tar; do tar -xf "$tar" -C key_frame_edits/; done
```

After extraction the directory layout matches the relative paths in `metadata_coinve200k.jsonl`:

```text
CoinVE-200K/
├── src_videos/src_video_067/UWPBxW-hVEY_3_28to136.mp4
├── tgt_videos/tgt_video_039/UWPBxW-hVEY_3_28to136_86c7745f.mp4
├── instruction_masks/instruction_masks_003/UWPBxW-hVEY_3_28to136_86c7745f/instr_mask_01.mp4
├── combined_masks/combined_masks_004/UWPBxW-hVEY_3_28to136_86c7745f_combined_mask.mp4
├── key_frame_edits/src_frames_011/UWPBxW-hVEY_3_28to136.png
├── key_frame_edits/tgt_frames_011/UWPBxW-hVEY_3_28to136_86c7745f.png
└── metadata_coinve200k.jsonl
```


## 📜 Citation

If you find CoinVE-200K useful for your research, please cite our work:

```bibtex
@article{coinve200k,
  title={CoinVE-200K: A Large-Scale High-Quality Dataset for Compositional Instruction-Guided Video Editing},
  author={Long, Fuchen and Wang, Cong and Gao, Zitao and Zhong, Wenhao and Cheng, Yu and Hou, Xiaolu and Li, Yan and Cao, Xiao and Sun, Xinlong and Chen, Xi and Liu, Yu},
  journal={arXiv preprint arXiv:2608.17566},
  year={2026}
}
```


## ✉️ Contact

For any questions, issues, or collaborations, please feel free to contact longfc.ustc@gmail.com.


## 💖 Acknowledgement

Our source videos are sourced from the [OpenVid-1M](https://github.com/NJU-PCALAB/OpenVid-1M) dataset (specifically the [OpenVidHD](https://huggingface.co/datasets/nkp37/OpenVid-1M/tree/main/OpenVidHD) subset). Thanks to the contributors of this impactful project!
