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.

From plugin
opencreator
14k7 skills

Claude Code

$ npx -y skills add krillinai/opencreator --skill krillinai-render-vertical --agent claude-code

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
@krillinai
Ships withopencreator

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

Stars on GitHub

Momentum

stars in total
14.4k
Star history of krillinai/opencreator on GitHub, a chart by star-history.com

Other skills on opencreator.

krillinai-cli

krillinai-cli

Use when an agent needs to build or operate the embedded KrillinAI CLI, choose a supported command, or interpret its JSON,…

krillinai-cover

krillinai-cover

Use when generating a cover image with the KrillinAI CLI from a complete image prompt, including validating image-provider…

krillinai-pipeline

krillinai-pipeline

Use when validating or documenting a multi-stage KrillinAI CLI output plan; the current pipeline command supports dry-run…

krillinai-subtitle

krillinai-subtitle

Use when generating subtitles with KrillinAI CLI from a YouTube link, Bilibili/local video, or existing media, including platform…

krillinai-tts

krillinai-tts

Use when generating target-language dubbing with KrillinAI CLI from SRT subtitles, including TTS audio creation and optional…

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

@iofficeai@iofficeaiInstall Skill

Questions about krillinai-render-vertical.

Which coding agents can use krillinai-render-vertical?
krillinai-render-vertical installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.