본문으로 건너뛰기
Skillpedia
영상 편집14k · #11252

krillinai-cli

하는 일

이 스킬은 자막, 더빙, 영상 렌더링, 표지 이미지를 다루는 KrillinAI 명령줄 도구의 사용법을 안내합니다. 영상을 현지화하거나 재활용하려는 제작자를 위한 스킬입니다.

사용하는 경우

  • ✓영상의 다른 언어 자막이 필요할 때.
  • ✓영상의 다른 언어 더빙 오디오가 필요할 때.
  • ✓가로 영상을 세로형으로 바꾼 버전이 필요할 때.

스킬 링크

https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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-run for 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.json and 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, or internal.
  • Avoid rerunning expensive stages if the manifest already has valid upstream outputs.
  • Do not claim that cover consumed a reference image: the current CLI accepts a complete text prompt and size only.
  • Do not request an Edge TTS voice catalog: voices currently supports aliyun, openai, and minimax.

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬