# Inside xAI: Building Grok Imagine in 3 Months, Videogen vs World Models, and Video Agents <!-- ref: @content/youtube/latent-space/2026-06-01-inside-xai-building-grok-imagine-in-3-months-videogen-vs-wor tags: [video-generation, world-models, diffusion-models, step-distillation, long-context-video, video-agents, audio-video-generation, prompt-rewriting, ai-culture, career-transitions] version: 2 updated_at: 2026-11-21T20:53:22.627Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=jPtQlILfkhA)** *Synthesized from Ethan He in conversation with the Latent Space hosts on Latent Space, 2026-06-01.* Ethan He is the guest, a former xAI video and multimodal researcher who previously worked on Nvidia's Cosmos video model. The hosts are not named in the transcript; a co-host is referred to once as "Vibhu". *Notes: the captions garble several names and terms, so they are not used: the channel is said as "Lil in Space" once, the video VAE is called "1 2.1" (a version name), the prompt-rewriter model is given as "mix mix true", and the company he says he worked on before xAI is spelled "Google Imagine". The hosts are not named, and the guest's former team name is described generically.* ## Core Thesis Ethan He argues that most of the visual intelligence in modern video models comes from the language model that writes the prompts and plans the work, not from the diffusion model itself. He sees video progress as moving toward "video agents" in which an LLM drives a diffusion model and classic editing tools, and he frames the end goal as real-time, interactive, long-horizon video that can act as a generative interface or world model. ## Key Insights - **Team build:** the xAI video team started with almost no infrastructure, data or models, and shipped Grok Imagine 0.9 about three months after starting. The first model was described as the first audio-video transformer deployed at large scale. Speed came from a small team with few meetings (about one sync a day), strong existing data and training infrastructure, and a focus on iteration speed. - **Bugs over algorithms:** he says most quality gains came from finding small bugs in the data and training pipelines rather than from new algorithms, which is why iteration cycle time matters most. - **Compute bottleneck returns:** coding models now build experiments in hours rather than weeks, so the limit shifts back to compute for running all the ideas. - **Captioning bootstrap:** early video-text pairs came from humans told to describe every object, character and interaction in enough detail that a blind listener could rebuild the scene. Later, a vision-language model does the captioning. Internet titles and descriptions are usually unrelated to the footage. - **Image before video:** the image model is trained first because image-text data is cheaper and denser, and the video model is then bootstrapped from it. - **Latent compression:** a VAE maps patches into a continuous latent space, and temporal compression is what keeps sequences short. Compressing 4 frames into one token at 8x8x4 gives a context four times shorter than frame-by-frame compression at 8x8x1, though frame-by-frame output responds faster. - **Storage and cost:** storing a billion roughly 5 MB videos alone is about 5 PB, and the stored latent features roughly double that. The hosts' lookup put 5 PB on S3 Standard at about $100K a month, and egress costs more. Video training cost is comparable to LLM training, and the infrastructure is more I/O bound. - **Model size:** open video models are around 19B dense parameters, and MoE variants are being explored at roughly 20B active and 100B total. Cosmos trained on tens of trillions of visual tokens. - **Step distillation:** flow-matching and diffusion models need about 100 or more steps, and step distillation trains a short-step student from a full teacher. Cosmos uses 4 or 8 steps, and simple image-to-image tasks can run in one step. GAN-style discrimination and consistency models are also used. - **Audio-video alignment:** the hard part is aligning text, video and audio on a time basis. Most vision-language models do not understand audio well, and music is continuous rather than discrete, so it needs detailed captions the way images do. - **World model definition:** he defines a world model as real-time, interactive, long-horizon video that responds to keyboard, mouse or voice. Gaming needs response in a few milliseconds, while a digital human can tolerate about 200 ms. A 5-second Cosmos clip is about 50K to 60K tokens, so long-horizon video needs context management. - **Video extension and reference:** video extension came from his earlier team's work and is the first step toward interactivity. Naive extension from the last frame degrades in quality over repeats, so the approach keeps history context. Reference video accepts up to seven images as conditioning. Frame-packing heuristics compress older history, and he expects models to learn to select relevant history themselves. - **Prompt rewriter:** video diffusion models follow prompts literally. Cosmos used a much larger language model as a prompt rewriter that expands a short instruction into a detailed scene description, and the rewriter alone improved the result without joint training. - **Video agents:** an LLM can use diffusion as one tool among others, such as FFmpeg and Photoshop-style editors, to build longer and more precise videos. Grok Imagine's agent mode is an early attempt. He predicts production-grade output from such agents by the end of the year and expects enterprise budgets to follow. - **Leaving xAI:** he is moving to language-model research because he sees the remaining bottleneck in video as the language and agent layer. He expects language models to manage their own context, with compaction and pruning moving from harnesses into the models. - **Career and culture:** he moved from computer vision and ResNet-era research, through Facebook AI Research under Yann LeCun into self-supervised learning, then to Nvidia's Cosmos and Megatron MoE work at about 40% MFU. He describes xAI's culture as fast-moving, with ambitious goals and first-principles timelines. ## Actionable Takeaways 1. Track iteration cycle time from data change to eval result, and hunt for small pipeline bugs first, since they often give the biggest quality gains. 2. Caption video training data in detail with a vision-language model, and add a small share of unlabeled, unconditioned video so the model generalizes. 3. Train an image model before the video model, then bootstrap video from it, because image-text data is cheaper and denser. 4. Compress along time where you can: 8x8x4 latents cut context about 4x versus frame-by-frame, but frame-by-frame output is more responsive for interactive use. 5. Distill a 100-step flow-matching teacher to 4 or 8 steps, and use one step for simple image-to-image tasks. 6. Put a large language model in front of the video model as a prompt rewriter that expands short instructions into detailed scene descriptions. 7. For long videos, condition on reference images of characters or scenes (up to seven) rather than extending from the last frame alone. ## Notable Quotes > "We we built it in 3 months and released the first model Grok Imagine 0.9." — Ethan He > "It comes from finding small bugs here and there in the data pipeline in the in the model training pipeline." — Ethan He > "Now you have to have enough compute to to try all of the ideas." — Ethan He > "the bottleneck for for video models is actually the language part" — Ethan He --- *Related: `@content/youtube/no-priors/2026-02-05-how-ai-will-transform-roblox-games-into-photorealistic-world` · `@content/youtube/aie/2026-05-23-prompt-to-pipeline-building-with-google-s-gen-medi` · `@content/youtube/sequoia/2026-06-11-google-deepminds-logan-kilpatrick-why-the-model-eats-the-har` · `@content/youtube/peter-diamandis/2026-09-05-anthropic-s-fable-5-1-hits-60-9-on-humanity-s-last-exam-gpt` · `@content/youtube/sequoia/2026-10-20-inside-the-robot-data-factory-mecka-s-josh-gao-on-sensorizin`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*