Papers › StyleCrafter: Enhancing Stylized Text-to-Video Generation with Style Adapter

StyleCrafter: Enhancing Stylized Text-to-Video Generation with Style Adapter

1 Dec 2023arXiv:2312.00330archive 2025-07-28

Gongye Liu, Menghan Xia, Yong Zhang, Haoxin Chen, Jinbo Xing, Yibo Wang, Xintao Wang, Yujiu Yang, Ying Shan

Text-to-video (T2V) models have shown remarkable capabilities in generating diverse videos. However, they struggle to produce user-desired stylized videos due to (i) text's inherent clumsiness in expressing specific styles and (ii) the generally degraded style fidelity. To address these challenges, we introduce StyleCrafter, a generic method that enhances pre-trained T2V models with a style control adapter, enabling video generation in any style by providing a reference image. Considering the scarcity of stylized video datasets, we propose to first train a style control adapter using style-rich image datasets, then transfer the learned stylization ability to video generation through a tailor-made finetuning paradigm. To promote content-style disentanglement, we remove style descriptions from the text prompt and extract style information solely from the reference image using a decoupling learning strategy. Additionally, we design a scale-adaptive fusion module to balance the influences of text-based content features and image-based style features, which helps generalization across various text and style combinations. StyleCrafter efficiently generates high-quality stylized videos that align with the content of the texts and resemble the style of the reference images. Experiments demonstrate that our approach is more flexible and efficient than existing competitors.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.00330")

Code

Syntology Ran 13 of 23 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 3 ran · honoured contract; 3 ran · violated contract; 3 ran · our draft was wrong; 4 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 13 ran; community (archive-listed): 3 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

GongyeLiu/StyleCrafter officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
GongyeLiu/StyleCrafter-SDXL mentioned on GitHubpytorchApache-2.0 report
Tianhao-Qi/DEADiff_code mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 13 ran; 3 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
3ran · violated contract
3ran · our draft was wrong
4ran
10unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

always GongyeLiu/StyleCrafter/lvdm/modules/x_transformer.py official repository ran · our draft was wrong Apache-2.0 (permissive) · fe5dd5258046898c · report
check_istarget GongyeLiu/StyleCrafter/utils/utils.py official repository ran Apache-2.0 (permissive) · 19f538291be81c23 · report
count_params GongyeLiu/StyleCrafter/utils/utils.py official repository ran · honoured contract Apache-2.0 (permissive) · 613acd72145a95f2 · report
default GongyeLiu/StyleCrafter/lvdm/modules/x_transformer.py official repository ran · violated contract Apache-2.0 (permissive) · 424012cb37b31172 · report
disabled_train GongyeLiu/StyleCrafter/lvdm/basics.py official repository ran · violated contract Apache-2.0 (permissive) · 4cb732f513d69dfd · report
exists GongyeLiu/StyleCrafter/lvdm/modules/x_transformer.py official repository ran · violated contract Apache-2.0 (permissive) · aa5486a3650902d8 · report
extract_into_tensor GongyeLiu/StyleCrafter/lvdm/common.py official repository ran · our draft was wrong Apache-2.0 (permissive) · a15cfd7932844ef9 · report
get_attn_processor GongyeLiu/StyleCrafter/lvdm/modules/attention.py official repository ran Apache-2.0 (permissive) · 35ccc16a67486ce2 · report
make_beta_schedule GongyeLiu/StyleCrafter/lvdm/models/utils_diffusion.py official repository ran · honoured contract Apache-2.0 (permissive) · c984209a2c66afbe · report
make_ddim_timesteps GongyeLiu/StyleCrafter/lvdm/models/utils_diffusion.py official repository ran · honoured contract Apache-2.0 (permissive) · 0ea4e960ea54514c · report
normal_kl GongyeLiu/StyleCrafter/lvdm/distributions.py official repository ran fingerprinted Apache-2.0 (permissive) · 17eb0a31c91b671c · report
timestep_embedding GongyeLiu/StyleCrafter/lvdm/models/utils_diffusion.py official repository ran Apache-2.0 (permissive) · 2203f9d1be3dc36c · report
zero_module GongyeLiu/StyleCrafter/lvdm/basics.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 129b804760b3115f · report
autocast GongyeLiu/StyleCrafter/lvdm/common.py official repository unverified Apache-2.0 (permissive) · 32af1c12fd826ef2 · report
frames_to_mp4 GongyeLiu/StyleCrafter/utils/save_video.py official repository unverified Apache-2.0 (permissive) · 253f22a05180080e · report
gather_data GongyeLiu/StyleCrafter/lvdm/common.py official repository unverified Apache-2.0 (permissive) · b72d8eb89fd75383 · report
instantiate_from_config GongyeLiu/StyleCrafter/utils/utils.py official repository unverified Apache-2.0 (permissive) · ef52d142b2c30ac2 · report
log_local GongyeLiu/StyleCrafter/utils/save_video.py official repository unverified Apache-2.0 (permissive) · fc1ecc9c639f6a4c · report
log_txt_as_img GongyeLiu/StyleCrafter/utils/save_video.py official repository unverified Apache-2.0 (permissive) · 57f7402ad7088484 · report
scale_module GongyeLiu/StyleCrafter/lvdm/basics.py official repository unverified Apache-2.0 (permissive) · 9136b5f9b735334b · report
dict_collation_fn GongyeLiu/StyleCrafter-SDXL/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · ec4f9e3382344a78 · report
filter_keys GongyeLiu/StyleCrafter-SDXL/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 9c90cff103625fc3 · report
preprocess GongyeLiu/StyleCrafter-SDXL/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · c0afdd595ef079f0 · report

Tasks

DisentanglementText-to-Video GenerationVideo Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNAdapter

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections