characteristic-voice
Use this skill whenever the user wants speech to sound more human, companion-like, or emotionally expressive. Triggers include: any mention of 'say like',…
Translate and dub videos from one language to another, replacing the original audio with TTS while keeping the video intact.
$ npx -y skills add noizai/skills --skill video-translation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/video-translationContext preview
The summary Claude sees to decide when to auto-load this skill.
Translate and dub videos from one language to another, replacing the original audio with TTS while keeping the video intact.
name: video-translation description: Translate and dub videos from one language to another, replacing the original audio with TTS while keeping the video intact.
Translate a video's speech into another language, using TTS to generate the dubbed audio and replacing the original audio track.
When the user asks to translate a video:
1. **Download Video & Subtitles**: Use the `youtube-downloader` skill to download the video and its subtitles as SRT. Make sure you specify the source language to fetch the correct subtitle.
python path/to/youtube-downloader/scripts/download_video.py "VIDEO_URL" --subtitles --sub-lang <source_lang_code> -o /tmp/video-translation
2. **Translate Subtitles**: Read the downloaded `.srt` file. Translate its contents sentence by sentence into the target language using the following fixed prompt. Keep the exact same SRT index and timestamp format!
**Translation Prompt**: > Translate the following subtitle text from <Source Language> to <Target Language>. > Provide ONLY the translated text. Do not explain, do not add notes, do not add index numbers. > The translation must be colloquial, natural-sounding, and suitable for video dubbing.
Save the translated text into a new file `translated.srt`.
3. **Generate Dubbed Audio**: Use the `tts` skill to render the timeline-accurate audio from the translated SRT. The Noiz backend automatically aligns the duration of each sentence to the original video's subtitle timestamps.
To ensure the cloned voice matches the original speaker's exact tone and emotion for each sentence, pass the original video file to `--ref-audio-track`. The TTS engine will automatically slice the original audio at each subtitle's exact timestamp and use it as the reference for that specific segment.
Create a basic `voice_map.json`:
{
"default": {
"target_lang": "<target_lang_code>"
}
}Render the timeline-accurate audio:
bash skills/tts/scripts/tts.sh render --srt translated.srt --voice-map voice_map.json --backend noiz --auto-emotion --ref-audio-track original_video.mp4 -o dubbed.wav
4. **Replace Audio in Video**: Use the `replace_audio.sh` script to merge the original video with the new dubbed audio. To keep the original video's non-speech audio background outside of translated segments, pass the `--srt` file.
bash skills/video-translation/scripts/replace_audio.sh --video original_video.mp4 --audio dubbed.wav --output final_video.mp4 --srt translated.srt
5. **Present the Result**: Return the `final_video.mp4` file path to the user.
Install: clone or copy the `skills/youtube-downloader` directory from [crazynomad/skills](https://github.com/crazynomad/skills) into your `skills/` folder so that `skills/youtube-downloader/scripts/download_video.py` is available.
If not already in this repo: clone or copy the `skills/tts` directory from [NoizAI/skills](https://github.com/NoizAI/skills) into your `skills/` folder. Ensure `skills/tts/scripts/tts.sh` and related scripts are present.
Central repository for managing Skills to "human" vibe-talking.
Use this skill whenever the user wants speech to sound more human, companion-like, or emotionally expressive. Triggers include: any mention of 'say like',…
Chat with any real person or fictional character in their own voice by automatically finding their speech online, extracting a clean reference sample, and…
Fetches the latest news using news-aggregator-skill, formats it into a podcast script in Markdown format, and uses the tts skill to generate a podcast audio…
Use this skill whenever the user wants to generate sound effects, ambient audio, or short audio clips from a text description. Triggers include: any mention of…
Use this skill whenever the user wants to transcribe audio to text, convert speech to text, or get a transcript from an audio or video file. Triggers include:…
Reusable template for authoring new Agent Skills with clear triggers, workflow, and I/O contracts.