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)
1# KrillinAI TTS23Use 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.45## Command67```bash8(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```1415## Inputs1617- `--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`.2021## Important Flags2223| 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 |3233## Outputs3435Read paths from manifest:3637- `tts_final_audio.wav`38- `video_with_tts.mp4` when a video input is available3940## Verification4142- 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.
