Talking-Head Video: A Script → A Vertical Video
All editing is done by scripts/kv.py; results are stable and reproducible. Your job: tidy up the script, fill in the configuration, run the commands, check the preview and validation images, and deliver the final video. The user's primary desire is "give a script, get a video". Unless genuinely missing critical information, do not stop to ask a flurry of questions—use sensible defaults to produce a video first, then inform the user what can be changed.
Hereafter, KV refers to python "<path to this skill's directory>/scripts/kv.py".
This skill does not depend on a specific AI tool: as long as you can run terminal commands and read/write files, you can produce a video following the workflow below (Claude Code, Codex, DeepSeek Harness, Cursor, etc. are all possible). Be aware of two capability differences:
- Cannot view images: In the workflow, steps like "read
preview.jpg/check_image.jpg" should be replaced by relying on warnings prefixed with!in the command output, and then openingbuild/plan.jsonto verifysubs(each subtitle's text and start/end times) andtags(tags for each segment). During delivery, explicitly ask the user to take a look atpreview.jpgandcheck_image.jpg. - Commands have timeouts:
makeoften takes 2–6 minutes. Set the command timeout to at least 10 minutes; if that's not possible, run it in the background and wait for it to finish (only considered complete when the last line shows "Done ✔"). Do not restart it mid-way—restarting will compete for memory and overwrite outputs.
Commands
| Command | Description |
|---|---|
KV check | Check Python, ffmpeg, dependencies, and fonts. Run this first before using. |
KV init <project> [--script script_file] | Create a new project folder with config.toml + script.txt. |
KV preview <project> | Generate a preview.jpg in a few seconds to preview title, tags, section name, and subtitle style. |
KV make <project> [--force] | Produce final_video.mp4, also generating check_image.jpg and footage_sources.txt. Steps that haven't changed are automatically reused from cache. |
KV sheet <project> | Re-extract frames from the final video to compose a new check image. |
KV save-default <project> | Save the project's section name, voiceover, and style as defaults for future new projects. |
If check reports missing items: Python packages can be installed with pip install -r scripts/requirements.txt; ffmpeg is a system-level tool—inform the user of the installation command (Windows: winget install Gyan.FFmpeg, Mac: brew install ffmpeg) and get their consent before installing.
Workflow
1. Confirm Script Source
Only turn original or authorized scripts into videos. If the user indicates or it's obvious that the script is copied from someone else's video (e.g., "make this blogger's script into my video"), first explain that this is equivalent to copying someone else's work and carries risks of infringement and being flagged as reused content. Propose writing an original script under the same topic; only continue if the user confirms they have authorization. For user-written scripts, no further questions are needed.
2. Create Project, Organize Script
- Place the project folder in the user's current working directory, with a name like
talking-head-<topic>, e.g.,talking-head-compound-interest. If the user provides a script file, useinit --scriptto copy it in. If the user pastes the text, afterinitoverwritescript.txtwith it (init creates a sample script; forgetting to overwrite will make a video using the sample—makewill warn about this). - Script format: separate paragraphs with a blank line. Each paragraph is a section, corresponding to one lower-third tag and usually one or two shots. The optional first line can be
Title: first line / second line. - If the user provides a single block of text, break it into 3–7 paragraphs logically; only adjust the paragraph breaks, do not change the user's wording. Delete any editing notes in the script (e.g.,
[insert image here]). - Time reference: voiceover is about 4–5 characters per second, 1 minute ≈ 250 characters. For scripts over 10 minutes, suggest splitting into multiple videos.
3. Fill in config.toml (Field descriptions in references/config.md)
- Title
[title] lines: Set it here (this overrides anyTitle:line in the script). If the script doesn't provide a title, write a two-line hook title. Each line should be no more than 9 characters. First line hooks with a question/number, second line gives the conclusion, e.g., "The Most Valuable Things / In the Next Three Years". - Tags
[tags] labels: One per section, matching the number of paragraphs. Format: "prefix · content" (the·and space are not counted in the character limit, content part ≤ 6 characters), e.g., "Point 1 · Set Agenda". The opening section often uses "Today's Topic", the final section "In Conclusion". - Highlighted Keywords
[subtitle] keywords: Pick 2–4 most memorable words per paragraph—numbers, conclusions, contrasting words, action words. List them all in a single list. They must match the script text exactly, character for character. Note:- The list applies to the entire video; the same word appearing elsewhere will also be highlighted in red. Choose specific words.
- Avoid selecting a short phrase that exactly matches a full subtitle line (the whole line turning red defeats the purpose of "emphasis")—pick the core few words within the sentence.
- Words that span punctuation marks will not be highlighted. If
makeprints "! Keyword... not highlighted", follow the prompt and change the word.
- Brand
[brand]: If the user has saved default configurations,initautomatically applies them.- When the user provides a new brand name (
name), also update theslogan(the small text under the brand name) with a tagline suited to the new brand (≤ 10 characters). If you can't think of one, set it to""—the template's "One Underlying Logic Every Day" is only a placeholder.end_cardcontains{name}which is auto-replaced; usually no changes needed. - If the brand still uses the placeholder "Wise Station" and the user hasn't provided a brand name, still produce the video, but during delivery remind them: "The brand name is a placeholder. Tell me your account name and I can change it."
- When the user provides a new brand name (
- Voice
[voice]: Default is free edge-tts. For the user's own cloned voice, setengine = "volc"and fill involc_speaker(starts withS_). The API Key is only read from the environment variableVOLC_API_KEY—never write the Key into any file. If the user pastes the Key in the chat, only pass it via the environment variable for the current command, and suggest the user reset it in the console afterwards. - Footage and background music default to the built-in free list; generally no changes needed.
4. Preview First, Then Produce
- Run
KV preview <project>, then readpreview.jpg. It is a representative frame: a subtitle with highlighted keywords, paired with the lower-third tag for that section. Check whether the title looks cramped, the tag style and text, and the brand name and slogan are correct. If something is wrong, modify the configuration and preview again—it's fast. (Before voiceover is generated, it uses an estimated timeline, which only affects the preview, not the final video.) - Run
KV make <project>. The first run requires voiceover and footage downloads; a 1–2 minute video typically takes 3–6 minutes (see timeout handling at the beginning). Lines starting with!in the output are warnings that need attention. The last line gives the output path and duration. - Read
check_image.jpg(cover frame + beginning of each section + end card; if you cannot view images, adapt by inspectingbuild/plan.jsonas described at the beginning). Verify: at 0.3 seconds, the title is centered (cover frame); each section's tag matches its content; subtitles do not exceed the white box; keywords are highlighted in red; the end card text is correct. If you find issues, fix the configuration and rerun—do not deliver directly.
5. Delivery
Inform the user: the final video path and duration (last line of make); the title, tags, and brand slogan you have set (so they know what can be changed); the purpose of footage_sources.txt (for footage attribution review); and to check the "Content is AI-generated" declaration when publishing (AI-synthesized voice counts as AI content). Finally, briefly explain how to modify elements (see table below), and once the user is satisfied with the brand name/voiceover, suggest KV save-default so future projects automatically use these settings.
What to Change → Where to Change
| What to Change | config.toml | What is Redone on Re-make |
|---|---|---|
| Brand name, bottom slogan, end card | [brand] name / slogan / end_card | Graphics + compositing (~1–2 minutes) |
| Title | [title] lines | Graphics + compositing |
| Tag text | [tags] labels | Graphics + compositing |
| Highlighted keywords, max subtitle chars | [subtitle] keywords / max_chars | Graphics + compositing |
| Colors | [style] | Graphics + compositing |
| Voice tone, speech rate | [voice] | Everything from voiceover onward |
| Script content | script.txt | Everything from voiceover onward |
| Footage source / shots per section | [footage] | Footage + compositing |
| Background music, music volume | [music] | Compositing |
Troubleshooting
- Errors starting with
✘are descriptive messages; follow the instructions provided. - edge-tts failure: Usually a network issue; retry later.
- Volcengine error 45000000 / resource ID mismatched: The voice ID is wrong, or
volc_resourcedoes not match the voice version (Replica 2.0 →seed-icl-2.0, 1.0 →seed-icl-1.0). HTTP 403: The corresponding resource is not enabled. - Subtitles out of sync with audio: First check
build/timing.jsonfor that sentence's timestamps. UseKV make <project> --forceto redo everything. - Pexels mode returns no footage: Switch to English keywords, or use
source = "default"/"folder". - Computer lagging / insufficient memory: Rendering uses approximately 1–2 GB RAM; close other heavy programs before running.