⚡ Mei: One-Step Text-to-Video

DDMD-V: Distilling Uniform Discrete Diffusion Models into a One-Step Video Generator
Mei is distilled from the uniform discrete video diffusion model URSA-1.7B and generates a 49-frame 320×512 video (33,280 discrete tokens) in a single network forward pass.

1 NFEvs. 100 for the 50-step teacher
82.25VBench Total (teacher: 81.75)
0.93 sper video end to end on one H200 (teacher: 72.26 s)

One-step samples

A woman in a flowing red dress walks along a windswept beach at sunset.motion 5 · seed 1234
A little girl in a yellow raincoat jumps into puddles on a rainy city street.motion 5 · seed 1234
A Studio-style anime scene of a girl standing on a hill as wind blows the grass, clouds drifting.motion 5 · seed 1234
A fluffy rabbit, adorned in a royal purple robe, ambles through a colorful fantasy landscape with giant mushrooms.motion 5 · seed 1234
A corgi's head transforms into a vibrant cosmic explosion, stars and galaxies twinkle around it.motion 5 · seed 1234
A teddy bear plays the drums on a stage, colorful lights.motion 5 · seed 1234
A dragon flies over misty mountains at sunrise, epic fantasy, cinematic.motion 5 · seed 1234
A Ukiyo-e style painting of Mount Fuji with a cherry blossom tree, petals drifting.motion 5 · seed 1234
Fresh strawberries fall into a bowl of milk in slow motion, splash.motion 5 · seed 1234
A sleek spacecraft flies past a vast ringed planet, illuminated clouds and distant stars in the background, cinematic tracking shot.motion 5 · seed 1234
A man in a suit walks through a rainy street holding a black umbrella, cinematic.motion 7 · seed 42
A robot waters plants in a futuristic greenhouse, soft morning light.motion 5 · seed 1234
A cat wearing sunglasses lounges on a beach chair by the pool, palm trees swaying.motion 5 · seed 1234
A panda eats bamboo while sitting in a lush green bamboo forest.motion 5 · seed 42
A glass of red wine being poured in slow motion, dark background.motion 5 · seed 1234
A red fox sits in a snowy forest, snowflakes falling gently, cinematic lighting.motion 5 · seed 1234
A volcano erupts at night, glowing lava flowing down its slopes.motion 5 · seed 1234
A butterfly with iridescent blue wings lands on a dewy flower, macro shot.motion 5 · seed 1234
Macro shot of a honeybee collecting pollen from a bright purple flower.motion 5 · seed 1234
A jellyfish glowing with bioluminescent light drifts through the dark deep ocean.motion 5 · seed 1234
Colorful paint splashes in slow motion against a black background.motion 5 · seed 1234
A rocket launches into the sky, a plume of fire and smoke, slow motion.motion 5 · seed 1234
A burning campfire under a starry night sky, sparks rising.motion 5 · seed 1234
A waterfall cascades into a misty emerald pool in a lush rainforest.motion 5 · seed 1234
A magical glowing forest at night with fireflies and luminous mushrooms.motion 5 · seed 1234

Run Mei

git clone https://github.com/viiika/DDMD-V && cd DDMD-V
pip install -r requirements.txt && pip install -e .
import torch
from diffnext.pipelines import URSAPipeline
from diffnext.utils import export_to_video

pipe = URSAPipeline.from_pretrained("MeissonFlow/Mei", torch_dtype=torch.bfloat16,
                                    trust_remote_code=True).to("cuda")
prompt = "motion=5.0, A woman in a flowing red dress walks along a windswept beach at sunset."
frames = pipe(prompt=prompt, height=320, width=512, num_frames=49,
              num_inference_steps=1, guidance_scale=1.0,
              generator=torch.Generator("cuda").manual_seed(1234)).frames[0]
export_to_video(frames, "mei.mp4", fps=12)