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.
Use this skill for render-vertical. Read skills/krillinai-cli/references/cli-contract.md first for binary location, execution working directory, configuration, and JSON behavior.
(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" render-vertical \
--workdir "$WORKDIR" \
--video "$WORKDIR/origin_video.mp4" \
--subtitle "$WORKDIR/short_origin_mixed_srt.srt" \
--major-title "今日话题" \
--minor-title "AI Video")(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" render-vertical \
--workdir "$WORKDIR" \
--video "$WORKDIR/video_with_tts.mp4" \
--subtitle "$WORKDIR/target_language_srt.srt" \
--dubbed \
--major-title "今日话题" \
--minor-title "AI Video")The Go renderer follows the good behavior from vertical_srt.py:
Dialogue entries instead of stacked with \N.transferred_vertical_video.mp4: source converted to portrait format.vertical_bilingual.mp4: default final vertical video.vertical_dubbed.mp4: final video with --dubbed.vertical_video.Use text and visual checks:
rg -n -F '\\N' "$WORKDIR/formatted_vertical_bilingual.ass"
ffmpeg -y -ss 00:00:01 -i "$WORKDIR/vertical_bilingual.mp4" \
-frames:v 1 "$WORKDIR/vertical_preview_%03d.jpg"Also require terminal JSON with "ok": true, valid video/audio streams, readable subtitles, and non-garbled titles.
b4d0373
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.