krillinai-cli
できること
このスキルは、字幕、吹き替え、動画のレンダリング、カバー画像を扱うKrillinAIのコマンドラインツールの使い方を案内します。動画を現地化したり、再利用したりしたいクリエイター向けです。
使う場面
- ✓動画に第2言語の字幕を付けたいとき。
- ✓動画に別の言語の吹き替え音声を付けたいとき。
- ✓横長の動画の縦向きのバージョンが必要なとき。
スキルのリンク
https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cli/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の英語のYouTube動画に中国語の字幕と吹き替え版を作り、その後で縦向きのバージョンも作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、字幕、吹き替え、レンダリングなど、目的に合ったKrillinAIのコマンドを選び、結果ファイルを読んで各工程がうまくいったかを確認します。各段階は、それぞれ専用の作業フォルダで実行されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
KrillinAI CLI
Use this as the top-level routing skill for KrillinAI command-line work.
Build And Locate The Binary
Build both KrillinAI binaries through the repository script:
pnpm krillinai:build
For the current machine, locate the CLI without assuming a platform or architecture:
TARGET="$(node -p "process.platform + '-' + process.arch")"
SUFFIX="$(node -p "process.platform === 'win32' ? '.exe' : ''")"
KRILLINAI_CLI="$PWD/.runtime/build/krillinai/$TARGET/bin/krillinai-cli$SUFFIX"
test -f "$KRILLINAI_CLI"
The CLI loads config/config.toml relative to its process working directory. For real runs from a source checkout, use runtime/krillinai as the process working directory and create its ignored config/config.toml from config/config-example.toml without overwriting an existing file. A release archive should be run from its unpacked package root.
For build layout, configuration, JSON, manifest, output, and error details, read:
skills/krillinai-cli/references/cli-contract.md
Choose The Command
| User intent | Command / skill |
|---|---|
| Generate source, target, bilingual, and short vertical subtitles | subtitle; use krillinai-subtitle |
| Generate target-language dubbing from subtitles | tts; use krillinai-tts |
| Create landscape videos | render-horizontal; use krillinai-render-horizontal |
| Create portrait/short-form videos | render-vertical; use krillinai-render-vertical |
| Generate a cover from a complete image prompt | cover; use krillinai-cover |
| Generate speech from plain text | speech |
| List provider voice codes for Aliyun, OpenAI, or MiniMax | voices |
| Validate a requested multi-stage output plan | pipeline --dry-run; use krillinai-pipeline |
pipeline only validates plans in dry-run mode; non-dry-run execution returns unsupported_command. status is reserved and unsupported.
Operating Rules For Agents
- Use a dedicated
--workdir; do not scatter outputs in the repo root. - Use
--dry-runfor command-shape validation before external calls. - Parse stdout as JSON lines. The terminal response is the object containing
ok; OpenCreator mode may emit progress frames first. - Treat
krillinai_manifest.jsonand actual output files as the source of truth after a real stage. - Reuse manifest outputs for later stages instead of guessing filenames.
- If a command fails, classify by
error.kind:usage,retryable,dependency, orinternal. - Avoid rerunning expensive stages if the manifest already has valid upstream outputs.
- Do not claim that
coverconsumed a reference image: the current CLI accepts a complete text prompt and size only. - Do not request an Edge TTS voice catalog:
voicescurrently supportsaliyun,openai, andminimax.
Minimal Workflow
REPO_ROOT="$PWD"
WORKDIR="$REPO_ROOT/tasks/demo"
mkdir -p "$WORKDIR"
(cd "$REPO_ROOT/runtime/krillinai" && "$KRILLINAI_CLI" subtitle \
"https://www.youtube.com/watch?v=VIDEO_ID" \
--origin-lang en \
--target-lang zh_cn \
--workdir "$WORKDIR" \
--caption-source any \
--prepare-video)
(cd "$REPO_ROOT/runtime/krillinai" && "$KRILLINAI_CLI" render-vertical \
--workdir "$WORKDIR")
よくある質問
ツールはどこから設定を読みますか?
実行するフォルダにある設定ファイルから読みます。その中にプロバイダーの詳細を設定しておく必要があります。
YouTubeのリンクから作業できますか?
はい。字幕の工程はリンクから始められ、まずプラットフォームの字幕を使い、ない場合は文字起こしを行います。
工程は一つずつ実行されますか?
はい。各段階は独自のコマンドとして実行され、結果は同じ作業フォルダに保存されます。
詳細
作者による元の説明
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.
repo: krillinai/OpenCreator
人気
- GitHubのスター
- 14k
- ランキング
- #11252
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
krillinai-cover
14kエージェントが、書かれたプロンプトから動画のカバー画像を生成し、その画像と保存されたプロンプトを確認できるよう支援します。
krillinai-pipeline
14kエージェントが、字幕、吹き替え、レンダリングなど、KrillinAIの複数の動画工程の計画を、各工程を実行する前に確認できるよう支援します。
krillinai-render-horizontal
14kエージェントが、KrillinAIを使って、バイリンガル字幕付きの横長の動画や、翻訳先の言語の字幕付きの吹き替え版をレンダリングできるよう支援します。
krillinai-render-vertical
14kエージェントが、動画を短いバイリンガル字幕または吹き替え音声付きの縦向きのバージョンに変え、字幕が読みやすいかを確認できるよう支援します。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。