explaingit

carpedkm/customdit

Analysis updated 2026-05-18

17PythonAudience · researcherComplexity · 5/5Setup · hard

TLDR

A research project (ICASSP 2026) with a dataset, model, and benchmark for generating videos of a specific person or object from a reference image and text.

Mindmap

mindmap
  root((CustoMDiT))
    What it does
      Customized video generation
      Reference image plus text
      ICASSP 2026 paper
    Contributions
      PexelsCustom-1M dataset
      CustomDiT model
      OpenCustom benchmark
    Dataset
      1 million clips
      8000plus categories
      Released on HuggingFace
    Model
      Built on CogVideoX
      Two stage training
      Attention conditioning

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate a video of a specific person or product performing an action described in text, using one reference photo.

USE CASE 2

Train or fine-tune a customized video generation model using the PexelsCustom-1M dataset.

USE CASE 3

Benchmark a customized video generation system against the OpenCustom evaluation set.

What is it built with?

PythonCogVideoXPyTorch

How does it compare?

carpedkm/customdit0petru/sentimoalingalingling/akasha-wechat
Stars171717
LanguagePythonPythonPython
Setup difficultyhardmoderatehard
Complexity5/53/54/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires GPU training infrastructure and three separate Python environments for the different components.

In plain English

This repository is a research project, published at ICASSP 2026, that focuses on generating videos of specific people or objects based on a reference image and a text description. The core problem being solved is called "customized video generation": given a photo of a specific subject (a person, a pet, a product), produce a new video showing that same subject doing something described in text. The challenge is that existing systems are limited by the lack of large, publicly available training data for this task. The project introduces three related contributions. The first is PexelsCustom-1M, a dataset of one million video clips sourced from the Pexels platform, paired with reference images of the subjects appearing in each clip and text descriptions of what is happening. The dataset spans over 8,000 categories. The actual video files are not included in the repository since they are hosted by Pexels, but the metadata, reference images, and annotations will be released on HuggingFace. The second contribution is CustomDiT, the video generation model itself. It is built on top of an existing text-to-video model called CogVideoX and adds the ability to condition generation on a reference image by injecting information about the subject's appearance into the model's attention layers. Training runs in two stages: the first stage teaches the model to follow the reference image, and the second stage adds data augmentation to prevent the model from simply copying the reference image directly into the output. The third contribution is OpenCustom, a benchmark for evaluating how well these systems work. It covers more than 1,000 categories, which is significantly broader than the 100-category benchmarks previously available. The evaluation measures both how closely the generated video resembles the reference subject and how well it matches the text description, plus motion quality metrics. The repository includes code for all three components: model training and inference, the data curation pipeline that processed raw Pexels videos into training data, and the evaluation framework. Three separate Python environments are required for the different components.

Copy-paste prompts

Prompt 1
Explain how CustomDiT conditions a text-to-video model on a reference image using attention layer injection.
Prompt 2
Walk me through setting up the three Python environments needed to run CustoMDiT's training, data pipeline, and evaluation.
Prompt 3
How does the OpenCustom benchmark measure subject resemblance and text alignment in generated videos?

Frequently asked questions

What is customdit?

A research project (ICASSP 2026) with a dataset, model, and benchmark for generating videos of a specific person or object from a reference image and text.

What language is customdit written in?

Mainly Python. The stack also includes Python, CogVideoX, PyTorch.

How hard is customdit to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is customdit for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.