krillinai-cli
하는 일
이 스킬은 자막, 더빙, 영상 렌더링, 표지 이미지를 다루는 KrillinAI 명령줄 도구의 사용법을 안내합니다. 영상을 현지화하거나 재활용하려는 제작자를 위한 스킬입니다.
사용하는 경우
- ✓영상의 다른 언어 자막이 필요할 때.
- ✓영상의 다른 언어 더빙 오디오가 필요할 때.
- ✓가로 영상을 세로형으로 바꾼 버전이 필요할 때.
스킬 링크
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 데모 영상을 녹화하도록 돕습니다. 튜토리얼을 만들거나 웹 앱의 작동 방식을 보여 줄 때 유용합니다.