Skip to content
Content
Skill

/krillinai-render-vertical

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.

BOOST
From plugin
opencreator
13k7 skills
Install
$ npx -y skills add krillinai/opencreator --skill krillinai-render-vertical --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/krillinai-render-vertical

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

krillinai-render-vertical.SKILL.md
name: krillinai-render-vertical
description: 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.

KrillinAI Render Vertical

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.

Bilingual Short-Subtitle Video

(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")

Dubbed Vertical 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")

Subtitle Behavior

The Go renderer follows the good behavior from `vertical_srt.py`:

  • Chinese uses word segmentation before line decisions.
  • Display width is used for line splitting: Chinese counts as width 2, other text as width 1.
  • Long Chinese subtitles are split across time into multiple `Dialogue` entries instead of stacked with `\N`.
  • The goal is to keep the screen to one English line plus one Chinese line when possible.

Outputs

  • `transferred_vertical_video.mp4`: source converted to portrait format.
  • `vertical_bilingual.mp4`: default final vertical video.
  • `vertical_dubbed.mp4`: final video with `--dubbed`.
  • Final variants are reported through the manifest key `vertical_video`.

Verification

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.

Read more
Ships withopencreator

Formerly KrillinAI. Open-source AI workspace for creators, powered by Codex. Create videos, images, voice, avatars, video translation, and edits with Agents in one place.

Get the whole plugin
Stats
12,624
Stars
1,299
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
3d ago
Last commit
1y ago
Created
16h ago
Added

Repo: krillinai/opencreator

Other skills on opencreator.