Experiments with AI video content strategy | Mux
A Node.js pipeline turns an uploaded video into promotional content automatically. It enables Mux static MP4 renditions, listens for the static_renditions.ready webhook, and sends the smallest low.mp4 file to OpenAI's Whisper API for transcription. The transcript then goes to ChatGPT (GPT-4 and gpt-3.5-turbo) with persona-style system prompts to generate a video title and description, promotional tweets and a blog post outline as JSON. Whisper's transcripts proved highly accurate and the generated copy was usable as a first draft, though Mux now offers auto-generated transcripts natively.
Related posts
- Humans and agents rejoice: Mux Robots is now GA
Mux mediumAdept
Mux Robots, Mux's API for running AI workflows over video assets, is now generally available with a stable v1 API at /robots/v1 that standardizes timestamps to seconds, aligns naming with Mux Video, and unifies track handling via replace_existing_tracks. Two new workflows arrive: analyze-structure, which returns title, summary, tags, chapters, scenes and key moments in one shot-aware pass and replaces the deprecated find-scenes, and generate-contextual-text, which produces grounded social posts, blog posts and other artifacts from a shared editorial brief. v0 stays supported for at least six months, and v1 jobs emit a new additive webhook event family. Other changes since preview include write-back of titles, chapters and thumbnails, time-range scoping, moderation actions and a Playground that generates prompts for coding agents.
- How I built a video sharing site with Claude Code and Mux after years away from coding
Mux mediumAdept
A former product leader built ScubaTube, a private-by-default dive video sharing site, in about a month and 200 commits using Claude Code, Next.js on Vercel, and Mux for video. Notable pieces include a UDDF dive-computer data overlay rendered on Video.js v10, chapters generated from Mux Robots scene analysis turned into a WebVTT track, engagement charts from Mux Data per-view completion, and a gapless TV mode that stacks two players and crossfades while preloading the next clip. Lessons: act as editor rather than engineer, be willing to throw away weak features, and verify generated code. SEO plumbing that looked correct went unchecked for six months and needed a dozen fixes.
- Frames, shots, and scenes: Structuring video for AI workflows
Mux easyNovice
Video AI workflows should hand a model the smallest piece of video that still contains the answer: frames for single-instant questions, shots (continuous takes between cuts) for visual change, scenes (grouped shots with narrative meaning) for complete sections, and moments and chapters for viewer-facing excerpts and navigation. Using Markus Eder's ski film The Ultimate Run as the example (18,000 frames, 159 shots, 7 scenes), Mux Robots workflows combine these levels, starting with cheap shot-boundary signals and then adding transcript cues and sampled frames only where they can change the answer. Shot-aware sampling avoids wasting a frame budget on near-identical frames, and transcript-heavy workflows like chapter generation weaken on speech-light content. The same granularity choice applies to embedding-based video retrieval.
- Building an AI WebTV
Hugging Face mediumAdeptThe AI WebTV is an experimental 24/7 stream of short clips generated by open-source text-to-video and music models. ChatGPT expands a human-written theme into per-shot prompts. Zeroscope V2 then generates 576x320 clips, and Zeroscope XL upscales them to 1024x576 using the same prompt. FILM frame interpolation smooths the clips and MusicGen adds a soundtrack. A Node/TypeScript orchestrator calls these models on Gradio Spaces via @gradio/client, and FFmpeg concatenates an ffconcat playlist into a low-latency FLV stream sent to an RTMP server (node-media-server). Prompting lessons include specifying camera and subject motion and direction, and repeating full details in every prompt for cross-scene consistency. Frame interpolation can hide rendering artifacts, while known failure modes include reversed motion and prompt words like "IMAX" appearing as text in frames.
- Automating coherent long-form video generation
Google Research hardMasterGoogle researchers present a multi-agent orchestration layer over Gemini and Veo that generates minutes-long, temporally consistent video by treating long-form generation as global optimization plus world-state tracking. It has four components. Co-Director uses a multi-armed bandit to pick a creative strategy, narrative mode and aesthetic, with an MLLM judge feeding factored rewards back. CANVAS keeps a persistent visual memory of characters, locations and props. A²RD generates video segment by segment, switching between extrapolation and interpolation against a multimodal video memory. VQQA does black-box prompt optimization, using VLM critiques as "semantic gradients" and picking the best candidate globally. New benchmarks (GenAD-Bench, HardContinuityBench, LVBench-C) show reduced identity and scene drift, including an 81.4 peak quality score on GenAD-Bench.