examples: short-video narration recipe (silent clip → 9:16 draft with voiceover + captions), en + zh-CN - #124
Merged
Conversation
…with voiceover and captions
Four commands (quickstart --ratio 9:16, tts --text-file, caption --from-segment
--script, lint) written up in English and Chinese, plus narrate-short.sh that
chains them and edge-tts-wav.sh that bridges edge-tts (MP3 only) to the WAV
tts expects at {out}. The vision-model step that writes the script is optional
and stays outside the CLI: the script is a text file.
renezander030
force-pushed
the
docs-short-video-narration
branch
from
September 19, 2026 15:51
2efa7b0 to
0c3b78f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
examples/short-video-narration.mdandexamples/short-video-narration.zh-CN.md: silent clip → 9:16 draft with a TTS voiceover and script-accurate captions, as four existing commands (quickstart --ratio 9:16→tts --text-file→caption --from-segment --script→lint) and as one script.examples/scripts/narrate-short.shchains the four steps: prints the draft path and the voiceover segment, treats a missing whisper as "captions skipped" rather than a failure, stops with the CLI's own error on anything else.CAPCUT_TTS_CMDswaps the engine.examples/scripts/edge-tts-wav.shbridges edge-tts (which only writes MP3) to the WAV thatttsexpects at{out}, via ffmpeg.Why
The most common short-form pipeline in the JianYing ecosystem is footage → narration → captions → app, and every piece of it already existed as a command. This is the recipe that shows them as one path, in the language most of that audience reads first.
Checks
bash -non both scripts. No source changes; no test suite impact.Docs
Examples index row + note that this recipe exists in both languages; a pointer from the zh-CN quickstart's "接下来"; CHANGELOG (Unreleased).