krillinai-subtitle

Automate subtitle generation for videos using KrillinAI CLI with translation and bilingual SRT output.

10.7k|995|Updated Dec 17, 2024
One-click install
npx skills add https://github.com/krillinai/KrillinAI --skill krillinai-subtitle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: krillinai-subtitle
Source: https://github.com/krillinai/KrillinAI/tree/main/skills/krillinai-subtitle
Command: npx skills add https://github.com/krillinai/KrillinAI --skill krillinai-subtitle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates subtitle generation for videos by sourcing captions from platforms or Whisper transcripts and handling translations to produce usable subtitle tracks.

Core Features & Use Cases

  • Source platform captions from YouTube, Bilibili, or local media when available
  • Whisper-based transcription fallback for videos without captions
  • Translate subtitles to the target language and generate bilingual SRTs
  • Produce short vertical subtitles for mobile-friendly viewing

Quick Start

Run the KrillinAI CLI subtitle workflow on a video URL or local media to generate origin and translated subtitle files.

Frequently Asked Questions about krillinai-subtitle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate bilingual subtitles for a YouTube video?

To generate bilingual subtitles for a YouTube video, this workflow sources existing platform captions or uses Whisper transcription, then translates them to produce a bilingual SRT file with origin and translated text.

Can I extract subtitles from local media files without existing captions?

Yes, you can extract subtitles from local media files without captions by using the Whisper-based transcription fallback to generate origin subtitles before applying translation to the target language.

How do I create vertical subtitles for mobile viewing?

You can create vertical subtitles for mobile viewing by running the KrillinAI CLI subtitle workflow, which includes options to produce short vertical subtitle formats suitable for mobile screens.

Does subtitle generation work with Bilibili videos?

Yes, subtitle generation works with Bilibili videos by sourcing available platform captions directly, or falling back to Whisper transcripts if native captions are unavailable.

What languages do I need to specify for subtitle translation?

You need to specify the origin-lang and target-lang flags when running the KrillinAI CLI to define the source language and the desired translation language for your subtitle files.

Do I need to install anything before generating translated SRT files?

Yes, you need a built KrillinAI CLI installed in your environment before you can execute the subtitle generation workflow and output translated SRT files.