本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when an agent needs to build or operate the embedded KrillinAI CLI, choose a supported command, or interpret its JSON, manifest, subtitle, dubbing, render, cover, speech, and voice outputs.

日本語の概要は準備中です。原文の説明を表示しています。

krillinai/OpenCreator1.3万2026年10月13日 更新

Use when generating a cover image with the KrillinAI CLI from a complete image prompt, including validating image-provider configuration and inspecting the generated image and saved prompt.

日本語の概要は準備中です。原文の説明を表示しています。

krillinai/OpenCreator1.3万2026年10月13日 更新

Use when validating or documenting a multi-stage KrillinAI CLI output plan; the current pipeline command supports dry-run planning only, not end-to-end execution.

日本語の概要は準備中です。原文の説明を表示しています。

krillinai/OpenCreator1.3万2026年10月13日 更新

Use when rendering landscape videos with KrillinAI CLI, including original video plus bilingual subtitles or dubbed video plus target-language subtitles.

日本語の概要は準備中です。原文の説明を表示しています。

krillinai/OpenCreator1.3万2026年10月13日 更新

Use when generating subtitles with KrillinAI CLI from a YouTube link, Bilibili/local video, or existing media, including platform caption download, Whisper fallback, translation, bilingual SRT, and short vertical subtitle output.

日本語の概要は準備中です。原文の説明を表示しています。

krillinai/OpenCreator1.3万2026年10月13日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

krillinai/OpenCreator1.3万2026年10月13日 更新

krillinai のスキルをすべて見る

このスキルの問題を報告する