KrillinAI TTS
Turns a translated SRT subtitle file into a voice-over track and, if you supply the video, a dubbed version in the new language via KrillinAI.
What it is
This skill covers the dubbing stage of KrillinAI, the open-source video translation toolkit that is now part of OpenCreator. Once you have subtitles in your target language, the agent runs the KrillinAI command-line tool to read them aloud with a text-to-speech voice, timed to the subtitle timestamps, and can place that voice over the original video. It suits creators who want to publish a video in another language with a spoken track instead of, or as well as, subtitles.
The skill gives the agent the exact command and options: which subtitle lines to voice (target language only, or the target line of a bilingual file, on top or bottom), and how to choose a voice or a voice-clone sample where the provider supports it. KrillinAI handles the timing itself: its dubbing settings merge very short lines, adjust speaking speed within set limits, and can let the language model rewrite a line that is too long to fit. Afterwards the agent checks the audio is not empty and inspects the dubbed video with ffprobe.
You get a WAV voice-over (tts_final_audio.wav) and, when a video was supplied, video_with_tts.mp4. Voice quality depends on the speech service you configure, from Edge TTS, which needs no API key, to OpenAI, Aliyun, MiniMax or Volcengine voices. This stage expects finished subtitles; it does not transcribe or translate anything itself.
What it can do
- Generates a full voice-over audio track from an SRT subtitle file, following its timestamps.
- Creates a dubbed video by placing the new voice track on the original video.
- Voices only target-language lines, or reads the target line from a bilingual subtitle file.
- Lets you choose a provider-specific voice, or a voice-clone sample where the service supports it.
- Works with OpenAI, Aliyun, MiniMax, Volcengine and Edge TTS speech services.
- Checks that the audio has content and that the dubbed video has the expected length and sound track.
When to use it
- You translated an English tutorial into Chinese subtitles and now want a Chinese voice-over so viewers do not have to read along.
- You run a channel in two languages and want a dubbed copy of each new video without recording it twice.
- You want to hear how a translated script sounds as narration before deciding whether to hire a voice actor.
- You have a product demo with Japanese subtitles and want a dubbed version using a cloned voice, with a provider that supports cloning.
How it works
- 1The agent confirms the KrillinAI CLI is available and that a speech provider is set up in KrillinAI's config.toml file.
- 2It points the tts command at your target-language SRT file, usually the one made in the subtitle stage, and at the original video if you want a dubbed copy.
- 3KrillinAI synthesizes each line with the chosen voice, merging short lines and adjusting speed so the speech fits its time slot.
- 4It writes the WAV audio and the dubbed video and records their locations in the job's krillinai_manifest.json file.
- 5The agent checks that the tool reported success, the audio file is not empty, and the video's length and audio stream look right.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/krillinai/OpenCreator/tree/master/skills/krillinai-tts
pnpm dlx skills add https://github.com/krillinai/OpenCreator/tree/master/skills/krillinai-tts
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the krillinai-tts folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/krillinai/OpenCreator.git mkdir -p ~/.claude/skills cp -r OpenCreator/skills/krillinai-tts ~/.claude/skills/krillinai-tts
Then just ask in plain language, for example: “Dub this video into Chinese using the target-language subtitles from the subtitle step.”
More Video & Audio skills
Manim Video
31kPlans, codes and renders 3Blue1Brown-style animated explainers for math, algorithms, data and technical ideas using Manim, a Python animation library.
Video Use
31kEdits raw footage into a finished video through conversation: cuts filler and retakes, grades color, adds subtitles and animated overlays.
Videocaptioner
16kTranscribes, translates and burns styled subtitles into your videos from one command, with free speech recognition for Chinese and English.