Stylized video generation · Research project · 2025

FreeStyle-VidGen

Training-free stylized video generation via stochastic optimal control.

Silver Award, Tencent Rhino-Bird Science Talent Program for High School Students (top 3 awardees; 1 Gold and 2 Silver Awards granted in total)

Xiang Ao Beijing Zhongguancun High School Advisor: Lin Gao · University of Chinese Academy of Sciences
Stylized generated video of a boat on the sea
Prompt “A boat on the sea”
Stylized generated video of a girl
Prompt “A girl turned”
Watercolor stylized generated video of a girl
Single-image style guidance
Overview

One reference image.
No style-specific fine-tuning.

FreeStyle-VidGen integrates the stochastic optimal control (SOC) mechanism from RB-Modulation into AnimateDiff. A single style reference image and a text prompt are used to generate a temporally coherent video while preserving the prompt’s semantic content.

The key idea is to formulate reverse diffusion as a controllable stochastic process. Style matching is enforced through a terminal cost, temporal consistency through an adjacent-frame cost, and a control variable modifies the reverse-diffusion drift during sampling.

Method

Control the reverse diffusion trajectory

Style guidance is injected through optimization of the diffusion dynamics rather than style-specific model training.

FreeStyle-VidGen pipeline diagram
01

Extract style

Use a Consistent Style Descriptor (CSD) to obtain the reference style feature from one image.

02

Define costs

A terminal cost aligns generated frames to the reference style; a temporal cost penalizes style jumps between adjacent frames.

03

Solve control

A control variable u is optimized with a proximal-gradient formulation to balance style alignment and trajectory fidelity.

04

Generate video

The optimized control adjusts the reverse-diffusion drift at each denoising step, producing stylized video latents for decoding.

Qualitative results

Style references → generated videos

Animated examples showing the generated video results.

01

“A boat on the sea”

Two independent reference styles applied to the same content prompt.

Style reference A
Painterly dog image used as a style reference
Generated video A
Generated stylized boat video
Style reference B
Atmospheric forest road image used as a style reference
Generated video B
Generated atmospheric stylized boat video
02

“A girl turned”

Sketch and watercolor-like references produce distinct visual appearances.

Style reference A
Pencil sketch image used as a style reference
Generated video A
Generated pencil-sketch stylized girl video
Style reference B
Watercolor flower image used as a style reference
Generated video B
Generated watercolor stylized girl video
Analysis

Quantitative result & ablation

LPIPS comparison and an ablation of the stochastic optimal control component.

Quantitative comparison
MethodLPIPS ↓Inference timeVRAM
AnimateDiff0.64 ± 0.0420 ± 25536 MB
AnimateDiff + LoRA0.60 ± 0.0430 ± 3*6354 MB
FreeStyle-VidGen0.55 ± 0.0325 ± 29231 MB

* Fine-tuning time excluded.

SOC ablation
Ablation result without SOC
Without SOC · LPIPS 0.61
Full framework result with SOC
Full framework · LPIPS 0.55
Limitations & future work

Base-model dependence

Final quality remains bounded by AnimateDiff’s content modeling and style-capture capability.

Temporal artifacts

The method inherits AnimateDiff’s temporal modeling limitations and can show frame-to-frame flicker in motion-heavy scenes.

Flow Matching

The current SOC design is tied to reverse-SDE diffusion dynamics and cannot be directly transferred to deterministic Flow Matching ODEs.

Next direction

Future work targets an ODE-compatible control strategy and temporal attention-feature aggregation, together with broader framework implementations.

Foundations