Spaces:
Running
Running
Download index.html from MeissonFlow/Mei: direct link, hf CLI and curl.
- Browser
- Download file 12.5 kB
-
https://huggingface.co/spaces/MeissonFlow/Mei/resolve/main/index.html
- Command line
-
hf download hf://spaces/MeissonFlow/Mei/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MeissonFlow/Mei/resolve/main/index.html
12.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Mei: One-Step Text-to-Video</title> | |
| <meta name="description" content="Mei (DDMD-V) generates a 49-frame 320x512 video in a single forward pass, distilled from URSA-1.7B."> | |
| <style> | |
| :root { | |
| --bg: #f7f7fb; --card: #ffffff; --text: #1d1d27; --muted: #5d5d70; --border: #e3e3ee; | |
| --accent: #6d4aff; --accent-soft: #efeaff; --code-bg: #f1f1f7; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root { | |
| --bg: #111118; --card: #1a1a24; --text: #ececf4; --muted: #a4a4b8; --border: #2c2c3a; | |
| --accent: #a48bff; --accent-soft: #262040; --code-bg: #151520; | |
| } | |
| } | |
| * { box-sizing: border-box; } | |
| body { | |
| margin: 0; background: var(--bg); color: var(--text); | |
| font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | |
| } | |
| main { max-width: 1040px; margin: 0 auto; padding: 40px 16px 64px; } | |
| header { text-align: center; margin-bottom: 28px; } | |
| h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; } | |
| .subtitle { color: var(--muted); margin: 0 auto 18px; max-width: 760px; } | |
| .links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; } | |
| .links a { | |
| text-decoration: none; color: var(--accent); background: var(--accent-soft); | |
| border: 1px solid var(--border); padding: 6px 16px; border-radius: 999px; font-weight: 600; | |
| } | |
| .links a:hover { filter: brightness(1.08); } | |
| .stats { | |
| display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; | |
| margin: 28px 0 32px; | |
| } | |
| .stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; text-align: center; } | |
| .stat b { display: block; font-size: 1.6rem; color: var(--accent); line-height: 1.2; } | |
| .stat span { color: var(--muted); font-size: 0.92rem; } | |
| h2 { font-size: 1.3rem; margin: 36px 0 14px; } | |
| .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; } | |
| .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; } | |
| .card video { display: block; width: 100%; aspect-ratio: 512 / 320; background: #000; } | |
| .card p { margin: 0; padding: 10px 14px 14px; font-size: 0.92rem; color: var(--muted); } | |
| .note { color: var(--muted); font-size: 0.9rem; margin-top: 10px; } | |
| pre { | |
| background: var(--code-bg); border: 1px solid var(--border); border-radius: 12px; | |
| padding: 14px 16px; overflow-x: auto; font-size: 0.85rem; line-height: 1.5; | |
| } | |
| code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } | |
| footer { margin-top: 40px; color: var(--muted); font-size: 0.85rem; text-align: center; } | |
| .card { margin: 0; } | |
| .card figcaption { padding: 10px 14px 14px; font-size: 0.92rem; color: var(--muted); } | |
| .card .meta { display: block; margin-top: 4px; font-size: 0.8rem; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } | |
| </style> | |
| </head> | |
| <body> | |
| <main> | |
| <header> | |
| <h1>⚡ Mei: One-Step Text-to-Video</h1> | |
| <p class="subtitle"><b>DDMD-V: Distilling Uniform Discrete Diffusion Models into a One-Step Video Generator</b><br> | |
| 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.</p> | |
| <div class="links"> | |
| <a href="https://arxiv.org/abs/2612.06298">Paper</a> | |
| <a href="https://github.com/viiika/DDMD-V">Code</a> | |
| <a href="https://huggingface.co/MeissonFlow/Mei">Model</a> | |
| </div> | |
| </header> | |
| <section class="stats" aria-label="Key results"> | |
| <div class="stat"><b>1 NFE</b><span>vs. 100 for the 50-step teacher</span></div> | |
| <div class="stat"><b>82.25</b><span>VBench Total (teacher: 81.75)</span></div> | |
| <div class="stat"><b>0.93 s</b><span>per video end to end on one H200 (teacher: 72.26 s)</span></div> | |
| </section> | |
| <h2>One-step samples</h2> | |
| <div class="grid"> | |
| <figure class="card"> | |
| <video src="examples/c043_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A woman in a flowing red dress walks along a windswept beach at sunset.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c042_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A little girl in a yellow raincoat jumps into puddles on a rainy city street.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c089_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A Studio-style anime scene of a girl standing on a hill as wind blows the grass, clouds drifting.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c004_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A fluffy rabbit, adorned in a royal purple robe, ambles through a colorful fantasy landscape with giant mushrooms.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c002_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A corgi's head transforms into a vibrant cosmic explosion, stars and galaxies twinkle around it.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c092_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A teddy bear plays the drums on a stage, colorful lights.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c090_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A dragon flies over misty mountains at sunrise, epic fantasy, cinematic.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c040_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A Ukiyo-e style painting of Mount Fuji with a cherry blossom tree, petals drifting.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c081_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>Fresh strawberries fall into a bowl of milk in slow motion, splash.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c001_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A sleek spacecraft flies past a vast ringed planet, illuminated clouds and distant stars in the background, cinematic tracking shot.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c098_m7_s42.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A man in a suit walks through a rainy street holding a black umbrella, cinematic.<span class="meta">motion 7 · seed 42</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c093_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A robot waters plants in a futuristic greenhouse, soft morning light.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c026_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A cat wearing sunglasses lounges on a beach chair by the pool, palm trees swaying.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c021_m5_s42.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A panda eats bamboo while sitting in a lush green bamboo forest.<span class="meta">motion 5 · seed 42</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c080_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A glass of red wine being poured in slow motion, dark background.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c038_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A red fox sits in a snowy forest, snowflakes falling gently, cinematic lighting.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c070_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A volcano erupts at night, glowing lava flowing down its slopes.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c053_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A butterfly with iridescent blue wings lands on a dewy flower, macro shot.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c027_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>Macro shot of a honeybee collecting pollen from a bright purple flower.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c018_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A jellyfish glowing with bioluminescent light drifts through the dark deep ocean.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c079_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>Colorful paint splashes in slow motion against a black background.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c102_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A rocket launches into the sky, a plume of fire and smoke, slow motion.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c083_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A burning campfire under a starry night sky, sparks rising.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c030_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A waterfall cascades into a misty emerald pool in a lush rainforest.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| <figure class="card"> | |
| <video src="examples/c095_m5_s1234.mp4" autoplay muted loop playsinline preload="metadata"></video> | |
| <figcaption>A magical glowing forest at night with fireflies and luminous mushrooms.<span class="meta">motion 5 · seed 1234</span></figcaption> | |
| </figure> | |
| </div> | |
| <h2>Run Mei</h2> | |
| <pre><code>git clone https://github.com/viiika/DDMD-V && cd DDMD-V | |
| pip install -r requirements.txt && pip install -e .</code></pre> | |
| <pre><code>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)</code></pre> | |
| <footer>Mei is the 3rd-generation MeissonFlow foundation model, after Meissonic and Muddit.</footer> | |
| </main> | |
| </body> | |
| </html> | |