# Make the PERFECT Videos with Claude Code (Full Workflow)
<!--
ref: @content/youtube/cole-medin/make-the-perfect-videos-with-claude-code-full-workflow
tags: [AI video generation, Claude Code, Hyperframes, text-to-speech, Archon, workflow orchestration, video templates]
version: 2
updated_at: 2026-11-24T06:05:30.272Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=Ya51a1EJPZk)**

# Make the PERFECT Videos with Claude Code (Full Workflow)

*Synthesized from Cole Medin, 2026-05-14.*

Cole Medin presents solo, demonstrating his open-source template-driven pipeline for generating short AI videos with a coding agent.

## Core Thesis
Cole Medin argues that AI can now produce short animated, narrated videos end to end, and that a coding agent can run the whole process when it is given a reusable template and a workflow harness. He is explicit that the output is still an ongoing experiment that needs iteration, not a production-ready result out of the box.

## Key Insights
- The stack combines Hyperframes for HTML-based scene rendering (which he compares to Remotion), Claude Code as the agent, ElevenLabs for voice with Kokoro as a free alternative, and Archon as the workflow engine.
- Setup takes two prompts: one asking the agent to read the README and set everything up, then a topic or URL. Dependencies install automatically; only ElevenLabs needs an API key.
- The run order is: create a unique run ID and isolated folder, copy the chosen template, research the topic under an anti-fabrication gate, write a script with TTS tags and natural abbreviations, make one ElevenLabs call for the full script, build an index.html composition timed to the audio, then lint audio, transitions and layout overflow frame by frame.
- The Hyperframes preview runs on a localhost page with sound and scrolling, so a bad inflection or sound effect can be fixed granularly before the final MP4 render.
- Run state is persisted to Postgres (Neon in his case) or SQLite, and Archon supports parallel runs, so several videos can be generated at once.
- Three default templates ship with the repository. A new one is made by having Claude Code read the README and ask scoping questions. His new "concept short" template for explaining AI architectures defaulted to about 50 seconds, against 25 to 30 seconds for the stock template.
- Named use cases: team or community explainers, YouTube Shorts, and personal explainers, such as a one-minute summary of a new Claude Code feature like Agent View.
- Quality was uneven: the Agent View short had good audio, transitions and sync, while the 30-second Archon explainer was described as a little slow-paced. Voice inflection and awkward transitions remain open issues.

## Actionable Takeaways
1. Clone the repository, then give the coding agent the two-sentence setup prompt followed by a topic or URL.
2. Use Kokoro if cost matters; expect to iterate on voice inflection and awkward transitions.
3. Build a custom template by pointing Claude Code at an existing one and answering its questions on style, composition and length (his default was about 50 seconds).
4. Review in the Hyperframes preview and fix individual scenes before rendering the final MP4.

## Notable Quotes
> "So, I want to start by saying that AI-generated videos are not perfect yet, but man, are they getting good." — Cole Medin

> "I would consider this more an ongoing experiment versus something that you can use" — Cole Medin

> "We have an anti-fabrication gate as well, so it's not just hallucinating everything." — Cole Medin

---

*Related: `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/yifan-bth/the-complete-claude-code-workflow-90-skip-this` · `@content/youtube/tiago-forte/stop-overthinking-ai-use-this-4-step-framework` · `@content/youtube/starter-story/my-ai-app-made-1000-last-week`*

---

*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).*