How LLMs Are Generating Videos From Code: From AI Slides to Hand-Drawn Anime
A wave of visual works reportedly created by large language models has taken overseas AI communities by storm, including a presentation about the future of AI that drew over 7 million views. This article breaks down how LLMs without native video generation produce animations, 3D scenes, and background music by writing renderable code, examines the shift from template-based AI slide tools to code-driven dynamic presentations, and offers practical guidance on prompt strategy, engineering constraints, and limitations such as character consistency and performance budgets. It also explains what these trends mean for developers and enterprise users, including the impact of silent model upgrades during gray-scale testing.
What Happened: A Suspected Gray-Scale Test of a New Model
Recently, overseas AI communities have been flooded with visually striking works reportedly “created by large language models.” The most notable is a presentation about the future of AI that earned more than 7 million views and nearly 30,000 likes on social media. Other outputs include a 65-second hand-drawn anime short and an impressively detailed 3D game scene.
What makes these works surprising is that large language models are generally understood to lack the ability to directly generate video frames—they don’t have the diffusion-based visual generation pipeline found in video generation models. Yet the characters, scenes, and even background music in these works were all produced by code written by the model.
According to tech media reports, the vendor involved is suspected to be gray-scale testing a new model. Some users found that although they were using what appeared to be the existing flagship model, the output quality differed noticeably from before. The community temporarily refers to the suspected new version as the “next-generation model.” This suggests that a leap in both visual aesthetics and code generation capability may be quietly underway.
Why Can an LLM “Draw” Video?
From a technical standpoint, this isn’t mysterious. A large language model cannot directly output pixels or video frames, but it can:
- Generate structured content: Break a presentation topic down into storyboards, scenes, copy, and chart data.
- Write front-end rendering code: Use HTML, CSS, JavaScript, and higher-level rendering libraries to render content in real time in the browser.
- Orchestrate animation and interaction: Use timelines, transitions, and camera movements to turn static pages into a “cinematic” dynamic presentation.
- Synthesize audio: Use browser audio APIs or code-generated audio sequences to add background music.
In other words, the LLM’s role expands from “content generator” to “program author.” As long as the target artifact can be described in code and rendered in a browser, the model’s theoretical ceiling is determined by its code quality, aesthetic judgment, and mastery of rendering techniques.
Here’s a simplified illustration:
// Conceptual illustration: abstract each slide into a renderable sceneconst scenes = [{ id: 'intro', camera: [0, 1, 5], duration: 3 },{ id: 'data', camera: [2, 3, 8], duration: 5 },{ id: 'outro', camera: [0, 2, 10], duration: 4 },];function playTimeline(scenes) {scenes.forEach(scene => {moveCamera(scene.camera, scene.duration);transitionTo(scene.id);});}
When a model can reliably produce this kind of scene orchestration, shaders, or animation code, the output is no longer “a PPT with templates” but rather an interactive, real-time rendered work.
Technical Breakdown of the Viral Presentation
Back to the viral presentation. Its opening deliberately mimics a traditional business slide deck; then the camera moves into a 3D scene, flat data charts gain spatial depth, and page turns are handled as cinematic camera transitions. The entire work is actually an HTML page, roughly 5MB in size, containing 13 scenes. It opens directly in a browser and renders in real time—no software installation required.
Works like this are typically built from the following layers:
- Scene description layer: Defines scene nodes, lighting, materials, and chart data using JSON or scripts.
- Rendering layer: Performs real-time drawing via browser graphics capabilities (such as WebGL/WebGPU) or mature front-end rendering libraries.
- Animation layer: Implements transitions and camera work through tween animations, camera paths, and easing functions.
- Typography layer: Uses CSS Grid, Flexbox, and variable fonts to lay out text and charts, ensuring visual consistency across resolutions.
From an engineering perspective, its value is this: a self-contained file of about 5MB replaces the dynamic presentations that previously required a professional team and multiple software tools. This “code as artwork” paradigm lets content creators focus on the narrative itself while leaving visual implementation to the model.
The Old AI-PPT Paradigm vs. the New One
Over the past two years, AI-generated presentations became a fiercely competitive market. Most tools follow the same logic:
- Input a topic or document;
- An LLM extracts the outline and key points;
- Preset templates are applied to generate static pages;
- Users manually fine-tune colors and layout.
The essence of this model is “copywriting + template filling”—the output remains within the conceptual framework of traditional slides.
What this recent wave demonstrates is a different paradigm: the model isn’t “filling templates” but writing a rendering program. The differences show up on three levels:
| Dimension | Traditional AI Slides | Code-Driven Dynamic Presentations |
|---|---|---|
| Output form | A set of static pages | An interactive, real-time rendered application |
| Visual expression | Constrained by templates | Free combination of cameras, lighting, space, and motion |
| Update workflow | Regenerate / manual edits | Modify code to adjust any detail |
This means the carefully choreographed demo animations once seen only at tech company keynotes can now be obtained by ordinary users through natural-language descriptions.
Making Anime With Code: Feasibility and Limits
The 65-second hand-drawn anime is also worth examining. Its technical path is roughly: the model generates keyframe drawing logic, vector graphics, or shader code, then plays it as an animated sequence or real-time animation; background music can be produced through audio synthesis code or browser audio APIs.
But this route has clear boundaries. Practitioners should keep the following in mind:
- Duration and consistency: Keeping characters and scenes consistent across long sequences is difficult; it requires explicit state management and asset-reuse strategies.
- Style control: Hand-drawn, cyberpunk, or pixel-art styles require the model to be familiar with the corresponding rendering techniques (outlines, noise, color grading).
- Performance budget: Real-time browser rendering demands device performance; you need to control draw calls, texture sizes, and post-processing overhead.
- Maintainability: Long, one-shot generated code often lacks modularity. For complex projects, ask the model to organize it into separate files and modules so humans can take over.
A practical engineering recommendation is to split the work into three parts—“scene modules + animation orchestration + asset manifest”—have the model generate each module, then have humans review and assemble them. This preserves the model’s generation efficiency while keeping engineering control intact.
Implications for Developers and Enterprise Users
Several trends worth noting emerge from this phenomenon:
1. Prompt engineering is evolving into “technical direction” ability.
To obtain high-quality visual works, users need a degree of aesthetic judgment and basic technical vocabulary (shots, transitions, lighting, frame rate, resolution). People who can describe visual goals in engineering terms will get significantly better results from the model.
2. Code generation is becoming general-purpose creative infrastructure.
Once code generation quality is high enough, any artifact expressible in code—presentations, anime, games, data visualizations, interactive prototypes—can potentially be generated from natural language. This dramatically lowers the barrier to professional creative tools.
3. Deliverables are trending toward self-contained, lightweight formats.
A ~5MB, open-and-run HTML file has natural advantages in sharing and distribution. For internal corporate reports and product demos, this format circulates more easily than solutions dependent on cloud rendering or proprietary software—though internal data security and compliance must also be considered.
4. Model version iterations may bring “silent upgrades.”
Gray-scale testing means users may perceive changes in output quality without receiving any explicit notification. Teams that depend on model outputs should establish a fixed evaluation set (for example, a set of standardized visual generation tasks) and run regular regression tests to detect changes in model capability.
Practical Guide: How to Reproduce Similar Results
If you’d like an LLM to produce similar works, consider this workflow:
- Define the narrative structure: Have the model first produce a storyboard script (scenes, durations, core messages); confirm it before moving to implementation.
- Specify technical constraints: For example, “a single HTML file, opens directly in a browser, under 10MB, supports fullscreen.” These constraints significantly influence the model’s technical choices.
- Generate in stages: Build static scenes first, then add camera moves, transitions, and audio. Generating an excessively long program in one shot tends to degrade quality.
- Build a checklist: Cover multi-resolution adaptation, loading performance, animation smoothness, and browser compatibility.
- Maintain a modular code structure: Ask the model to separate configuration (scenes, copy, colors) from logic, making later modifications easier.
Conclusion
The core lesson of this wave—from the 7-million-view presentation to code-generated anime and 3D games—isn’t some model “magic,” but that when large language models are combined with code execution environments, the boundaries of what can be created are systematically expanded. When a model can write rendering programs, its output is no longer just text but runnable visual experiences.
For developers, this points to the engineering of the “generation + execution” loop; for enterprise users, it means the cost of producing presentations, visualizations, and lightweight interactive content is falling rapidly. As for when the next leap in model capability will officially arrive, the most reliable response is to keep observing—and keep testing.
