Tooluck logoTooluck
SKILL.md

krillinai-tts

Agent skill fromkrillinai/OpenCreator

Use when generating target-language dubbing with KrillinAI CLI from SRT subtitles, including TTS audio creation and optional dubbed video generation.

How to install krillinai-tts

install krillinai-tts
# install the OpenCreator pack with the skills CLI
npx skills add krillinai/OpenCreator

# or add only this skill to Claude Code: copy the folder

skills/krillinai-tts/

# into

~/.claude/skills/krillinai-tts/ (all projects)

.claude/skills/krillinai-tts/ (one project)

skills/krillinai-tts/SKILL.md

Apache-2.0Full file
1# KrillinAI TTS
2
3Use this skill for the `tts` stage. Read `skills/krillinai-cli/references/cli-contract.md` first for binary location, execution working directory, configuration, and JSON behavior.
4
5## Command
6
7```bash
8(cd "$KRILLINAI_CWD" && "$KRILLINAI_CLI" tts \
9 --workdir "$WORKDIR" \
10 --input-srt "$WORKDIR/target_language_srt.srt" \
11 --line-mode target-only \
12 --video "$WORKDIR/origin_video.mp4")
13```
14
15## Inputs
16
17- `--input-srt` is required. Usually use `target_language_srt.srt`.
18- `--video` is optional but needed when generating `video_with_tts.mp4`.
19- TTS provider must be configured in `<execution-cwd>/config/config.toml`.
20
21## Important Flags
22
23| Flag | Use |
24|---|---|
25| `--input-srt` | SRT to synthesize |
26| `--line-mode target-only` | Use target-language lines only |
27| `--line-mode bilingual-target-top` | Bilingual mode with target on top |
28| `--line-mode bilingual-target-bottom` | Bilingual mode with target on bottom |
29| `--voice` | Provider-specific voice |
30| `--voice-clone-source` | Voice clone source audio URL/path when supported |
31| `--dry-run` | Validate command shape |
32
33## Outputs
34
35Read paths from manifest:
36
37- `tts_final_audio.wav`
38- `video_with_tts.mp4` when a video input is available
39
40## Verification
41
42- Require terminal JSON with `"ok": true`.
43- Confirm `tts_final_audio.wav` exists and has non-zero size.
44- If `video_with_tts.mp4` is produced, inspect duration and audio stream with `ffprobe`.
45…

Excerpt shown under the repository's Apache-2.0 license.

More skills in OpenCreator

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates