krillinai-render-vertical
Agent skill fromkrillinai/OpenCreator
Use when rendering portrait videos with KrillinAI CLI, including converting source video to vertical format, adding short bilingual subtitles, rendering dubbed vertical videos, and checking vertical subtitle readability.
How to install krillinai-render-vertical
install krillinai-render-vertical
# install the OpenCreator pack with the skills CLI
npx skills add krillinai/OpenCreator# or add only this skill to Claude Code: copy the folder
skills/krillinai-render-vertical/
# into
~/.claude/skills/krillinai-render-vertical/ (all projects)
.claude/skills/krillinai-render-vertical/ (one project)
1# KrillinAI Render Vertical23Use this skill for `render-vertical`. Read `skills/krillinai-cli/references/cli-contract.md` first for binary location, execution working directory, configuration, and JSON behavior.45## Bilingual Short-Subtitle Video67```bash8(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" render-vertical \9 --workdir "$WORKDIR" \10 --video "$WORKDIR/origin_video.mp4" \11 --subtitle "$WORKDIR/short_origin_mixed_srt.srt" \12 --major-title "今日话题" \13 --minor-title "AI Video")14```1516## Dubbed Vertical Video1718```bash19(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" render-vertical \20 --workdir "$WORKDIR" \21 --video "$WORKDIR/video_with_tts.mp4" \22 --subtitle "$WORKDIR/target_language_srt.srt" \23 --dubbed \24 --major-title "今日话题" \25 --minor-title "AI Video")26```2728## Subtitle Behavior2930The Go renderer follows the good behavior from `vertical_srt.py`:3132- Chinese uses word segmentation before line decisions.33- Display width is used for line splitting: Chinese counts as width 2, other text as width 1.34- Long Chinese subtitles are split across time into multiple `Dialogue` entries instead of stacked with `\N`.35- The goal is to keep the screen to one English line plus one Chinese line when possible.3637## Outputs3839- `transferred_vertical_video.mp4`: source converted to portrait format.40- `vertical_bilingual.mp4`: default final vertical video.41- `vertical_dubbed.mp4`: final video with `--dubbed`.42- Final variants are reported through the manifest key `vertical_video`.4344## Verification45…
Excerpt shown under the repository's Apache-2.0 license.
