Skip to content
cccskills
FreePublished on 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.

OriginalShow the original description

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.

Works withYouTube
See how to install

Good for

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

Files included (1)

  • SKILL.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

krillinai-cli

FreeSummary

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/OpenCreator13.8KUpdated Oct 21, 2026

krillinai-cover

FreeSummary

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/OpenCreator13.8KUpdated Oct 21, 2026

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/OpenCreator13.8KUpdated Oct 21, 2026

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/OpenCreator13.8KUpdated Oct 21, 2026

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/OpenCreator13.8KUpdated Oct 21, 2026

krillinai-tts

FreeSummary

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/OpenCreator13.8KUpdated Oct 21, 2026

See all skills by krillinai

Report a problem with this skill