Datasets:
videoid stringlengths 28 30 | object_index int64 0 19 | personalized_caption stringlengths 14 1.24k β |
|---|---|---|
pexels/videos-popular/8500526 | 1 | An empty classroom with scattered desks, an American flag, and a blackboard with writing. |
pexels/videos-popular/5044420 | 0 | The baseball cap shields the man's head as he unloads boxes from the van. |
pexels/videos-popular/9466173 | 0 | The hat complements the traditional outfit. |
pexels/videos-popular/8632775 | 0 | A man is holding documents while having an online meeting. |
pexels/videos-popular/7661321 | 5 | people working in a call center. |
pexels/videos-popular/8705293 | 3 | A person writes in a notebook with a black pencil while another person sits across from them. |
pexels/videos-popular/7681056 | 0 | The necklace glimmers as the man holds a sphynx cat. |
pexels/videos-popular/8519323 | 2 | The woman is discussing project details with her team. |
pexels/videos-popular/6657895 | 7 | couple enjoying wine together at the table. |
pexels/videos-popular/4610492 | 3 | The woman gestures expressively while interacting with the man on the dance floor. |
pexels/videos-popular/7119533 | 1 | The hoodie worn by the person complements the textured wall and the ornate mirror. |
pexels/videos-popular/855009 | 0 | Two lambs resting on the grass, with one lamb looking towards the other. |
pexels/videos-popular/8111931 | 0 | A person in a red stage setting holds a glowing pole, with luxurious drapes and an ornate throne in the backdrop. |
pexels/videos-popular/7670257 | 4 | The father enjoys a snack given by his child. |
pexels/videos-popular/8342359 | 0 | Girl writing in notebook with marker nearby. |
pexels/videos-popular/8539452 | 1 | A woman wearing blue gloves while adjusting goggles. |
pexels/videos-popular/5480228 | 1 | Pouring pounded flower petals from a jar into a mortar. |
pexels/videos-popular/5847852 | 0 | Two young men enjoying drinks at a bar, with person in a red plaid shirt. |
pexels/videos-popular/8928303 | 0 | A woman dancing while crossing the pedestrian lane. |
pexels/videos-popular/18682956 | 2 | A person cleans a mushroom with a knife over a wicker basket filled with freshly picked mushrooms in the woods. |
pexels/videos-popular/6892966 | 1 | A man doing a biceps workout while being supervised by his instructor. |
pexels/videos-popular/4139356 | 3 | The jeans of the person blend into the grassy field as they sit. |
pexels/videos-popular/6159876 | 0 | A person removing tape from the ground, surrounded by scattered leaves. |
pexels/videos-popular/6193825 | 4 | The conductor gestures precisely while leading musicians, with sheet music propped on a stand. |
pexels/videos-popular/6600012 | 0 | Black and white chess pieces stand on wooden blocks resembling a cityscape. |
pexels/videos-popular/7842290 | 2 | The tassel hangs elegantly from the red box. |
pexels/videos-popular/18837505 | 6 | People walking in old city Semarang, one wearing a jacket. |
pexels/videos-popular/10284255 | 0 | The woman with an elegant updo hairstyle gazes out the window while holding a glass of white wine. |
pexels/videos-popular/8363859 | 2 | The boy reaches across the table towards the book. |
pexels/videos-popular/7118154 | 0 | A man sitting on a floral cushion while holding a cup, with a cushion behind him. |
pexels/videos-popular/9120316 | 2 | The shirt complements the overall look with its simplicity. |
pexels/videos-popular/9141946 | 2 | A woman wearing pants while holding a knitted sweater. |
pexels/videos-popular/19314110 | 1 | A mobile robotic surgery demonstration unit is set up inside a truck, with individuals in lab coats nearby. |
pexels/videos-popular/8847712 | 4 | A group of people holding signs with the American flag encouraging voting. |
pexels/videos-popular/7166459 | 1 | The pants of the person are covered in snow as they walk through the forest. |
pexels/videos-popular/12788813 | 1 | The boy's jeans are slightly wrinkled as he sits and writes. |
pexels/videos-popular/7252683 | 4 | A notebook open on the table next to the laptop. |
pexels/videos-popular/6691514 | 2 | Father and son sit at the table, enjoying their time together. |
pexels/videos-popular/6970304 | 2 | The notebook is open on the table as the boy writes. |
pexels/videos-popular/3059069 | 0 | People walking on the road enjoying the view of mountain ranges. |
pexels/videos-popular/5400763 | 3 | The stems of dried flowers being held delicately. |
pexels/videos-popular/6608921 | 2 | Two women in cozy sweaters enjoying their time together. |
pexels/videos-popular/8879951 | 2 | A woman with a ponytail placing suction cups on a man. |
pexels/videos-popular/7652720 | 2 | Four professionals are gathered around a white table, engrossed in their work with laptops, while one takes notes in a notebook, harmonizing technology and teamwork. |
pexels/videos-popular/6235607 | 0 | A happy elderly woman holding Christmas presents. |
pexels/videos-popular/5034512 | 0 | A large rock rests on the forest path, surrounded by smaller rocks and lush greenery. |
pexels/videos-popular/6986094 | 2 | A young girl in a yellow shirt focused on her online class. |
pexels/videos-popular/5981655 | 4 | The jeans are worn by the woman as she sits on the sofa reading a book. |
pexels/videos-popular/6704002 | 1 | Relaxing together, one person gently pulls the other's hair while wearing a top. |
pexels/videos-popular/6973464 | 0 | A person dipping fingers into a container of cream. |
pexels/videos-popular/7280838 | 4 | The blouse worn by the mother complements the scene. |
pexels/videos-popular/6503148 | 2 | One woman in a white sweater is writing in a notebook while another in a sweater is leaning over to assist. |
pexels/videos-popular/6131039 | 0 | Person using device to groom a cat. |
pexels/videos-popular/9034449 | 0 | A woman writing on a paper. |
pexels/videos-popular/5897652 | 4 | The person gestures while explaining a point, engaging in the conversation. |
pexels/videos-popular/6824799 | 1 | The silos stand tall against the sky, with power lines stretching above them. |
pexels/videos-popular/8783212 | 0 | The colorful dome of the Los Angeles Central Library stands out against the modern skyscrapers. |
pexels/videos-popular/8111937 | 2 | A saber glows brightly in the woman's hand as she sits on the throne. |
pexels/videos-popular/6965665 | 3 | The girl is deeply focused on her painting. |
pexels/videos-popular/4457505 | 3 | The paddle slices through the water as the man steers the kayak. |
pexels/videos-popular/6957961 | 0 | Mother and daughter enjoying breakfast with a glass of orange juice on the table. |
pexels/videos-popular/7180706 | 0 | A woman in an alien costume. |
pexels/videos-popular/8783483 | 0 | Two women posing in underwear, with one woman squatting and the other standing. |
pexels/videos-popular/5390180 | 1 | Woman tying ribbon on girlΓ’ΒΒs hat. |
pexels/videos-popular/6279826 | 0 | Students in a library sitting on chairs, surrounded by bookshelves and computers. |
pexels/videos-popular/6786334 | 3 | The woman is holding a phone while sitting at the table. |
pexels/videos-popular/7348238 | 8 | The group of people enjoys a walk on the wooden walkway amidst a clear, mountainous landscape. |
pexels/videos-popular/7508464 | 2 | A vase with pampas grass decorates the corner of the room. |
pexels/videos-popular/7232012 | 1 | A man displaying dollar bills and packets. |
pexels/videos-popular/9706418 | 1 | Painting a ball with a brush. |
pexels/videos-popular/8322737 | 0 | A person wrapped in a cozy scarf and jacket stands in a tranquil park with pathways, lush trees, and a bench in the background. |
pexels/videos-popular/8610999 | 2 | bee on pink flowers. |
pexels/videos-popular/6330774 | 2 | A hacker, dressed in a black hoodie, types code on the laptop. |
pexels/videos-popular/5866487 | 3 | People doing cheers together with red wine glasses. |
pexels/videos-popular/5585341 | 0 | A teapot sits on the table next to a person knitting. |
pexels/videos-popular/8756891 | 0 | The pipe is connected to the washing machine. |
pexels/videos-popular/4647487 | 3 | A woman in a floral shirt playing guitar with her partner. |
pexels/videos-popular/8774210 | 7 | A group of people smiling while looking at the camera. |
pexels/videos-popular/3773486 | 0 | The light illuminates the modern dining area, creating a warm ambiance. |
pexels/videos-popular/7297398 | 0 | A woman in a red outfit holds a disco ball while another captures the moment on a smartphone, and a third adjusts a light stand, focusing on the woman. |
pexels/videos-popular/19570019 | 0 | An early evening view of a city intersection with historical buildings, overhead tram lines, and a distant cathedral, highlighting the building on the right. |
pexels/videos-popular/8474686 | 0 | Two astronauts in spacesuits stand amid a rocky terrain, one holding a fluttering American flag, with distant mountains under a hazy sky. The astronaut on the right is wearing a spacesuit, holding a helmet. |
pexels/videos-popular/8644131 | 2 | A woman wearing a headscarf capturing a fun moment with friends. |
pexels/videos-popular/9855734 | 0 | A close-up of a pile of chestnuts, showcasing their roasted texture and rich colors. |
pexels/videos-popular/9579930 | 0 | The church stands tall amidst the cityscape, framed by the surrounding buildings and mountains in the background. |
pexels/videos-popular/7778478 | 0 | A man sitting on a chair thinking. |
pexels/videos-popular/6286880 | 2 | The helmet provides safety for the snowboarder on the slopes. |
pexels/videos-popular/5803214 | 3 | The jacket of the motorcyclist stands out against the serene backdrop of the lake. |
pexels/videos-popular/5961106 | 0 | A guy in a hoodie presenting company goals to his colleagues, including a woman in a shirt taking notes. |
pexels/videos-popular/10586243 | 2 | Close up of a chess piece standing tall among other pieces. |
pexels/videos-popular/6955302 | 0 | In a room with neon purple and red lighting, a person in a white off-shoulder top and blue jeans sits atop a stool. |
pexels/videos-popular/6646676 | 0 | A volunteer wearing a bandana helps with donations. |
pexels/videos-popular/9441279 | 1 | The person with curly hair is holding a tissue to their nose against a neutral background. |
pexels/videos-popular/8965053 | 0 | Person choosing between a lollipop and a glucometer. |
pexels/videos-popular/8048451 | 2 | Two people collaborating in an office with computer monitors. |
pexels/videos-popular/6518090 | 1 | A person sits at a festive table with candles, a smartphone, and a glass of red wine, amidst a warm, twinkling light setting. |
pexels/videos-popular/4979611 | 0 | A woman enjoys a stroll on the rooftop. |
pexels/videos-popular/5527755 | 4 | A young man lying down in a sofa next to a plant. |
pexels/videos-popular/8729443 | 1 | Woman wearing bikini lying on a towel. |
pexels/videos-popular/8307100 | 3 | Women walking on the beach in bikini. |
PexelsCustom-1M
A Comprehensive Ecosystem for Open-Domain Customized Video Generation (ICASSP 2026)
The first large-scale, publicly available dataset for customized video generation (CVG), providing 1,036,431 curated (identity, text, video) triplets across 8,373 identity categories from ~320K Pexels HD videos.
Dataset Contents
| File | Description |
|---|---|
metadata/train.csv |
1,036,431 training triplets |
metadata/val.csv |
1,000 validation triplets |
annotations.tar.gz |
Per-video annotation JSONs (~320K files) |
extract_frames.py |
Script to extract reference keyframes from videos |
CSV Schema
| Column | Description |
|---|---|
videoid |
Pexels video path (e.g., pexels/videos-popular/8500526) |
object_index |
Index into the annotation JSON's annotations array |
personalized_caption |
Object-centric caption describing the subject |
Annotation JSON Schema
Each JSON file contains:
| Field | Description |
|---|---|
video_path |
Video identifier |
keyframe_index |
Frame index of the reference keyframe (used to extract original.png) |
original_caption |
Original video caption |
florence_caption |
Florence-2 generated caption |
annotations[] |
List of detected objects, each with: |
annotations[].class_name |
Object category |
annotations[].caption |
Object-centric caption |
annotations[].bbox |
Bounding box [x1, y1, x2, y2] |
annotations[].segmentation |
RLE-encoded segmentation mask |
Setup Guide
Follow these steps to prepare the dataset for training with CustomDiT. The goal is to create the following directory structure:
data/
βββ videos/
β βββ pexels/videos-popular/{VIDEO_ID}.mp4
βββ metadata/
β βββ train.csv
β βββ val.csv
βββ annotations/
β βββ pexels/videos-popular/{VIDEO_ID}/{VIDEO_ID}.json
βββ reference_images/
βββ pexels/videos-popular/{VIDEO_ID}/original.png
Step 1: Download this dataset
# Install huggingface_hub if needed
pip install huggingface_hub
# Download all files
huggingface-cli download carpedkm/CustoMDiT --repo-type dataset --local-dir ./hf_download
Step 2: Set up directory structure
# Create data root
mkdir -p data/{videos,metadata,annotations,reference_images}
# Copy metadata CSVs
cp hf_download/metadata/train.csv data/metadata/
cp hf_download/metadata/val.csv data/metadata/
# Unpack annotations (preserves directory structure)
tar xzf hf_download/annotations.tar.gz -C data/annotations/
Step 3: Download videos from Pexels
Videos are hosted on Pexels and must be downloaded separately. Each videoid in the CSV maps to a Pexels URL:
videoid=pexels/videos-popular/8500526- URL =
https://www.pexels.com/video/8500526/
Videos should be saved as MP4 files matching the videoid path:
data/videos/pexels/videos-popular/8500526.mp4
Note: We cannot provide a download script due to Pexels terms of service. You may use the Pexels API to download videos programmatically. Ensure you download the HD (1920x1080) version for best results.
Step 4: Extract reference keyframes
Use the provided script to extract the reference frame from each video:
# Install decord if needed
pip install decord
# Extract keyframes
python hf_download/extract_frames.py \
--video_dir data/videos \
--annotation_dir data/annotations \
--output_dir data/reference_images \
--metadata_csv data/metadata/train.csv
This reads the keyframe_index from each annotation JSON, extracts that frame from the video, and saves it as original.png.
Step 5: Train CustomDiT
Clone the code repository and update the training config:
git clone https://github.com/carpedkm/CustoMDiT.git
cd CustoMDiT
Edit customdit/configs/train.yaml to point to your data:
data_config:
data_dir: /path/to/data/videos
metadata_path: /path/to/data/metadata/train.csv
cond_image_dir: /path/to/data/reference_images
cond_json_dir: /path/to/data/annotations
Then start training:
conda activate customdit
pip install -r customdit/requirements.txt
export PYTHONPATH=$PWD:$PYTHONPATH
cd customdit
accelerate launch --config_file configs/accelerate_single_node.yaml train.py --config configs/train.yaml
See the code repository for full training and inference instructions.
Citation
@inproceedings{zhang2026pexelscustom,
title={A Comprehensive Ecosystem for Open-Domain Customized Video Generation},
author={Zhang, Jingxu and Hong, Yuqian and Kim, Daneul and Qiu, Kai and Dai, Qi and Bao, Jianmin and Yang, Yifan and Sun, Xiaoyan and Luo, Chong},
booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
year={2026},
organization={IEEE}
}
- Downloads last month
- -