krillinai-subtitle
できること
このスキルは、動画の字幕ファイルを別の言語に翻訳して作ります。2言語を組み合わせた版も含められます。別の言語の動画に字幕を付けたいクリエイター向けです。
使う場面
- ✓YouTubeやほかのオンライン動画があり、別の言語の字幕が欲しいとき。
- ✓字幕が必要なローカルの動画ファイルがあるとき。
- ✓完全版に加えて、短い縦向きの字幕版も必要なとき。
スキルのリンク
https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-subtitle/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このYouTubeのリンクの英語の字幕と中国語の翻訳を作り、後の工程のために元の動画は残しておいてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、字幕があればプラットフォームの字幕を使い、なければ音声を文字起こしし、その後テキストを翻訳して字幕ファイルを書きます。後の工程で使えるよう、元の動画は残します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
KrillinAI Subtitle
Use this skill for the subtitle stage. Read skills/krillinai-cli/references/cli-contract.md first for binary location, execution working directory, configuration, and JSON behavior.
Command
(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" subtitle "<input>" \
--origin-lang en \
--target-lang zh_cn \
--workdir "$WORKDIR" \
--caption-source any \
--prepare-video)
Inputs
- YouTube URL: prefer
--caption-source any; platform captions are used first, then Whisper fallback. - Local file: use
local:/abs/path/video.mp4or a path accepted by the CLI. - Bilibili or other yt-dlp supported links: use when media download works; platform caption behavior may differ, so expect transcription fallback.
Important Flags
| Flag | Use |
|---|---|
--origin-lang |
Source language, such as en, zh, ja |
--target-lang |
Target language, such as zh_cn |
--workdir |
Dedicated task directory |
--caption-source any |
Prefer platform captions, fallback to transcription |
--caption-source whisper |
Force transcription |
--prepare-video |
Require the original video for later render stages |
--bilingual-top=true |
Put target language on top in bilingual SRT |
--subtitle-style-file |
Merge a JSON subtitle-style override |
--dry-run |
Validate without downloads or AI calls |
Outputs
After a real run, read paths from krillinai_manifest.json. Main files:
origin_language_srt.srttarget_language_srt.srtbilingual_srt.srtshort_origin_mixed_srt.srtorigin_video.mp4when media preparation produced or required videoorigin_audio.mp3when transcription preparation produced audio
subtitle --dry-run validates command shape but does not write a manifest or output files.
Verification
- Require terminal JSON with
"ok": true. - Confirm
krillinai_manifest.jsonexists under--workdir. - Spot-check
bilingual_srt.srtordering andshort_origin_mixed_srt.srtreadability. - When
--prepare-videowas requested, require a non-emptyorigin_videooutput. - For Agent integration details, read
skills/krillinai-cli/references/cli-contract.md.
よくある質問
動画に字幕がない場合は?
予備として、このスキルが音声を自動で文字起こしします。
Bilibiliやローカルの動画でも使えますか?
はい。ローカルのファイルや対応する他のサイトを使えますが、字幕の結果は異なることがあります。
翻訳を上に置けますか?
はい。バイリンガルのファイルで、翻訳先の言語を上に配置できます。
詳細
作者による元の説明
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.
repo: krillinai/OpenCreator
人気
- GitHubのスター
- 14k
- ランキング
- #11257
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
krillinai-cli
14kエージェントが、KrillinAIのコマンドラインツールを使い、動画から字幕、吹き替え、レンダリングされた動画、カバー画像を作れるよう支援します。
krillinai-cover
14kエージェントが、書かれたプロンプトから動画のカバー画像を生成し、その画像と保存されたプロンプトを確認できるよう支援します。
krillinai-pipeline
14kエージェントが、字幕、吹き替え、レンダリングなど、KrillinAIの複数の動画工程の計画を、各工程を実行する前に確認できるよう支援します。
krillinai-render-horizontal
14kエージェントが、KrillinAIを使って、バイリンガル字幕付きの横長の動画や、翻訳先の言語の字幕付きの吹き替え版をレンダリングできるよう支援します。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。