Datasets:

Formats:
csv
ArXiv:
Libraries:
Datasets
Dask
License:
juxuan27 commited on
Commit
6b17cf7
·
verified ·
1 Parent(s): 9986784

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +65 -5
  2. download_source_video.py +53 -0
README.md CHANGED
@@ -1,5 +1,65 @@
1
- ---
2
- license: other
3
- license_name: adobe-research-license
4
- license_link: LICENSE
5
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: adobe-research-license
4
+ license_link: LICENSE
5
+ ---
6
+
7
+ # EditVerse
8
+ This repository contains the instruction-based video editing evaluation benchmark for EditVerseBench in paper "EditVerse: A Unified Framework for Editing and Generation via In-Context Learning".
9
+
10
+ > [Xuan Ju](https://juxuan27.github.io/)<sup>12</sup>, [Tianyu Wang](https://scholar.google.com/citations?user=yRwZIN8AAAAJ&hl=zh-CN)<sup>1</sup>, [Yuqian Zhou](https://yzhouas.github.io/)<sup>1</sup>, [He Zhang](https://sites.google.com/site/hezhangsprinter)<sup>1</sup>, [Qing Liu](https://qliu24.github.io/)<sup>1</sup>, [Nanxuan Zhao](https://www.nxzhao.com/)<sup>1</sup>, [Zhifei Zhang](https://zzutk.github.io/)<sup>1</sup>, [Yijun Li](https://yijunmaverick.github.io/)<sup>1</sup>, [Yuanhao Cai](https://caiyuanhao1998.github.io/)<sup>3</sup>, [Shaoteng Liu](https://www.shaotengliu.com/)<sup>1</sup>, [Daniil Pakhomov](https://scholar.google.com/citations?user=UI10l34AAAAJ&hl=en)<sup>1</sup>, [Zhe Lin](https://sites.google.com/site/zhelin625/)<sup>1</sup>, [Soo Ye Kim](https://sites.google.com/view/sooyekim)<sup>1*</sup>, [Qiang Xu](https://cure-lab.github.io/)<sup>2*</sup><br>
11
+ > <sup>1</sup>Adobe Research <sup>2</sup>The Chinese University of Hong Kong <sup>3</sup>Johns Hopkins University <sup>*</sup>Corresponding Author
12
+
13
+
14
+ <p align="center">
15
+ <a href="http://editverse.s3-website-us-east-1.amazonaws.com/">🌐 Project Page</a> ||
16
+ <a href="https://arxiv.org/abs/2509.20360">📜 Arxiv</a> ||
17
+ <a href="https://docs.google.com/presentation/d/1dBg3lZDFa8mRRIrOVEU_xDgzedufbwzr/edit?usp=sharing&ouid=100286465794673637256&rtpof=true&sd=true">✨ Slides</a> ||
18
+ <a href="http://editverse.s3-website-us-east-1.amazonaws.com/comparison.html">👀 Comparison</a> ||
19
+ <a href="">💻 Evaluation Code (Coming Soon)</a>
20
+ </p>
21
+
22
+
23
+
24
+ **(1) Clone the EditVerseBench Repository**
25
+
26
+ ```
27
+ git lfs install
28
+ git clone https://huggingface.co/datasets/EditVerse/EditVerseBench
29
+ ```
30
+
31
+ **(2) Download the Videos**
32
+
33
+
34
+ The original source videos cannot be directly distributed due to licensing restrictions.
35
+ Instead, you can download them using the provided script with the Pixabay API. (The network connection may occasionally fail, so you might need to run the script multiple times.)
36
+
37
+ > ⚠️ Note: Please remember to revise the API key to your own key in `download_source_video.py`. You can find the API key [here](https://pixabay.com/api/docs/#api_search_images) (marked in green on the website). The API is free but you need to sign up an account to have the API key.
38
+
39
+
40
+ ```
41
+ python download_source_video.py
42
+ ```
43
+
44
+
45
+ **(3) Unpack comparison results (Optional)**
46
+ Extract the comparison results and remove the archive:
47
+ ```
48
+ cd EditVerseBench
49
+ tar -zxvf EditVerse_Comparison_Results.tar.gz
50
+ rm EditVerse_Comparison_Results.tar.gz
51
+ ```
52
+
53
+
54
+ If you find our work useful for your research, please consider citing our paper:
55
+ ```
56
+ @article{ju2025editverse,
57
+ title = {EditVerse: Unifying Image and Video Editing and Generation with In-Context Learning},
58
+ author = {Xuan Ju and Tianyu Wang and Yuqian Zhou and He Zhang and Qing Liu and Nanxuan Zhao and Zhifei Zhang and Yijun Li and Yuanhao Cai and Shaoteng Liu and Daniil Pakhomov and Zhe Lin and Soo Ye Kim and Qiang Xu},
59
+ journal = {arXiv preprint arXiv:2509.20360},
60
+ year = {2025},
61
+ url = {https://arxiv.org/abs/2509.20360}
62
+ }
63
+ ```
64
+
65
+
download_source_video.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ import requests
4
+
5
+ BASE_DIR = "./EditVerseBench"
6
+ PIXABAY_API = "Your-Pixabay-API" # Please change this to your own API key, which can be found here: https://pixabay.com/api/docs/
7
+
8
+ def download_pixabay_video(local_path, url_link):
9
+ video_id = url_link.strip("/").split("-")[-1]
10
+
11
+ get_url = f"https://pixabay.com/api/videos/?key={PIXABAY_API}&id={video_id}"
12
+ resp = requests.get(get_url)
13
+ if resp.status_code != 200:
14
+ print(f"❌ Request Failed: {resp.status_code}, {url_link}")
15
+ return
16
+
17
+ data = resp.json()
18
+ if not data.get("hits"):
19
+ print(f"❌ Can not find: {url_link}")
20
+ return
21
+
22
+ video_info = data["hits"][0]["videos"]
23
+ download_url = video_info.get("large", video_info.get("medium", video_info.get("small")))["url"]
24
+
25
+ os.makedirs(os.path.dirname(local_path), exist_ok=True)
26
+
27
+ print(f"Downloading: {download_url}")
28
+ video_resp = requests.get(download_url, stream=True)
29
+ if video_resp.status_code == 200:
30
+ with open(local_path, "wb") as f:
31
+ for chunk in video_resp.iter_content(chunk_size=1024*1024):
32
+ if chunk:
33
+ f.write(chunk)
34
+ print(f"✅ Download Success: {local_path}")
35
+ else:
36
+ print(f"❌ Download Failed: {video_resp.status_code}, {download_url}")
37
+
38
+ with open(f"{BASE_DIR}/EditVerseBench.json") as f:
39
+ benchmark_content = json.load(f)
40
+
41
+ for key, item in benchmark_content.items():
42
+ if "<video1>" in item and item["<video1>"].startswith("videos/"):
43
+ video1_link = item["<video1> link"]
44
+ video1_local_path = f"{BASE_DIR}/"+item["<video1>"]
45
+ if not os.path.exists(video1_local_path):
46
+ download_pixabay_video(video1_local_path, video1_link)
47
+ if "<video2>" in item and item["<video2>"].startswith("videos/"):
48
+ video2_link = item["<video2> link"]
49
+ video2_local_path = f"{BASE_DIR}/"+item["<video2>"]
50
+ if not os.path.exists(video2_local_path):
51
+ download_pixabay_video(video2_local_path, video2_link)
52
+
53
+ print("✅ All videos are downloaded successfully!")