Tooluck logoTooluck
SKILL.md

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)

skills/krillinai-render-vertical/SKILL.md

Apache-2.0Full file
1# KrillinAI Render Vertical
2
3Use this skill for `render-vertical`. Read `skills/krillinai-cli/references/cli-contract.md` first for binary location, execution working directory, configuration, and JSON behavior.
4
5## Bilingual Short-Subtitle Video
6
7```bash
8(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```
15
16## Dubbed Vertical Video
17
18```bash
19(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```
27
28## Subtitle Behavior
29
30The Go renderer follows the good behavior from `vertical_srt.py`:
31
32- 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.
36
37## Outputs
38
39- `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`.
43
44## Verification
45…

Excerpt shown under the repository's Apache-2.0 license.

More skills in OpenCreator

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates