跳到正文
cccskills
免费在 GitHub 公开

krillinai-subtitle

Creates original-language, translated, and bilingual SRT subtitle files from YouTube links, local videos, or other supported media. Uses platform captions when available, falls back to Whisper transcription, and provides subtitle output for short vertical videos.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

集成工具YouTube
查看安装方法

适用场景

  • Creating translated subtitles from a YouTube video
  • Transcribing a local video into subtitles
  • Producing bilingual SRT files
  • Preparing subtitles for short vertical videos

包含的文件(1)

  • SKILL.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.mp4 or 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

FlagUse
--origin-langSource language, such as en, zh, ja
--target-langTarget language, such as zh_cn
--workdirDedicated task directory
--caption-source anyPrefer platform captions, fallback to transcription
--caption-source whisperForce transcription
--prepare-videoRequire the original video for later render stages
--bilingual-top=truePut target language on top in bilingual SRT
--subtitle-style-fileMerge a JSON subtitle-style override
--dry-runValidate without downloads or AI calls

Outputs

After a real run, read paths from krillinai_manifest.json. Main files:

  • origin_language_srt.srt
  • target_language_srt.srt
  • bilingual_srt.srt
  • short_origin_mixed_srt.srt
  • origin_video.mp4 when media preparation produced or required video
  • origin_audio.mp3 when 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.json exists under --workdir.
  • Spot-check bilingual_srt.srt ordering and short_origin_mixed_srt.srt readability.
  • When --prepare-video was requested, require a non-empty origin_video output.
  • For Agent integration details, read skills/krillinai-cli/references/cli-contract.md.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Choose and operate KrillinAI CLI commands for subtitles, dubbing, video rendering, covers, and speech. This skill guides setup and helps interpret structured responses, output records, generated files, and errors.

中文简介正在准备中。当前显示英语简介。

  • Choose commands for subtitles, dubbing, and video output
  • Build and configure the CLI
  • Check generated files and diagnose errors
krillinai/OpenCreator1.4万2026年10月21日 更新

Generates a cover image through KrillinAI CLI from a complete prompt describing the title, language, composition, and style. Also checks image-provider configuration, validates the output image, and confirms that the submitted prompt was saved accurately.

中文简介正在准备中。当前显示英语简介。

  • Creating a cover image with specified title text and style
  • Generating a cover at a chosen image size
  • Keeping the submitted prompt alongside the generated image
krillinai/OpenCreator1.4万2026年10月21日 更新

Validate a KrillinAI production plan combining subtitles, dubbing, landscape or portrait videos, and covers. The skill explains how to run stages separately, verify their files, and resume failed work using existing outputs.

中文简介正在准备中。当前显示英语简介。

  • Validate a plan with several media outputs
  • Map requested outputs to individual commands
  • Resume a failed stage using existing files
krillinai/OpenCreator1.4万2026年10月21日 更新

Render landscape videos with KrillinAI CLI, combining original footage with bilingual subtitles or prepared dubbed footage with target-language subtitles. Optionally replace audio, adjust subtitle styling, and verify the output video and subtitle placement.

中文简介正在准备中。当前显示英语简介。

  • Render landscape videos with bilingual subtitles
  • Add target-language subtitles to prepared dubbed footage
  • Replace audio or customize subtitle styling
krillinai/OpenCreator1.4万2026年10月21日 更新

Render portrait videos with KrillinAI CLI using short bilingual subtitles or prepared dubbed footage with target-language subtitles. Add titles and check the resulting video for readable captions, working audio, and correctly displayed text.

中文简介正在准备中。当前显示英语简介。

  • Convert source footage to portrait format
  • Render portrait videos with short bilingual subtitles
  • Add subtitles and titles to prepared dubbed footage
krillinai/OpenCreator1.4万2026年10月21日 更新

Creates target-language speech from SRT subtitle files using KrillinAI CLI, with optional dubbed video output. Covers voice selection, choosing the target lines in bilingual subtitles, and checking the generated audio and video files.

中文简介正在准备中。当前显示英语简介。

  • Creating narration from translated SRT subtitles
  • Generating a dubbed version of an existing video
  • Reading only the target language in bilingual subtitles
krillinai/OpenCreator1.4万2026年10月21日 更新

查看 krillinai 的全部技能

报告此技能的问题