Compressing a Movie to 1MB and Reconstructing It With Wan 2.2
Willsolo · reddit · 2026-07-19
The author compressed a movie into less than 1MB of text and then reconstructed it into a video with sound using Wan 2.2.
Process
- Sliced the video into about 2,000 shots using PySceneDetect
- Used Gemini Flash-Lite to generate a structured description of around 100 words based on 8 frames extracted from each shot
- The text was then compressed to roughly 320KB using xz
- Shots were sequentially fed into a self-hosted Wan 2.2 TI2V-5B on a RunPod A6000 to generate visuals
- Audio was generated using MMAudio (sound effects) + MusicGen (soundtrack), with dialogue restored at original timestamps using ElevenLabs TTS
Main Challenges
- Character consistency was the hardest part: since each shot was generated independently, the author clustered character descriptions and injected them into the prompts
- For shots exceeding 5 seconds, a "previous frame to next frame" chained generation was used
Cost & Resources
- Estimated cost is about $30 per movie
- Provided more detailed examples, cost comparisons, write-up links, and a GitHub repository
The author is also asking for feedback.
More from coding & agent
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11
- Treating agents like 50 First Dates: a 3-layer context system so every conversation doesn't start from zero — evielync · 2026-09-11
- Running the Firefox MCP on Android via Termux, ngrok, and mcp-proxy — Nervous-Strain7544 · 2026-09-11