Overview
Have Claude Code draft a script for your own short film, build the scenes as local files, and join frames and narration into a video with FFmpeg.
Problem or Objective
- Which tools produce a short video from a topic?
- Which agents can cut, restructure and polish recorded video or audio from plain-language instructions?
More in Content and Media
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · FFmpeg
- Prerequisites
- Claude Code on a computer with FFmpeg, a headless browser and a text-to-speech tool of your choice installed. Check each licence and any account or plan these need.
How It Works
Make a project folder holding your premise, target length and only assets you made or licensed. Switch Claude Code to Manual permission mode so you see prompts. Ask for a script and shot list first, edit them and approve the final text. Then ask for each scene as a local web page and a way to capture frames with a headless browser, such as Chrome run without a window, after checking one is installed. Create narration with a text-to-speech tool you have chosen, once you have read its licence. Ask Claude Code to propose the FFmpeg commands that join frames, narration and subtitles, read each command, and approve it. Have it open sample frames to look for cut-off text, then watch the whole render yourself, request fixes, and publish only after your own review.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, FFmpeg.
- Check the prerequisitesClaude Code on a computer with FFmpeg, a headless browser and a text-to-speech tool of your choice installed. Check each licence and any account or plan these need.
- Gather your detailsCollect what the prompt asks for: Target running time, Story idea, Folder of your own or licensed assets.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Draft the film before rendering
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
We are making an original short film of about [Target running time] about [Story idea]. Use only the assets in [Folder of your own or licensed assets]. First draft a script and a shot list and stop for my approval. After I approve, build each scene as a local file, tell me which frame capture and speech tools you need and whether they are installed, and show every command before running it. Write output to a separate folder. Do not download assets, upload anything or publish.Approve the script before any build, approve commands as they come in Manual mode, and watch the finished render before publishing it yourself.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The pages support Claude drafting and editing, Claude Code editing files, running commands and viewing images, and FFmpeg processing audio, video and subtitles. They do not describe this film pipeline, and the headless browser and speech tool were not verified. Top 200 Repos did not produce a film this way.
Limitations and Considerations
Original means checking rights: confirm that script, images, fonts, music and any synthetic voice may be used where you will publish, and check whether the platform or your audience expects synthetic narration to be disclosed. Verify any factual statement in the narration. Keep your source assets backed up and let renders write to a separate output folder. Check what Claude Code and the speech tool will cost you. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Tool Repository
A tool this workflow relies on.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 2 Dec 2026, 13:21 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Claude | The AI assistant for work (opens in a new tab)
Project documentation · claude.com · Undated · Source checked 2 Dec 2026, 14:22 UTC
What this source supports
- Other common use cases include first drafts and editing; creating briefs from meeting notes or account records; reconciling disparate data from different sources and pulling it into a spreadsheet or dashboard; pulling information into slides and presentations, and much more.
- Tools reference - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 2 Dec 2026, 13:30 UTC
What this source supports
- In auto mode, a classifier decides most permission prompts instead of you.
- Images: PNG, JPEG, GIF, and WebP files are returned as visual content that Claude can see, not as raw bytes.
- FFmpeg/FFmpeg README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 2 Dec 2026, 13:21 UTC
What this source supports
- FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

